Theme - Creates a new theme
Authorizations
Query parameters
versionstringOptionalDefault:
The requested API version
1.0
Body
Class for representing the request body for updating or creating a custom theme.
themeNamestring | nullableOptional
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the themeName property.
Responses
200
Success: Theme details created successfully, providing newly added theme information.
500
Internal Server Error: An unexpected error occurred or a server timeout.
post
POST /themes HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 449
{
"themeName": "Dark Theme",
"themeObject": {
"name": "Dark Theme",
"dataColors": [
"#000000",
"#FFFFFF",
"#FF0000"
],
"background": "#1E1E1E",
"foreground": "#FFFFFF",
"tableAccent": "#FF5722",
"textClasses": {
"label": {
"color": "#FFFFFF",
"fontFace": "Arial",
"fontSize": 12
},
"callout": {
"color": "#FF5722",
"fontFace": "Verdana",
"fontSize": 14
},
"title": {
"color": "#FFFFFF",
"fontFace": "Arial Bold",
"fontSize": 24
},
"header": {
"color": "#CCCCCC",
"fontFace": "Calibri",
"fontSize": 18
}
}
}
}
{
"themeId": "123e4567-e89b-12d3-a456-426614174000",
"themeName": "text",
"themeObject": {
"name": "text",
"dataColors": [
"text"
],
"background": "text",
"foreground": "text",
"tableAccent": "text",
"textClasses": {
"label": {
"color": "text",
"fontFace": "text",
"fontSize": 1
},
"callout": {
"color": "text",
"fontFace": "text",
"fontSize": 1
},
"title": {
"color": "text",
"fontFace": "text",
"fontSize": 1
},
"header": {
"color": "text",
"fontFace": "text",
"fontSize": 1
}
}
}
}
PreviousTheme - Retrieves a list of themes for a tenantNextTheme - Retrieves details of a theme by ID
Last updated