Get Latest Draft
Required scope:
public-api:write
public-api:drafts:read
Description
This endpoint returns the most recent draft version of a document. A token with permission The response is a JSON object with 5 possible top-level properties:
- systemdata
- metadata
- content
- references
- renditions (if rendition handles are specified)
Endpoint
GET api/beta/documents/:documentId/latestDraft
Parameters
Name | Type | Required | Notes |
---|---|---|---|
:documentId | integer | x | |
?renditions | string | A comma-separated list of rendition handles. Example: ?renditions=web,json |