Skip to content

Draft API

The Draft API standardizes Arc XP content publishing by providing a basic set of document save and publish operations that currently support story documents. Arc XP plans to extend the operations to support other content types.

The Draft API is a developer API to create, update, and delete documents.

If you need to retrieve documents or redirects for PageBuilder Engine, use the Content API.

Loading API docs...

Common use cases

Recovering previous versions of a story with story ID

When returning story revisions, you can receive 25 revisions through the API. To continue to revisions beyond the last 25, use the after parameter.

https://api.[orgId].arcpublishing.com/draft/v1/story/[storyId]/revision returns {"revisions": [...], "last": "[revisionID]"}. (This example excludes the revisions array for clarity.)

To get the next page, use the after parameter: https://api.[orgId].arcpublishing.com/draft/v1/story/[storyId]/revision?after=[revisionID]. If no more records exist, the result does not include the last field in the response.