API version v1
Method reference
GET /equipment
List equipment
Scope: equipment:read
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl "https://api.rentevio.ru/api/public/v1/equipment?category_id=value" \
-H "Authorization: Bearer rv_live_…"
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
category_id | string | no | — |
status | string | no | — |
search | string | no | — |
page | integer | no | — |
limit | integer | no | — |
Response
{
"success": true,
"data": [
{
"id": "5268d91f-f2a0-4516-9086-d8ac9e5b4634",
"category_id": "94b83f83-bb99-49ee-baa1-0fa80c7706da",
"category_name": "Видео",
"name": "Shure SM58",
"article": "AU-SM58",
"accounting_type": "serial",
"unit": "шт",
"status": "in_stock",
"price_day": 800,
"price_week": 4200,
"price_month": 14000,
"deposit_amount": 0,
"manufacturer": "Shure",
"model": "SM58",
"serial_number": "SM58-0001",
"quantity_total": 12,
"quantity_available": 9,
"barcode": "RENTEVIO://EQ/5268d91f",
"tags": [
"вокал",
"микрофон"
],
"description": "Динамический вокальный микрофон",
"unit_count": 12
}
],
"meta": {
"total": 128,
"limit": 50,
"has_more": false,
"next_cursor": "",
"page": 1,
"offset": 0
}
}
Errors
| Code | HTTP | When |
|---|---|---|
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
Was this helpful?