Get a color theme

GET /api/2.0/settings/colortheme

Request

Returns the portal color theme.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Examples

GET /api/2.0/settings/colortheme HTTP/1.1
Accept: application/json
Host: example.com
curl --request GET \
  --url https://example.com/api/2.0/settings/colortheme \
  --header 'Accept: application/json'

Responses

200

Settings of the portal themes

themesarray of object

Themes

idintegerformat: int32

Theme ID

namestring

Theme name

mainobject
accentstring

Accent color

buttonsstring

Button color

textobject
accentstring

Accent color

buttonsstring

Button color

selectedintegerformat: int32

Selected

limitintegerformat: int32

Limit

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).