Template
Get content template
Returns a content template. This includes information about template, like the name, the space or blueprint that the template is in, the body of the template, and more.
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/{contentTemplateId}
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/wiki/rest/api/template/{contentTemplateId}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: read:confluence-content.summary
Path parameters
contentTemplateIdstring required
The ID of the content template to be returned.
Query parameters
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 template is returned.
Changes
No recorded changes to this operation across all 2 revisions of this API.