Documents
document_add_summary
Changed ondocument_add_description
post/pimcore-studio/api/documents/add/{parentId}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/documents/add/{parentId}
- Auth: none declared
Path parameters
parentIdinteger required
Example:83
ParentId of the document
Request body
Example request
{
"key": "my_new_document",
"type": "page",
"title": "Some page title",
"navigationName": "Some navigation name",
"docTypeId": "page",
"template": "default",
"translationsSourceId": 33,
"language": "en",
"inheritanceSourceId": 33
}Response
document_add_success_response
Example response
{
"id": 66
}Changes
- breaking
added the new required request property
- breaking