Skip to main content

Version tags

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: version-tags · 4 operations

GET /v1/version-tags/{tenant_slug}/{project_id}​

List Version Tags

List all tags for a project.

Operation id: list_version_tags_v1_version_tags__tenant_slug___project_id__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list version tags.application/json array of VersionTagSchema
422Validation Errorapplication/json HTTPValidationError

POST /v1/version-tags/{tenant_slug}/{project_id}​

Create Version Tag

Create a tag pointing at an existing schema revision.

Operation id: create_version_tag_v1_version_tags__tenant_slug___project_id__post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for create version tag.

Responses

StatusDescriptionBody
200Successful response for create version tag.application/json VersionTagSchema
422Validation Errorapplication/json HTTPValidationError

PATCH /v1/version-tags/{tenant_slug}/{project_id}/{tag_id}​

Patch Version Tag

Move a tag to another revision and/or set immutable lock / protection policy.

Operation id: patch_version_tag_v1_version_tags__tenant_slug___project_id___tag_id__patch

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
tag_idpathstringyesTag identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for patch version tag.

Responses

StatusDescriptionBody
200Successful response for patch version tag.application/json VersionTagSchema
422Validation Errorapplication/json HTTPValidationError

DELETE /v1/version-tags/{tenant_slug}/{project_id}/{tag_id}​

Delete Version Tag

Delete a tag (not allowed when immutable; protected tags require admin).

Operation id: delete_version_tag_v1_version_tags__tenant_slug___project_id___tag_id__delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
project_idpathstringyesProject identifier that scopes the request.
tag_idpathstringyesTag identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for delete version tag.application/json map of string
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

VersionTagCreateRequest​

Create a named tag at a revision.

PropertyTypeRequiredDescription
version_idstringyesProject version identifier or semantic version label, depending on context.
namestringyesHuman-readable name.
messagestring or nullnoMessage.
channelstring or nullnoChannel.
immutableboolean or nullnoImmutable.
protectedboolean or nullnoProtected.

VersionTagSchema​

Git-like tag pointing at a schema revision (versions.id).

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
project_idstringyesProject identifier the resource belongs to.
version_idstringyesProject version identifier or semantic version label, depending on context.
namestringyesHuman-readable name.
messagestring or nullnoMessage.
channelstring or nullnoChannel.
immutablebooleannoImmutable.
protectedbooleannoProtected.
created_bystring or nullnoCreated By.
created_atstring (date-time) or string or nullnoCreation timestamp (ISO 8601).
updated_atstring (date-time) or string or nullnoLast update timestamp (ISO 8601).
target_version_stringstring or nullnoTarget Version String.

VersionTagUpdateRequest​

Move tag to another revision and/or lock it.

PropertyTypeRequiredDescription
version_idstring or nullnoProject version identifier or semantic version label, depending on context.
immutableboolean or nullnoImmutable.
protectedboolean or nullnoProtected.