Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get Space color scheme

Get information about the current color scheme for a space

GET/rest/api/space/{spaceKey}/color-scheme
Path parameters
spaceKeystringrequired

space key of the space to request color scheme for.

Responses
200

Returns a full JSON representation of color scheme

colorSchemeModelLightColorSchemeModel
Show properties
topBarColorstring
topBarMenuSelectedBgColorstring
topBarMenuSelectedTextColorstring
breadcrumbsTextColorstring
headerButtonBgColorstring
headerButtonTextColorstring
searchFieldTextColorstring
searchFieldBgColorstring
menuItemSelectedBgColorstring
menuItemSelectedTextColorstring
menuItemTextColorstring
headingTextColorstring
linkColorstring
colorSchemeModelDarkColorSchemeModel
Show properties
topBarColorstring
topBarMenuSelectedBgColorstring
topBarMenuSelectedTextColorstring
breadcrumbsTextColorstring
headerButtonBgColorstring
headerButtonTextColorstring
searchFieldTextColorstring
searchFieldBgColorstring
menuItemSelectedBgColorstring
menuItemSelectedTextColorstring
menuItemTextColorstring
headingTextColorstring
linkColorstring
403

Returned if a space with the user is not space admin for the given space.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
404

Returned if a space with the given space key does not exist.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/space/string/color-scheme' \
  -H 'Accept: application/json'
Response
{
  "colorSchemeModelLight": {
    "topBarColor": "#000000",
    "topBarMenuSelectedBgColor": "#000000",
    "topBarMenuSelectedTextColor": "#000000",
    "breadcrumbsTextColor": "#000000",
    "headerButtonBgColor": "#000000",
    "headerButtonTextColor": "#000000",
    "searchFieldTextColor": "#000000",
    "searchFieldBgColor": "#000000",
    "menuItemSelectedBgColor": "#000000",
    "menuItemSelectedTextColor": "#000000",
    "menuItemTextColor": "#000000",
    "headingTextColor": "#000000",
    "linkColor": "#000000"
  },
  "colorSchemeModelDark": {
    "topBarColor": "#000000",
    "topBarMenuSelectedBgColor": "#000000",
    "topBarMenuSelectedTextColor": "#000000",
    "breadcrumbsTextColor": "#000000",
    "headerButtonBgColor": "#000000",
    "headerButtonTextColor": "#000000",
    "searchFieldTextColor": "#000000",
    "searchFieldBgColor": "#000000",
    "menuItemSelectedBgColor": "#000000",
    "menuItemSelectedTextColor": "#000000",
    "menuItemTextColor": "#000000",
    "headingTextColor": "#000000",
    "linkColor": "#000000"
  }
}

Was this page helpful?