v1
latestOpenAPI 3.0.12026-07-13130168404.3 KBTemplate
Get content templates
Returns all content templates. Use this method to retrieve all global content templates or all content templates in a space.
Permissions required: 'View' permission for the space to view space templates and permission to access the Confluence site ('Can use' global permission) to view global templates.
get/wiki/rest/api/template/page
Query parameters
spaceKeystring
The key of the space to be queried for templates. If the spaceKey is not specified, global templates will be returned.
startinteger
The starting index of the returned templates.
limitinteger
The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.
expandstring[]
A multi-value parameter indicating which properties of the template to expand.
- body or body.storage returns the content of the template in storage format.
Response
Returned if the requested templates are returned.