Artifacts

Re-point production at an older version (deprecated)

Changed on

Deprecated: use POST /v1/artifacts/{id}/versions/{no}/restore, which creates a new version with the old files and keeps the history. This endpoint only moves the production pointer and creates no version. Responses carry a Deprecation header. Editor or owner.

post/v1/artifacts/{id}/rollback

Request

  • Base URL
    https://shareout.site
  • URL
    https://shareout.site/v1/artifacts/{id}/rollback
  • Auth
    HTTP bearer

Request body

version_nointeger
version_idstring

Response

Production now serves that version

successboolean
deployed_versioninteger
version_idstring

Changes