Publish metadata
POST https://{{base_url}}/v3/metadata/{{metadata_uid}}/publish
The Publish metadata request lets you publish the metadata associated with a specific entry or asset.
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 metadata API Reference document
Request Body
{"metadata"=>{"environments"=>["test"], "locales"=>["en-us"]}}
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. | |
Content-Type | string | Enter "application/json" to pass a Request body. | |
branch | string | Enter your branch or alias unique ID. |