Set official version
artifact_site_set_officialDesignate a specific version as the official artifact version, replacing any prior designation. Pass expected_revision from get_site to prevent stale updates.
Instructions
Designate a specific current or historical version as the only official version. Replaces the previous designation; latest and immutable contents do not change. Use expected_revision from get_site to reject stale changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Artifact identifier returned by find/publish, or the slug in its /s/ URL. Not a local path. | |
| tenant_id | No | Destination tenant for creation; defaults to the account tenant. | |
| version_id | Yes | ||
| share_token | No | Token from a user-provided share URL; carries only that share permission. | |
| expected_revision | No |