Publication Builds

Choose one creative alternative and create a draft

post/publication-builds/{id}/options/{option_id}/commit

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/publication-builds/{id}/options/{option_id}/commit
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required
option_idstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

expected_revisioninteger required

Revision read with the selected option snapshot

Example request

{
  "$schema": "https://example.com/api/v1/schemas/CommitPublicationOptionInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

hrefstring required

Composer path for review and editing

publication_idstring required

Draft Publication created from the approved build

Example response

{
  "$schema": "https://example.com/api/v1/schemas/CommitPublicationBuildOutputBody.json"
}

Changes

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