publish_entry
Publish draft content entries to make them publicly visible. Use with list_entries to find unpublished entries.
Instructions
Publish a draft content entry to make it publicly visible via the Strapi API. On Strapi v5, uses the dedicated publish action endpoint; on v4, sets the publishedAt timestamp. Use list_entries with status='draft' to find unpublished entries that need publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Locale of the entry to publish (e.g., 'en', 'fr'). Only needed for i18n-enabled types. | |
| entry_id | Yes | Numeric ID of the entry to publish | |
| content_type | Yes | Plural API ID of the content type (e.g., 'articles', 'products') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |