getContentTemplate method
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.
Implementation
Future<ContentTemplate> getContentTemplate(String contentTemplateId) async {
return ContentTemplate.fromJson(await _client.send(
'get',
'wiki/rest/api/template/{contentTemplateId}',
pathParameters: {
'contentTemplateId': contentTemplateId,
},
));
}