openapi: 3.1.0
info:
title: Atlassian Admin Account Identifiers API
description: The Atlassian Admin API provides programmatic access to manage Atlassian organizations, users, domains, policies, and events. It enables administrators to automate organization management tasks, integrate with identity providers, and ensure appropriate access to Atlassian products.
version: 1.0.0
contact:
name: Atlassian Developer
url: https://developer.atlassian.com/cloud/admin/
license:
name: Atlassian Developer Terms
url: https://developer.atlassian.com/platform/marketplace/atlassian-developer-terms/
x-logo:
url: https://wac-cdn.atlassian.com/assets/img/favicons/atlassian/favicon.png
servers:
- url: https://api.atlassian.com
description: Atlassian Cloud API
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Identifiers
paths:
/addon/linkers/{linker_key}/values/{value_id}:
parameters:
- name: linker_key
in: path
description: 'The unique key of a [linker module](/cloud/bitbucket/modules/linker/)
as defined in an application descriptor.'
required: true
schema:
type: string
- name: value_id
in: path
description: The numeric ID of the linker value.
required: true
schema:
type: integer
delete:
tags:
- Identifiers
description: 'Delete a single [linker](/cloud/bitbucket/modules/linker/) value
of the authenticated application.'
summary: Atlassian Delete Addon Linkers Key Values Value Id
responses:
'204':
description: Successfully deleted the linker value.
'401':
description: Authentication must use app JWT
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: The linker value does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
security:
- oauth2: []
- basic: []
- api_key: []
operationId: deleteAddonLinkersLinkerKeyValuesValueId
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
get:
tags:
- Identifiers
description: 'Get a single [linker](/cloud/bitbucket/modules/linker/) value
of the authenticated application.'
summary: Atlassian Get Addon Linkers Key Values Value Id
responses:
'200':
description: Successful.
'401':
description: Authentication must use app JWT
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: The linker value does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
security:
- oauth2: []
- basic: []
- api_key: []
operationId: getAddonLinkersLinkerKeyValuesValueId
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/wiki/rest/api/content/{id}:
get:
tags:
- Identifiers
summary: Atlassian Get Content by Id
deprecated: true
description: The Get Content By Id operation retrieves a single piece of content from Atlassian Confluence using its unique identifier. This REST API endpoint accepts the content ID as a path parameter and returns detailed information about the specified content, including its type (page, blog post, comment, etc.), title, body, version information, space details, metadata, and associated properties. The response can be customized using query parameters to expand specific fields, limit the body representation format, or filter the returned data. This operation requires appropriate read permissions for the content being accessed and is commonly used to fetch complete content details for display, editing, or integration purposes in both native Confluence applications and third-party tools that need to programmatically access wiki content.
operationId: getContentById
parameters:
- name: id
in: path
description: 'The ID of the content to be returned. If you don''t know the content ID,
use [Get content](#api-content-get) and filter the results.'
required: true
schema:
type: string
- name: status
in: query
description: 'Filter the results to a set of content based on their status.
If set to `any`, content with any status is returned. Note, the
`historical` status is currently not supported.'
style: form
explode: true
schema:
type: array
items:
type: string
default:
- current
enum:
- current
- trashed
- deleted
- historical
- draft
- any
- name: version
in: query
description: The version number of the content to be returned.
schema:
type: integer
format: int32
- name: embeddedContentRender
in: query
description: 'The version of embedded content (e.g. attachments) to render.
- current renders the latest version of the embedded content.
- version-at-save renders the version of the embedded content
at the time of save.'
schema:
type: string
default: current
enum:
- current
- version-at-save
- $ref: '#/components/parameters/contentExpandWithSubExpandLimit'
- name: trigger
in: query
description: 'If set to `viewed`, the request will trigger a ''viewed'' event for the content.
When this event is triggered, the page/blogpost will appear on the ''Recently visited''
tab of the user''s Confluence dashboard.'
schema:
type: string
enum:
- viewed
responses:
'200':
description: Returned if the requested content is returned.
content:
application/json:
schema:
$ref: '#/components/schemas/Content'
'400':
description: 'Returned if;
- The content id is invalid.
- The sub-expansions limit exceeds.'
content: {}
'401':
description: Returned if the authentication credentials are incorrect or missing from the request.
content: {}
'403':
description: Returned if the calling user can not view the content.
content: {}
'404':
description: 'Returned if;
- There is no content with the given ID.
- The requesting user does not have permission to view the content.'
content: {}
security:
- basicAuth: []
- oAuthDefinitions:
- read:confluence-content.summary
x-atlassian-oauth2-scopes:
- scheme: oAuthDefinitions
state: Current
scopes:
- read:confluence-content.summary
- scheme: oAuthDefinitions
state: Beta
scopes:
- read:content-details:confluence
x-atlassian-data-security-policy:
- app-access-rule-exempt: false
x-atlassian-connect-scope: READ
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
CaselCaseOperationIds: true
WriteDescription: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}:
get:
tags:
- Identifiers
summary: Atlassian Get Macro Body by Macro Id
description: 'Retrieves the body content of a specific macro identified by its macro ID within a particular version of a Confluence page. This endpoint requires three path parameters: the content ID of the page, the version number of that content, and the unique macro ID whose body you want to retrieve. It''s particularly useful when you need to extract or inspect the content of a specific macro instance that existed in a historical version of a page, allowing developers to access macro parameters, content, or configuration from past revisions without having to parse the entire page markup.'
operationId: getMacroBodyByMacroId
parameters:
- name: id
in: path
description: The ID for the content that contains the macro.
required: true
schema:
type: string
- name: version
in: path
description: 'The version of the content that contains the macro. Specifying `0` as the `version` will return
the macro body for the latest content version.'
required: true
schema:
type: integer
format: int32
- name: macroId
in: path
description: 'The ID of the macro. This is usually passed by the app that the
macro is in. Otherwise, find the macro ID by querying the desired
content and version, then expanding the body in storage format.
For example, ''/content/196611/version/7?expand=content.body.storage''.'
required: true
schema:
type: string
responses:
'200':
description: Returned if the requested macro body is returned.
content:
application/json:
schema:
$ref: '#/components/schemas/MacroInstance'
'401':
description: 'Returned if the authentication credentials are incorrect or missing
from the request.'
content: {}
'404':
description: 'Returned if;
- There is no content with the given ID.
- The calling user does not have permission to view the content.
- The macro does not exist in the specified version.
- There is no macro matching the given macro ID or hash.'
content: {}
security:
- basicAuth: []
- oAuthDefinitions:
- read:confluence-content.all
x-atlassian-oauth2-scopes:
- scheme: oAuthDefinitions
state: Current
scopes:
- read:confluence-content.all
- scheme: oAuthDefinitions
state: Beta
scopes:
- read:content.metadata:confluence
x-atlassian-data-security-policy:
- app-access-rule-exempt: false
x-atlassian-connect-scope: READ
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
CaselCaseOperationIds: true
WriteDescription: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}/convert/{to}:
get:
tags:
- Identifiers
summary: Atlassian Get Macro Body by Macro Id and Convert the Representation Synchronously
description: This API operation retrieves the body content of a specific macro from a particular version of a Confluence page and converts it to a desired representation format synchronously. By providing the content ID, version number, macro ID, and target format in the endpoint path, users can fetch macro content and have it transformed on-the-fly into formats such as view, export_view, styled_view, storage, editor, or anonymous_export_view. This is particularly useful when you need to extract and transform macro content from historical versions of pages without having to manually parse and convert the content, enabling seamless integration with external systems or programmatic content manipulation workflows.
operationId: getMacroBodyByMacroIdAndConvertTheRepresentationSynchronously
parameters:
- name: id
in: path
description: The ID for the content that contains the macro.
required: true
schema:
type: string
- name: version
in: path
description: 'The version of the content that contains the macro. Specifying `0` as the `version` will return
the macro body for the latest content version.'
required: true
schema:
type: integer
format: int32
- name: macroId
in: path
description: 'The ID of the macro. This is usually passed by the app that the
macro is in. Otherwise, find the macro ID by querying the desired
content and version, then expanding the body in storage format.
For example, ''/content/196611/version/7?expand=content.body.storage''.'
required: true
schema:
type: string
- name: to
in: path
required: true
description: The content representation to return the macro in.
schema:
type: string
- $ref: '#/components/parameters/bodyConversionExpand'
- name: spaceKeyContext
in: query
description: 'The space key used for resolving embedded content (page includes,
files, and links) in the content body. For example, if the source content
contains the link ``
and the `spaceKeyContext=TEST` parameter is provided, then the link
will be converted to a link to the "Example page" page in the "TEST" space.'
schema:
type: string
- name: embeddedContentRender
in: query
description: 'Mode used for rendering embedded content, like attachments.
- `current` renders the embedded content using the latest version.
- `version-at-save` renders the embedded content using the version at
the time of save.'
schema:
type: string
default: current
enum:
- current
- version-at-save
responses:
'200':
description: Returned if the requested content body is returned.
content:
application/json:
schema:
$ref: '#/components/schemas/ContentBody'
'400':
description: Returned if invalid content representation is requested, or context is missing.
'401':
description: 'Returned if the authentication credentials are incorrect or missing
from the request.'
content: {}
'404':
description: 'Returned if;
- There is no content with the given ID.
- The calling user does not have permission to view the content.
- The macro does not exist in the specified version.
- There is no macro matching the given macro ID or hash.'
content: {}
security:
- basicAuth: []
- oAuthDefinitions:
- read:confluence-content.all
x-atlassian-oauth2-scopes:
- scheme: oAuthDefinitions
state: Current
scopes:
- read:confluence-content.all
- scheme: oAuthDefinitions
state: Beta
scopes:
- read:content.metadata:confluence
x-atlassian-data-security-policy:
- app-access-rule-exempt: false
x-atlassian-connect-scope: READ
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
CaselCaseOperationIds: true
WriteDescription: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/wiki/rest/api/content/{id}/history/{version}/macro/id/{macroId}/convert/async/{to}:
get:
tags:
- Identifiers
summary: Atlassian Get Macro Body by Macro Id and Convert Representation Asynchronously
description: This API operation retrieves the body content of a specific macro embedded within a particular version of a Confluence page and asynchronously converts it to a different representation format. By providing the content ID, version number, macro ID, and target format, the endpoint initiates a conversion process that runs in the background, allowing you to transform macro content between different supported representations (such as storage, view, or export formats) without blocking the request. This is particularly useful for handling large or complex macro content where synchronous conversion might timeout, and the asynchronous nature enables better performance and scalability when processing multiple conversion requests or dealing with resource-intensive transformations.
operationId: getMacroBodyByMacroIdAndConvertRepresentationAsynchronously
parameters:
- name: id
in: path
description: The ID for the content that contains the macro.
required: true
schema:
type: string
- name: version
in: path
description: 'The version of the content that contains the macro. Specifying `0` as the `version` will return
the macro body for the latest content version.'
required: true
schema:
type: integer
format: int32
- name: macroId
in: path
description: 'The ID of the macro. For apps, this is passed to the macro by the Connect/Forge framework.
Otherwise, find the macro ID by querying the desired
content and version, then expanding the body in storage format.
For example, ''/content/196611/version/7?expand=content.body.storage''.'
required: true
schema:
type: string
- name: to
in: path
required: true
description: 'The content representation to return the macro in.
Currently, the following conversions are allowed:
- `export_view`
- `styled_view`
- `view`'
schema:
type: string
enum:
- export_view
- view
- styled_view
- $ref: '#/components/parameters/bodyConversionExpand'
- name: allowCache
in: query
description: "If this field is false, the cache will erase its current value and begin a conversion.\nIf this field is true, the cache will not erase its current value, and will set the status of the\nresult in cache to RERUNNING. Once the data is updated, the status will change to COMPLETED. \nLarge macros that take long to convert, and who want to show intermediate, but potentially stale data, immediately should set this field to true.\nCache values are stored per macro per user per content and expansions."
schema:
type: boolean
default: false
- name: spaceKeyContext
in: query
description: 'The space key used for resolving embedded content (page includes,
files, and links) in the content body. For example, if the source content
contains the link ``
and the `spaceKeyContext=TEST` parameter is provided, then the link
will be converted to a link to the "Example page" page in the "TEST" space.'
schema:
type: string
- name: embeddedContentRender
in: query
description: 'Mode used for rendering embedded content, like attachments.
- `current` renders the embedded content using the latest version.
- `version-at-save` renders the embedded content using the version at
the time of save.'
schema:
type: string
default: current
enum:
- current
- version-at-save
responses:
'200':
description: Returned if the requested macro conversion request is created.
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncId'
'401':
description: 'Returned if the authentication credentials are incorrect or missing
from the request.'
content: {}
'404':
description: 'Returned if;
- There is no content with the given ID.
- The calling user does not have permission to view the content.
- The macro does not exist in the specified version.
- There is no macro matching the given macro ID or hash.'
content: {}
security:
- basicAuth: []
- oAuthDefinitions:
- read:confluence-content.all
x-atlassian-oauth2-scopes:
- scheme: oAuthDefinitions
state: Current
scopes:
- read:confluence-content.all
- scheme: oAuthDefinitions
state: Beta
scopes:
- read:content.metadata:confluence
x-atlassian-data-security-policy:
- app-access-rule-exempt: false
x-atlassian-connect-scope: READ
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
CaselCaseOperationIds: true
WriteDescription: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/wiki/rest/api/contentbody/convert/async/{id}:
get:
tags:
- Identifiers
summary: Atlassian Get Asynchronously Converted Content Body From the Id or the Current Status of the Task
description: This API endpoint retrieves the result of an asynchronous content body conversion operation in Atlassian Confluence using a unique task identifier. When content conversion is initiated asynchronously (such as converting between different markup formats like storage format, view format, or editor format), this GET operation allows you to check the current status of the conversion task and fetch the converted content once the operation is complete. The endpoint accepts the task ID as a path parameter and returns either the converted content body if the conversion has finished successfully, the current progress status if the task is still running, or an error message if the conversion failed. This is particularly useful for handling large or complex content conversions that may take significant time to process, allowing clients to poll for completion rather than blocking while waiting for the conversion to finish.
operationId: getAsynchronouslyConvertedContentBodyFromTheIdOrTheCurrentStatusOfTheTask
parameters:
- name: id
in: path
description: The asyncId of the macro task to get the converted body.
required: true
schema:
type: string
responses:
'200':
description: Returned if successfully found an async conversion task associated with the id.
content:
application/json:
schema:
$ref: '#/components/schemas/AsyncContentBody'
'400':
description: Returned if the async id is invalid.
content: {}
'401':
description: Returned if the request was not made by an anonymous user and user is not authenticated.
content: {}
'403':
description: Returned if the requesting user is not the user who made the conversion request.
content: {}
'404':
description: Returned if async macro conversion task cannot be found with the provided id.
content: {}
security:
- basicAuth: []
- oAuthDefinitions:
- read:confluence-content.all
x-atlassian-oauth2-scopes:
- scheme: oAuthDefinitions
state: Current
scopes:
- read:confluence-content.all
- scheme: oAuthDefinitions
state: Beta
scopes:
- read:content.metadata:confluence
x-atlassian-data-security-policy:
- app-access-rule-exempt: true
x-codegen-request-body-name: body
x-atlassian-connect-scope: READ
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
CaselCaseOperationIds: true
WriteDescription: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
schemas:
LabelArray:
required:
- results
- size
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/Label'
example: []
start:
type: integer
format: int32
example: 10
limit:
type: integer
format: int32
example: 10
size:
type: integer
format: int32
example: 10
_links:
$ref: '#/components/schemas/GenericLinks'
Space:
required:
- _expandable
- _links
- key
- name
- status
- type
nullable: true
type: object
properties:
id:
type: integer
format: int64
example: abc123
key:
type: string
example: example_value
name:
type: string
example: Example Title
icon:
$ref: '#/components/schemas/Icon'
description:
type: object
properties:
plain:
$ref: '#/components/schemas/SpaceDescription'
view:
$ref: '#/components/schemas/SpaceDescription'
_expandable:
type: object
properties:
view:
type: string
plain:
type: string
example: A sample description.
homepage:
$ref: '#/components/schemas/Content'
type:
type: string
example: example_value
metadata:
type: object
properties:
labels:
$ref: '#/components/schemas/LabelArray'
_expandable:
type: object
example: example_value
operations:
type: array
items:
$ref: '#/components/schemas/OperationCheckResult'
example: []
permissions:
type: array
items:
$ref: '#/components/schemas/SpacePermission'
example: []
status:
type: string
example: example_value
settings:
$ref: '#/components/schemas/SpaceSettings'
theme:
$ref: '#/components/schemas/Theme'
lookAndFeel:
$ref: '#/components/schemas/LookAndFeel'
history:
required:
- createdDate
type: object
properties:
createdDate:
type: string
format: date-time
createdBy:
$ref: '#/components/schemas/User'
example: example_value
_expandable:
type: object
properties:
settings:
type: string
metadata:
type: string
operations:
type: string
lookAndFeel:
type: string
permissions:
type: string
icon:
type: string
description:
type: string
theme:
type: string
history:
type: string
homepage:
type: string
identifiers:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
HorizontalHeaderLookAndFeel:
required:
- backgroundColor
- primaryNavigation
type: object
properties:
backgroundColor:
type: string
example: example_value
button:
$ref: '#/components/schemas/ButtonLookAndFeel'
primaryNavigation:
$ref: '#/components/schemas/TopNavigationLookAndFeel'
secondaryNavigation:
$ref: '#/components/schemas/NavigationLookAndFeel'
search:
$ref: '#/components/schemas/SearchFieldLookAndFeel'
GenericLinks:
type: object
additionalProperties:
oneOf:
- type: object
additionalProperties: true
- type: string
ButtonLookAndFeel:
required:
- backgroundColor
- color
type: object
nullable: true
properties:
backgroundColor:
type: string
example: example_value
color:
type: string
example: example_value
UsersUserKeys:
required:
- userAccountIds
nullable: true
type: object
additionalProperties: true
properties:
users:
type: array
items:
$ref: '#/components/schemas/User'
example: []
userKeys:
type: array
items:
type: string
example: []
_links:
$ref: '#/components/schemas/GenericLinks'
ContainerLookAndFeel:
required:
- background
- backgroundColor
- backgroundImage
- backgroundSize
- borderRadius
- padding
type: object
nullable: true
properties:
background:
type: string
example: example_value
backgroundAttachment:
type: string
nullable: true
example: example_value
backgroundBlendMode:
type: string
nullable: true
example: example_value
backgroundClip:
type: string
nullable: true
example: example_value
backgroundColor:
type: string
nullable: true
example: example_value
backgroundImage:
type: string
nullable: true
example: example_value
backgroundOrigin:
type: string
nullable: true
example: example_value
backgroundPosition:
type: string
nullable: true
example: example_value
backgroundRepeat:
type: string
nullable: true
example: example_value
backgroundSize:
type: string
nullable: true
example: example_value
padding:
type: string
example: example_value
borderRadius:
type: string
example: example_value
ContentChildType:
type: object
properties:
attachment:
required:
- _links
- value
type: object
properties:
value:
type: boolean
_links:
$ref: '#/components/schemas/GenericLinks'
example: example_value
comment:
required:
- _links
- value
type: object
properties:
value:
type: boolean
_links:
$ref: '#/components/schemas/GenericLinks'
example: example_value
page:
required:
- _links
- value
type: object
properties:
value:
type: boolean
_links:
$ref: '#/components/schemas/GenericLinks'
example: example_value
_expandable:
type: object
properties:
all:
type: string
attachment:
type: string
comment:
type: string
page:
type: string
whiteboard:
type: string
example: example_value
additionalProperties: true
description: 'Shows whether a piece of content has attachments, comments, or child pages/whiteboards.
Note, this doesn''t actually contain the child objects.'
SearchFieldLookAndFeel:
required:
- backgroundColor
- color
type: object
nullable: true
properties:
backgroundColor:
type: string
example: example_value
color:
type: string
example: example_value
MenusLookAndFeel:
required:
- color
- hoverOrFocus
type: object
properties:
hoverOrFocus:
required:
- backgroundColor
type: object
properties:
backgroundColor:
type: string
example: example_value
color:
type: string
example: example_value
ContentHistory:
required:
- latest
type: object
nullable: true
properties:
latest:
type: boolean
example: true
createdBy:
$ref: '#/components/schemas/User'
ownedBy:
$ref: '#/components/schemas/User'
lastOwnedBy:
$ref: '#/components/schemas/User'
createdDate:
type: string
format: date-time
example: '2026-01-15T10:30:00Z'
lastUpdated:
$ref: '#/components/schemas/Version'
previousVersion:
$ref: '#/components/schemas/Version'
contributors:
type: object
properties:
publishers:
$ref: '#/components/schemas/UsersUserKeys'
example: example_value
nextVersion:
$ref: '#/components/schemas/Version'
_expandable:
type: object
properties:
lastUpdated:
type: string
previousVersion:
type: string
contributors:
type: string
nextVersion:
type: string
ownedBy:
type: string
lastOwnedBy:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
EmbeddedContent:
type: object
additionalProperties: true
properties:
entityId:
type: integer
format: int64
example: '500123'
entityType:
type: string
example: example_value
entity:
$ref: '#/components/schemas/Embeddable'
WebResourceDependencies:
type: object
properties:
_expandable:
type: object
additionalProperties: true
properties:
uris:
oneOf:
- type: string
- type: object
additionalProperties: true
example: example_value
keys:
type: array
items:
type: string
example: []
contexts:
type: array
items:
type: string
example: []
uris:
type: object
properties:
all:
oneOf:
- type: array
items:
type: string
- type: string
css:
oneOf:
- type: array
items:
type: string
- type: string
js:
oneOf:
- type: array
items:
type: string
- type: string
_expandable:
type: object
additionalProperties: true
properties:
css:
oneOf:
- type: array
items:
type: string
- type: string
js:
oneOf:
- type: array
items:
type: string
- type: string
example: example_value
tags:
type: object
properties:
all:
type: string
css:
type: string
data:
type: string
js:
type: string
_expandable:
type: object
additionalProperties: true
example: example_value
superbatch:
$ref: '#/components/schemas/SuperBatchWebResources'
ScreenLookAndFeel:
required:
- background
type: object
properties:
background:
type: string
example: example_value
backgroundAttachment:
type: string
nullable: true
example: example_value
backgroundBlendMode:
type: string
nullable: true
example: example_value
backgroundClip:
type: string
nullable: true
example: example_value
backgroundColor:
type: string
nullable: true
example: example_value
backgroundImage:
type: string
nullable: true
example: example_value
backgroundOrigin:
type: string
nullable: true
example: example_value
backgroundPosition:
type: string
nullable: true
example: example_value
backgroundRepeat:
type: string
nullable: true
example: example_value
backgroundSize:
type: string
nullable: true
example: example_value
layer:
type: object
properties:
width:
type: string
height:
type: string
nullable: true
example: example_value
gutterTop:
type: string
nullable: true
example: example_value
gutterRight:
type: string
nullable: true
example: example_value
gutterBottom:
type: string
nullable: true
example: example_value
gutterLeft:
type: string
nullable: true
example: example_value
TopNavigationLookAndFeel:
required:
- highlightColor
type: object
properties:
color:
type: string
nullable: true
example: example_value
highlightColor:
type: string
example: example_value
hoverOrFocus:
type: object
properties:
backgroundColor:
type: string
color:
type: string
example: example_value
HeaderLookAndFeel:
required:
- backgroundColor
- button
- primaryNavigation
- search
- secondaryNavigation
type: object
properties:
backgroundColor:
type: string
example: example_value
button:
$ref: '#/components/schemas/ButtonLookAndFeel'
primaryNavigation:
$ref: '#/components/schemas/NavigationLookAndFeel'
secondaryNavigation:
$ref: '#/components/schemas/NavigationLookAndFeel'
search:
$ref: '#/components/schemas/SearchFieldLookAndFeel'
Group:
required:
- name
- type
- id
type: object
properties:
type:
type: string
default: group
enum:
- group
example: group
name:
type: string
example: Example Title
id:
type: string
example: abc123
_links:
$ref: '#/components/schemas/GenericLinks'
SuperBatchWebResources:
type: object
properties:
uris:
type: object
properties:
all:
oneOf:
- type: array
items:
type: string
- type: string
css:
oneOf:
- type: array
items:
type: string
- type: string
js:
oneOf:
- type: array
items:
type: string
- type: string
example: example_value
tags:
type: object
properties:
all:
type: string
css:
type: string
data:
type: string
js:
type: string
example: example_value
metatags:
type: string
example: example_value
_expandable:
type: object
additionalProperties: true
example: example_value
UserArray:
required:
- results
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/User'
example: []
start:
type: integer
format: int32
example: 10
limit:
type: integer
format: int32
example: 10
size:
type: integer
format: int32
example: 10
totalSize:
type: integer
format: int64
default: 0
description: 'This property will return total count of the objects before pagination is applied.
This value is returned if `shouldReturnTotalSize` is set to `true`.'
example: 10
_links:
$ref: '#/components/schemas/GenericLinks'
Icon:
required:
- height
- isDefault
- path
- width
type: object
nullable: true
properties:
path:
type: string
example: example_value
width:
type: integer
format: int32
example: 10
height:
type: integer
format: int32
example: 10
isDefault:
type: boolean
example: true
description: This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
GenericAccountId:
type: string
nullable: true
description: 'The account ID of the user, which uniquely identifies the user across all Atlassian products.
For example, `384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192`.'
Theme:
required:
- themeKey
type: object
properties:
themeKey:
type: string
example: example_value
name:
type: string
example: Example Title
description:
type: string
example: A sample description.
icon:
$ref: '#/components/schemas/Icon'
_links:
$ref: '#/components/schemas/GenericLinks'
Label:
required:
- id
- label
- name
- prefix
type: object
properties:
prefix:
type: string
example: example_value
name:
type: string
example: Example Title
id:
type: string
example: abc123
label:
type: string
example: Example Title
SpaceDescription:
required:
- embeddedContent
- representation
- value
type: object
additionalProperties: true
properties:
value:
type: string
example: example_value
representation:
type: string
enum:
- plain
- view
example: plain
embeddedContent:
type: array
items:
type: object
properties: {}
example: []
GenericUserKey:
type: string
nullable: true
description: 'This property is no longer available and will be removed from the documentation soon.
Use `accountId` instead.
See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.'
AsyncId:
required:
- asyncId
type: object
properties:
asyncId:
type: string
example: '500123'
ContentMetadata:
type: object
additionalProperties: true
properties:
currentuser:
type: object
properties:
favourited:
type: object
properties:
isFavourite:
type: boolean
favouritedDate:
type: string
format: date-time
lastmodified:
type: object
properties:
version:
$ref: '#/components/schemas/Version'
friendlyLastModified:
type: string
lastcontributed:
type: object
properties:
status:
type: string
when:
type: string
format: date-time
viewed:
type: object
properties:
lastSeen:
type: string
format: date-time
friendlyLastSeen:
type: string
scheduled:
type: object
_expandable:
type: object
properties:
favourited:
type: string
lastmodified:
type: string
lastcontributed:
type: string
viewed:
type: string
scheduled:
type: string
example: example_value
properties:
$ref: '#/components/schemas/GenericLinks'
frontend:
type: object
additionalProperties: true
example: example_value
labels:
oneOf:
- $ref: '#/components/schemas/LabelArray'
- type: array
items:
$ref: '#/components/schemas/Label'
example: example_value
description: Metadata object for page, blogpost, comment content
MacroInstance:
type: object
properties:
name:
type: string
example: Example Title
body:
type: string
example: example_value
parameters:
type: object
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
ContentBody:
required:
- representation
- value
type: object
properties:
value:
type: string
example: example_value
representation:
type: string
enum:
- view
- export_view
- styled_view
- storage
- editor
- editor2
- anonymous_export_view
- wiki
- atlas_doc_format
- raw
example: view
embeddedContent:
type: array
items:
$ref: '#/components/schemas/EmbeddedContent'
example: []
webresource:
$ref: '#/components/schemas/WebResourceDependencies'
mediaToken:
type: object
properties:
collectionIds:
type: array
items:
type: string
contentId:
type: string
expiryDateTime:
type: string
fileIds:
type: array
items:
type: string
token:
type: string
example: example_value
_expandable:
type: object
properties:
content:
type: string
embeddedContent:
type: string
webresource:
type: string
mediaToken:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
ContentChildren:
type: object
additionalProperties: true
properties:
attachment:
$ref: '#/components/schemas/ContentArray'
comment:
$ref: '#/components/schemas/ContentArray'
page:
$ref: '#/components/schemas/ContentArray'
_expandable:
type: object
additionalProperties: true
properties:
attachment:
type: string
comment:
type: string
page:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
LookAndFeel:
required:
- bordersAndDividers
- content
- header
- headings
- links
- menus
type: object
properties:
headings:
required:
- color
type: object
properties:
color:
type: string
example: example_value
links:
required:
- color
type: object
properties:
color:
type: string
example: example_value
menus:
$ref: '#/components/schemas/MenusLookAndFeel'
header:
$ref: '#/components/schemas/HeaderLookAndFeel'
horizontalHeader:
$ref: '#/components/schemas/HorizontalHeaderLookAndFeel'
content:
$ref: '#/components/schemas/ContentLookAndFeel'
bordersAndDividers:
required:
- color
type: object
properties:
color:
type: string
example: example_value
spaceReference:
type: object
nullable: true
example: example_value
Container:
type: object
nullable: true
additionalProperties: true
description: 'Container for content. This can be either a space (containing a page or blogpost)
or a page/blog post (containing an attachment or comment)'
OperationCheckResult:
required:
- operation
- targetType
type: object
properties:
operation:
type: string
description: The operation itself.
enum:
- administer
- archive
- clear_permissions
- copy
- create
- create_space
- delete
- export
- move
- purge
- purge_version
- read
- restore
- restrict_content
- update
- use
example: administer
targetType:
type: string
description: The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
example: example_value
description: An operation and the target entity that it applies to, e.g. create page.
AsyncContentBody:
type: object
properties:
value:
type: string
example: example_value
representation:
type: string
enum:
- view
- export_view
- styled_view
- storage
- editor
- editor2
- anonymous_export_view
- wiki
- atlas_doc_format
example: view
renderTaskId:
type: string
example: '500123'
error:
type: string
example: example_value
status:
description: Rerunning is reserved for when the job is working, but there is a previous run's value in the cache. You may choose to continue polling, or use the cached value.
type: string
enum:
- WORKING
- QUEUED
- FAILED
- COMPLETED
- RERUNNING
example: WORKING
embeddedContent:
type: array
items:
$ref: '#/components/schemas/EmbeddedContent'
example: []
webresource:
$ref: '#/components/schemas/WebResourceDependencies'
mediaToken:
type: object
properties:
collectionIds:
type: array
items:
type: string
contentId:
type: string
expiryDateTime:
type: string
fileIds:
type: array
items:
type: string
token:
type: string
example: example_value
_expandable:
type: object
properties:
content:
type: string
embeddedContent:
type: string
webresource:
type: string
mediaToken:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
User:
required:
- type
type: object
additionalProperties: true
nullable: true
properties:
type:
type: string
enum:
- known
- unknown
- anonymous
- user
example: known
username:
$ref: '#/components/schemas/GenericUserName'
userKey:
$ref: '#/components/schemas/GenericUserKey'
accountId:
$ref: '#/components/schemas/GenericAccountId'
accountType:
type: string
description: The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.
enum:
- atlassian
- app
- ''
example: atlassian
email:
nullable: true
type: string
description: The email address of the user. Depending on the user's privacy setting, this may return an empty string.
example: user@example.com
publicName:
type: string
description: The public name or nickname of the user. Will always contain a value.
example: example_value
profilePicture:
$ref: '#/components/schemas/Icon'
displayName:
nullable: true
type: string
description: The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
example: example_value
timeZone:
nullable: true
type: string
description: This displays user time zone. Depending on the user's privacy setting, this may return null.
example: example_value
isExternalCollaborator:
type: boolean
description: Whether the user is an external collaborator user
example: true
externalCollaborator:
type: boolean
description: Whether the user is an external collaborator user
example: true
operations:
nullable: true
type: array
items:
$ref: '#/components/schemas/OperationCheckResult'
example: []
details:
$ref: '#/components/schemas/UserDetails'
personalSpace:
$ref: '#/components/schemas/Space'
_expandable:
type: object
properties:
operations:
type: string
details:
type: string
personalSpace:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
SpacePermission:
required:
- anonymousAccess
- operation
- unlicensedAccess
type: object
properties:
id:
type: integer
format: int64
example: abc123
subjects:
type: object
properties:
user:
required:
- results
- size
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/User'
size:
type: integer
format: int32
start:
type: integer
format: int32
limit:
type: integer
format: int32
group:
required:
- results
- size
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/Group'
size:
type: integer
format: int32
start:
type: integer
format: int32
limit:
type: integer
format: int32
_expandable:
type: object
properties:
user:
type: string
group:
type: string
description: The users and/or groups that the permission applies to.
example: example_value
operation:
$ref: '#/components/schemas/OperationCheckResult'
anonymousAccess:
type: boolean
description: Grant anonymous users permission to use the operation.
default: false
example: true
unlicensedAccess:
type: boolean
description: 'Grants access to unlicensed users from JIRA Service Desk when used
with the ''read space'' operation.'
default: false
example: true
description: "This object represents a permission for given space. Permissions consist of\nat least one operation object with an accompanying subjects object.\n\nThe following combinations of `operation` and `targetType` values are\nvalid for the `operation` object:\n\n - 'create': 'page', 'blogpost', 'comment', 'attachment'\n - 'read': 'space'\n - 'delete': 'page', 'blogpost', 'comment', 'attachment'\n - 'export': 'space'\n - 'administer': 'space'"
ContentLookAndFeel:
type: object
properties:
screen:
$ref: '#/components/schemas/ScreenLookAndFeel'
container:
$ref: '#/components/schemas/ContainerLookAndFeel'
header:
$ref: '#/components/schemas/ContainerLookAndFeel'
body:
$ref: '#/components/schemas/ContainerLookAndFeel'
ContentArray:
required:
- _links
- results
- size
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/Content'
example: []
start:
type: integer
format: int32
example: 10
limit:
type: integer
format: int32
example: 10
size:
type: integer
format: int32
example: 10
_links:
$ref: '#/components/schemas/GenericLinks'
NavigationLookAndFeel:
required:
- color
- hoverOrFocus
type: object
nullable: true
properties:
color:
type: string
example: example_value
highlightColor:
type: string
nullable: true
example: example_value
hoverOrFocus:
required:
- backgroundColor
- color
type: object
properties:
backgroundColor:
type: string
color:
type: string
example: example_value
GroupArray:
required:
- limit
- results
- size
- start
type: object
properties:
results:
type: array
items:
$ref: '#/components/schemas/Group'
example: []
start:
type: integer
format: int32
example: 10
limit:
type: integer
format: int32
example: 10
size:
type: integer
format: int32
example: 10
ContentRestriction:
required:
- _expandable
- _links
- operation
type: object
properties:
operation:
type: string
enum:
- administer
- copy
- create
- delete
- export
- move
- purge
- purge_version
- read
- restore
- update
- use
example: administer
restrictions:
type: object
properties:
user:
$ref: '#/components/schemas/UserArray'
group:
$ref: '#/components/schemas/GroupArray'
_expandable:
type: object
properties:
user:
type: string
group:
type: string
example: example_value
content:
$ref: '#/components/schemas/Content'
_expandable:
type: object
properties:
restrictions:
type: string
content:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
Content:
required:
- status
- type
nullable: true
type: object
additionalProperties: true
properties:
id:
type: string
example: abc123
type:
type: string
description: Can be "page", "blogpost", "attachment" or "content"
example: example_value
status:
type: string
example: example_value
title:
type: string
example: Example Title
space:
$ref: '#/components/schemas/Space'
history:
$ref: '#/components/schemas/ContentHistory'
version:
$ref: '#/components/schemas/Version'
ancestors:
nullable: true
type: array
items:
$ref: '#/components/schemas/Content'
example: []
operations:
type: array
items:
$ref: '#/components/schemas/OperationCheckResult'
example: []
children:
$ref: '#/components/schemas/ContentChildren'
childTypes:
$ref: '#/components/schemas/ContentChildType'
descendants:
$ref: '#/components/schemas/ContentChildren'
container:
$ref: '#/components/schemas/Container'
body:
type: object
properties:
view:
$ref: '#/components/schemas/ContentBody'
export_view:
$ref: '#/components/schemas/ContentBody'
styled_view:
$ref: '#/components/schemas/ContentBody'
storage:
$ref: '#/components/schemas/ContentBody'
wiki:
$ref: '#/components/schemas/ContentBody'
editor:
$ref: '#/components/schemas/ContentBody'
editor2:
$ref: '#/components/schemas/ContentBody'
anonymous_export_view:
$ref: '#/components/schemas/ContentBody'
atlas_doc_format:
$ref: '#/components/schemas/ContentBody'
dynamic:
$ref: '#/components/schemas/ContentBody'
raw:
$ref: '#/components/schemas/ContentBody'
_expandable:
type: object
properties:
editor:
type: string
view:
type: string
export_view:
type: string
styled_view:
type: string
storage:
type: string
editor2:
type: string
anonymous_export_view:
type: string
atlas_doc_format:
type: string
wiki:
type: string
dynamic:
type: string
raw:
type: string
example: example_value
restrictions:
type: object
properties:
read:
$ref: '#/components/schemas/ContentRestriction'
update:
$ref: '#/components/schemas/ContentRestriction'
_expandable:
type: object
properties:
read:
type: string
update:
type: string
_links:
$ref: '#/components/schemas/GenericLinks'
example: example_value
metadata:
$ref: '#/components/schemas/ContentMetadata'
macroRenderedOutput:
type: object
additionalProperties:
type: object
example: example_value
extensions:
type: object
example: example_value
_expandable:
type: object
properties:
childTypes:
type: string
container:
type: string
metadata:
type: string
operations:
type: string
children:
type: string
restrictions:
type: string
history:
type: string
ancestors:
type: string
body:
type: string
version:
type: string
descendants:
type: string
space:
type: string
extensions:
type: string
schedulePublishDate:
type: string
schedulePublishInfo:
type: string
macroRenderedOutput:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
description: Base object for all content types.
Version:
required:
- minorEdit
- number
- when
type: object
nullable: true
additionalProperties: true
properties:
by:
$ref: '#/components/schemas/User'
when:
type: string
format: date-time
nullable: true
example: '2026-01-15T10:30:00Z'
friendlyWhen:
type: string
nullable: true
example: example_value
message:
type: string
nullable: true
example: example_value
number:
type: integer
format: int32
description: Set this to the current version number incremented by one
example: 10
minorEdit:
description: 'If `minorEdit` is set to ''true'', no notification email or activity
stream will be generated for the change.'
type: boolean
example: true
content:
$ref: '#/components/schemas/Content'
collaborators:
$ref: '#/components/schemas/UsersUserKeys'
_expandable:
type: object
properties:
content:
type: string
collaborators:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
contentTypeModified:
type: boolean
description: True if content type is modifed in this version (e.g. page to blog)
example: true
confRev:
type: string
nullable: true
description: The revision id provided by confluence to be used as a revision in Synchrony
example: example_value
syncRev:
type: string
nullable: true
description: The revision id provided by Synchrony
example: example_value
syncRevSource:
type: string
nullable: true
description: Source of the synchrony revision
example: example_value
GenericUserName:
type: string
nullable: true
description: 'This property is no longer available and will be removed from the documentation soon.
Use `accountId` instead.
See the [deprecation notice](/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/) for details.'
Embeddable:
type: object
additionalProperties: true
SpaceSettings:
nullable: true
required:
- _links
- routeOverrideEnabled
type: object
properties:
routeOverrideEnabled:
type: boolean
description: 'Defines whether an override for the space home should be used. This is
used in conjunction with a space theme provided by an app. For
example, if this property is set to true, a theme can display a page
other than the space homepage when users visit the root URL for a
space. This property allows apps to provide content-only theming
without overriding the space home.'
example: true
editor:
required:
- page
- blogpost
- default
type: object
properties:
page:
type: string
blogpost:
type: string
default:
type: string
example: example_value
spaceKey:
type: string
example: example_value
_links:
$ref: '#/components/schemas/GenericLinks'
UserDetails:
type: object
properties:
business:
type: object
properties:
position:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
department:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
location:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
example: example_value
personal:
type: object
properties:
phone:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
im:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
website:
type: string
description: 'This property has been deprecated due to privacy changes. There is no replacement. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
email:
type: string
description: 'This property has been deprecated due to privacy changes. Use the `User.email` property instead. See the
[migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)
for details.'
example: example_value
parameters:
contentExpandWithSubExpandLimit:
name: expand
in: query
description: 'A multi-value parameter indicating which properties of the content to expand.
Maximum sub-expansions allowed is `8`.
- `childTypes.all` returns whether the content has attachments, comments, or child pages/whiteboards.
Use this if you only need to check whether the content has children of a particular type.
- `childTypes.attachment` returns whether the content has attachments.
- `childTypes.comment` returns whether the content has comments.
- `childTypes.page` returns whether the content has child pages.
- `container` returns the space that the content is in. This is the same as the information
returned by [Get space](#api-space-spaceKey-get).
- `metadata.currentuser` returns information about the current user in relation to the content,
including when they last viewed it, modified it, contributed to it, or added it as a favorite.
- `metadata.properties` returns content properties that have been set via the Confluence REST API.
- `metadata.labels` returns the labels that have been added to the content.
- `metadata.frontend` this property is only used by Atlassian.
- `operations` returns the operations for the content, which are used when setting permissions.
- `children.page` returns pages that are descendants at the level immediately below the content.
- `children.attachment` returns all attachments for the content.
- `children.comment` returns all comments on the content.
- `restrictions.read.restrictions.user` returns the users that have permission to read the content.
- `restrictions.read.restrictions.group` returns the groups that have permission to read the content. Note that
this may return deleted groups, because deleting a group doesn''t remove associated restrictions.
- `restrictions.update.restrictions.user` returns the users that have permission to update the content.
- `restrictions.update.restrictions.group` returns the groups that have permission to update the content. Note that
this may return deleted groups because deleting a group doesn''t remove associated restrictions.
- `history` returns the history of the content, including the date it was created.
- `history.lastUpdated` returns information about the most recent update of the content, including
who updated it and when it was updated.
- `history.previousVersion` returns information about the update prior to the current content update.
- `history.contributors` returns all of the users who have contributed to the content.
- `history.nextVersion` returns information about the update after to the current content update.
- `ancestors` returns the parent content, if the content is a page or whiteboard.
- `body` returns the body of the content in different formats, including the editor format,
view format, and export format.
- `body.storage` returns the body of content in storage format.
- `body.view` returns the body of content in view format.
- `version` returns information about the most recent update of the content, including who updated it
and when it was updated.
- `descendants.page` returns pages that are descendants at any level below the content.
- `descendants.attachment` returns all attachments for the content, same as `children.attachment`.
- `descendants.comment` returns all comments on the content, same as `children.comment`.
- `space` returns the space that the content is in. This is the same as the information returned by
[Get space](#api-space-spaceKey-get).
In addition, the following comment-specific expansions can be used:
- `extensions.inlineProperties` returns inline comment-specific properties.
- `extensions.resolution` returns the resolution status of each comment.'
style: form
explode: false
schema:
type: array
items:
type: string
bodyConversionExpand:
name: expand
in: query
description: "A multi-value parameter indicating which properties of the content to expand and populate. Expands are dependent on the\n`to` conversion format and may be irrelevant for certain conversions (e.g. `macroRenderedOutput` is redundant when\nconverting to `view` format). \n\nIf rendering to `view` format, and the body content being converted includes arbitrary nested content (such as macros); then it is \nnecessary to include webresource expands in the request. Webresources for content body are the batched JS and CSS dependencies for\nany nested dynamic content (i.e. macros).\n\n- `embeddedContent` returns metadata for nested content (e.g. page included using page include macro)\n- `mediaToken` returns JWT token for retrieving attachment data from Media API\n- `macroRenderedOutput` additionally converts body to view format\n- `webresource.superbatch.uris.js` returns all common JS dependencies as static URLs\n- `webresource.superbatch.uris.css` returns all common CSS dependencies as static URLs\n- `webresource.superbatch.uris.all` returns all common dependencies as static URLs\n- `webresource.superbatch.tags.all` returns all common JS dependencies as html `