publish_publication

mutationSince v1.0

Publish 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

NameTypeRequiredDefaultDescription
labelStringOptional name for this published version, so you can tell releases apart later — 'Q3 review'.
version_numberNumberThe model version readers should see. Publishing again with a later number is how you push changes out.
version_idStringOptional storage id of the version being pinned.
publicationStringThe 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.