publish_entry
Publishes content entries to specified environments and locales in Contentstack, ensuring accurate content distribution across platforms and regions.
Instructions
Publishes an entry to a specified environment and locale.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content_type_uid | Yes | Content type UID | |
entry_uid | Yes | Entry UID to publish | |
environment | Yes | Environment to publish to | |
locale | No | Locale code (defaults to en-us) | en-us |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content_type_uid": {
"description": "Content type UID",
"type": "string"
},
"entry_uid": {
"description": "Entry UID to publish",
"type": "string"
},
"environment": {
"description": "Environment to publish to",
"type": "string"
},
"locale": {
"default": "en-us",
"description": "Locale code (defaults to en-us)",
"type": "string"
}
},
"required": [
"content_type_uid",
"entry_uid",
"environment"
],
"type": "object"
}