Context Documents

Edit files in a draft tree before publishing

Edit individual files in a draft tree before publishing.

Only DRAFT trees can be edited. Pass a map of file paths to new content.

patch/context-documents/tree/{tree_id}/files

Path parameters

tree_idstring required

Request body

filesobject required

Map of file path → new content. Only provided paths are updated.

Response

Successful Response

tree_idstring required
statusstring required
versioninteger required
errorstring nullable required
created_atstring date-time required
completed_atstring date-time nullable required
metaobject required

Changes