Publish entries and assets in bulk
POST https://{{base_url}}/v3/bulk/publish
The Publish entries and assets in bulk request allows you to publish multiple entries and assets 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 entries and assets in bulk API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
skip_workflow_stage_check | boolean | Set this to 'true' to publish the entries that are at a workflow stage where they satisfy the applied publish rules. | |
approvals | boolean | Set this to 'true' to publish the entries that do not require an approval to be published. |
Request Body
{"entries"=>[{"uid"=>"blt0e0945888fb09dea", "content_type"=>"ct0", "version"=>"5", "locale"=>"en-us"}, {"uid"=>"bltabb69092b8d45ff7", "content_type"=>"ct0", "version"=>"1", "locale"=>"en-us"}, {"uid"=>"blt5eb4637f09f0ac3e", "content_type"=>"ct5", "version"=>"2", "locale"=>"en-us"}], "locales"=>["en-us"], "environments"=>["env1"], "rules"=>{"approvals"=>"true/false"}, "scheduled_at"=>"scheduled_time", "publish_with_reference"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
branch | string | Enter your branch unique ID. | |
api_version | string | Enter the API version to enable Nested Reference Publishing. | |
Content-Type | string |