Publish an asset
POST https://{{base_url}}/v3/assets/{{asset_uid}}/publish
The Publish an asset call is used to publish a specific version of an asset on the desired environment either immediately or at a later date/time.
To configure the permissions for your application via OAuth, please include the cm.asset: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 asset API Reference document
Request Body
{"asset"=>{"locales"=>["en-us"], "environments"=>["development"]}, "version"=>1, "scheduled_at"=>"2019-02-08T18:30:00.000Z"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack that holds the asset | |
authtoken | string | ||
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | ||
branch | string | Enter your branch unique ID. |