v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
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}

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.

templateIdstring required
referencingBlueprintstring
namestring required
descriptionstring required
spaceobject
templateTypestring required
editorVersionstring
_linksGenericLinks required