API version v1
Method reference
POST /projects/{id}/status
Change project status
Scope: projects:write
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl -X POST "https://api.rentevio.ru/api/public/v1/projects/00000000-0000-0000-0000-000000000000/status" \
-H "Authorization: Bearer rv_live_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: …" \
-d '{
"status": "draft"
}'
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | — |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
status | string | yes | — |
{
"status": "draft"
}
Response
{
"success": true,
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"number": "string",
"name": "string",
"status": "draft",
"client_id": "00000000-0000-0000-0000-000000000000",
"client_name": "string",
"start_date": "string",
"end_date": "string",
"start_time": "string",
"end_time": "string",
"venue_id": "00000000-0000-0000-0000-000000000000",
"venue_name": "string",
"description": "string",
"tags": [
"string"
],
"equipment": [
{}
],
"staff": [
{}
],
"transport": [
{}
],
"created_at": "string",
"updated_at": "string"
}
}
Errors
| Code | HTTP | When |
|---|---|---|
VALIDATION | 400 | Invalid request parameters |
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
NOT_FOUND | 404 | Resource not found or does not belong to the key’s company |
Was this helpful?