documents

Create a new document

Creates a new document or layout. Optionally base it on an existing layout.

post/documents

Request body

namestring required

Document name

content_typestring

Type of document to create: 'document' (default) or 'layout'

layout_uuidstring

UUID of an existing layout to base this document on

playbook_uuidstring

UUID of the playbook this document was created for

playbook_run_uuidstring

UUID of the playbook run this document was created during

folder_uuidstring

Optional folder UUID to file the new document into. The caller must be able to view the folder; an inaccessible or missing folder is rejected.

Changes