Publish an entry with references

POST https://{{base_url}}/v3/bulk/publish?x-bulk-action=publish

The Publish an Entry With References request allows you to publish an entry along with all its references at the same time.
To configure the permissions for your application via OAuth, please include the cm.bulk-operations:publish scope.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Publish an entry with references API Reference document

Request Params

KeyDatatypeRequiredDescription
approvalsbooleanSet this to “true” to publish the entries that do not require an approval to be published.
x-bulk-actionstringPass “publish” as the value of this parameter in order to publish an entry with all references.
skip_workflow_stage_checkbooleanSet this to “true” to publish the entries that are at a workflow stage where they satisfy the applied publish rules.

Request Body

{"entries"=>[{"uid"=>"{entry_uid}", "content_type"=>"{content_type_uid}", "version"=>1, "locale"=>"{entry_locale_code}"}], "locales"=>["{publish_locale}"], "environments"=>["{environment_uid}"], "publish_with_reference"=>true, "skip_workflow_stage_check"=>true}

HEADERS

KeyDatatypeRequiredDescription
api_keystring
authtokenstring
authorizationstringFor this call we recommend you to use management token.
Content-Typestring
branchstringEnter your branch unique ID.