Desk

Copy one collection document's original file into a connected project's store

Changed on

Stores the document's original file in the project owner's store and answers the entry to commit at path. Nothing is committed: /knowledge-base/commit commits every file copied, in one write. The document must belong to the project's collection, and, while the project is shared, to the organization it is shared with.

post/api/v0/desk/projects/{project_id}/knowledge-base-file

Request

Path parameters

project_idstring uuid required

Request body

document_idstring uuid required
pathstring required

Response

Successful Response

pathstring required
sha256string required
sizeinteger required
document_idstring uuid required
taken_revisioninteger required

Changes