registry-repositories

Promote Registry Version

Promote a specific version to be the current version of an org-scoped repository.

This endpoint allows administrators to manually promote or rollback to a specific registry version, overriding the auto-promotion that happens during sync.

For platform registries, use the admin API at /admin/registry/{repository_id}/versions/{version_id}/promote.

Args: repository_id: The ID of the repository version_id: The ID of the version to promote

Returns: RegistryVersionPromoteResponse with previous and current version info

Raises: 404: If repository or version not found 400: If version doesn't belong to repository or has no tarball

post/registry/repos/{repository_id}/versions/{version_id}/promote

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    API key in cookie fastapiusersauth

Path parameters

repository_idstring uuid required
version_idstring uuid required

Response

Successful Response

repository_idstring uuid required
originstring required
previous_version_idstring uuid nullable required
current_version_idstring uuid required
versionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.