nexus_publish_revision
Publish a draft collection revision to make it publicly available after review. If a published revision must be undone, retract it with nexus_retract_revision.
Instructions
Publish a draft collection revision (must own the collection) via v2 GraphQL.
This makes the revision publicly available - hard to undo (use nexus_retract_revision afterwards).
Returns: JSON {success} or an error string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision_id | Yes | Revision ID. | |
| collection_status | No | Status to publish with. | |
| has_adult_resources | No | Whether the revision contains adult resources. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |