ThemeDescriptor

ThemeDescriptor
ThemeDescriptor

Contains all meta-information required to describe the contents of a theme(primarily what are the available file resources for it).

JSON Example
{
    "mainFlavor": "string",
    "portalName": "string",
    "filesRoot": "string",
    "files": {}
}
string
mainFlavor
Optional

The main flavor contains all mandatory assets. Requests for non-main flavors which are not defined, or do not contain a mandatory asset will have the result default to the main flavor.

string
portalName
Optional

The name of the portal.

string
filesRoot
Optional

The root of the relative links in files.

object
files
Optional

A map of resource kind(background, logo, etc) -> relative URL. Build absolute URLs by prefixing with the filesRoot and GET the actual contents of each file of the theme.