Skip to content

Publish Article Draft Request Payload

Optional body for publishing a staged article draft. On a single-language workspace the body can be omitted. On a multilingual workspace, locales is required and lists which locales' drafts to publish.

localesArray of strings

The locales whose staged drafts should be published. Required on multilingual workspaces; each locale must have a pending draft.

Example:
[ "en", "fr" ]
author_idinteger

The id of the teammate to publish as. This is only used when the access token is not associated with a teammate, and is then required; omitting it returns 400 parameter_not_found. Otherwise the authenticating teammate is used. Must be a teammate on the workspace.

Example:1295
{ "locales": [ "en", "fr" ], "author_id": 1295 }