document

Replace a document with a new version

Every link to the document shows the new version from now on.

post/documents/{document_id}/versions

Request

  • Base URL: https://localhost:4410/api/v1
  • URL: https://localhost:4410/api/v1/documents/{document_id}/versions
  • Auth: HTTP bearer

Path parameters

document_idstring required

Request body

file_namestring

The file's name, such as "Seed deck.pdf".

content_base64string

The PDF or Word file, base64. Up to 2 MB from you; larger: document_upload_start.

Response

The result.

idstring required
titlestring required
versioninteger required
pagesinteger required
file_namestring required
sha256string required
linksinteger required
viewsinteger required
last_viewed_atstring date-time nullable required
envelopesinteger required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.