/theme GET
Overview
Fetches the customizable variables of a theme.
Request Arguments
Name |
Type |
Description |
Required |
platform |
String |
The theme platform - /themes/clients/***PLATFORM***/themeName/. Accepted values are 'base' and 'portal'. |
False |
themeName |
String |
The theme name - /themes/clients/platform/***THEME NAME***/. |
False |
Request
http://{site_url}/rest/v10/theme?platform=base&themeName=default
Note: GET endpoint parameters are passed in the form of a query string.
Response Arguments
Name |
Type |
Description |
mixins |
Array |
An array of name value pairs detailing mixin colors |
hex |
Array |
A array of name value pairs detailing css colors |
rgba |
Array |
An array of name value pairs detailing colors |
rel |
Array |
An array of name value pairs detailing relationships |
bg |
Array |
An array of name value pairs detailing backgroup colors |
Response
{
"colors":[
{
"name":"BorderColor",
"value":"#E61718"
},
{
"name":"NavigationBar",
"value":"#000000"
},
{
"name":"PrimaryButton",
"value":"#177EE5"
}
]
}
Change Log
Version |
Change |
v10
|
Added /<theme> GET endpoint.
|