Tag Project By Id
Endpoint: POST /api/v1/projects/{id}/versions
Prerequisites
- The caller must provide a project id.
Authorization
- API key (via the
X-API-KEYheader).
Parameters
Path Parameters
| Field name | Description | Format |
|---|---|---|
| id | The ID of the project | UUID |
Request Body
| Field name | Description | Format |
|---|---|---|
| reason | The reason for the tagging | String |
Response Body
| Field name | Description | Format |
|---|---|---|
| projectId | The ID of the tagged project | UUID |
| version | The created version number | Integer |
| reason | The reason saved for the version tag | String |
| versionedBy | The user who created the version | String |
| versionedAt | When the version was created | Date-time |
Examples
Project
```json
{
"reason": "example reason"
}
json
{
"projectId": "00000000-0000-0000-0000-000000000444",
"version": 1,
"reason": "example reason",
"versionedBy": "John Doe",
"versionedAt": "2026-01-01T00:00:00.000000000Z"
}
```