publish_publication
mutationSince v1.0Publish or republish a publication: Metapad saves a snapshot of the model as it is now, pins the publication to it, and releases the one it replaces. This is the same as the Publish button. There is no version number to pass, and the pinned version is returned. Requires the Pro plan. Applied immediately.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
publication | String | ✓ | The publication to publish, by ID or name. |
Example Request
{"publication": "Service Handbook"}Example Response
{"success": true, "operation_count": 1, "versions": [98]}This content was written collaboratively with AI.