{
  "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.<br><br>**[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.<br><br>**[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,<br>description, and icon.<br><br>**[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<br>theme is set, this means that the space is inheriting the global look<br>and feel settings.<br><br>**[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<br>the default Confluence theme, use the 'Reset space theme' method instead<br>of this method.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'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<br>global look and feel settings<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Admin' permission for the space."
        }
      ]
    }
  ],
  "bundled": true
}