Theme - Create a new theme with the provided details
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
Successful creation of theme related details with newly created details
500
Server related error
post
POST /themes HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 376
{
"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
}
}
}
}
{
"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
}
}
}
}
Last updated