{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Themes API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Themes",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Get Themes",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/wiki/rest/api/settings/theme",
"params": [
{
"name": "start",
"value": "",
"type": "query",
"description": "The starting index of the returned themes."
},
{
"name": "limit",
"value": "",
"type": "query",
"description": "The maximum number of themes to return per page.\nNote, this may be restricted by fixed system limits."
}
]
},
"docs": "Returns all themes, not including the default theme.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None"
},
{
"info": {
"name": "Atlassian Get Global Theme",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/wiki/rest/api/settings/theme/selected"
},
"docs": "Returns the globally assigned theme.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None"
},
{
"info": {
"name": "Atlassian Get Theme",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/wiki/rest/api/settings/theme/:themeKey",
"params": [
{
"name": "themeKey",
"value": "",
"type": "path",
"description": "The key of the theme to be returned."
}
]
},
"docs": "Returns a theme. This includes information about the theme name,
description, and icon.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: None"
},
{
"info": {
"name": "Atlassian Get Space Theme",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/theme",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to be queried for its theme."
}
]
},
"docs": "Returns the theme selected for a space, if one is set. If no space
theme is set, this means that the space is inheriting the global look
and feel settings.
**[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space."
},
{
"info": {
"name": "Atlassian Set Space Theme",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/theme",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to set the theme for."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Sets the theme for a space. Note, if you want to reset the space theme to
the default Confluence theme, use the 'Reset space theme' method instead
of this method.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space."
},
{
"info": {
"name": "Atlassian Reset Space Theme",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/theme",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to reset the theme for."
}
]
},
"docs": "Resets the space theme. This means that the space will inherit the
global look and feel settings
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space."
}
]
}
],
"bundled": true
}