publish_multiple
Publish multiple content items simultaneously in LightCMS to streamline content deployment. Use specific IDs or publish all drafts at once instead of individual calls.
Instructions
Publish multiple content items in a single call. Use this instead of calling publish_content in a loop.
Examples:
Publish specific pages: {"ids": ["abc123", "def456"]}
Publish all drafts at once: {"publish_all_drafts": true}
Returns a list of published IDs and any failures.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | List of content IDs to publish. Mutually exclusive with publish_all_drafts. | |
| publish_all_drafts | No | If true, publish every unpublished (draft) content item in the site |