post
https://api.ol-hub.com/backend/api/v1/projects//versions
The tag project by id API sends a POST request to save a project snapshot.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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
{
"reason": "example reason"
}{
"projectId": "00000000-0000-0000-0000-000000000444",
"version": 1,
"reason": "example reason",
"versionedBy": "John Doe",
"versionedAt": "2026-01-01T00:00:00.000000000Z"
}
