provider_get_active_theme
Retrieves the active theme description for an organization and flavor, returning relative URLs for each theme file and falling back to the default theme if none is assigned.
Instructions
Get a description of a theme to be applied. The response contains relative URLs to each file comprising the theme in the requested flavor. All mandatory resources are included, even if the theme does…
Get a description of a theme to be applied. The response contains relative URLs to each file comprising the theme in the requested flavor. All mandatory resources are included, even if the theme does not explicitly define such flavor(in which case the main flavor is used). To fetch each file, build a URL from filesRoot + files[i] and GET it. This resource is accessible without authentication.
GET /cloudapi/v1/themes/active/{orgName}/{flavor}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flavor | Yes | Defines the flavor(light/dark, etc) in which to return the theme. (path) | |
| orgName | Yes | Resolve the active theme of the organization with the given name. If there is no such organization, or it is not assigned a dedicated theme, the default theme will be returned. (path) |