publish_publication
mutationSince v1.0Publish a publication by fixing it to a particular version of the model. Readers then see that version as a stable snapshot, so they aren't reading a half-finished edit while you work on the model.
Publishing again with a later version number is how you push changes out to readers. Applied immediately.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
label | String | — | Optional name for this published version, so you can tell releases apart later — 'Q3 review'. | |
version_number | Number | ✓ | The model version readers should see. Publishing again with a later number is how you push changes out. | |
version_id | String | — | Optional storage id of the version being pinned. | |
publication | String | ✓ | The publication to publish, by ID or name. |
Example Request
{"publication": "Service Handbook", "version_number": 128, "label": "Q3 review"}Example Response
{"success": true, "operation_count": 1, "versions": [98]}This content was written collaboratively with AI.