Bundle Headless Documents
Create a new template
Create a new template with the specified name. <br> The name must be unique and not already used by an existing template.
post/pimcore-studio/api/bundle/headless-documents/templates
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/bundle/headless-documents/templates
- Auth: none declared
Request body
Example request
{
"name": "Simple"
}Response
Created template details as JSON
Example response
{
"id": "Simple",
"name": "Simple",
"content": "\"layout: simple\\ngroup: null\\ncontent:\\n\"",
"writeable": true
}Changes
No recorded changes to this operation across all 2 revisions of this API.