List Rooms
Request Example
curl -X GET "https://openapi.onlive.site/api/v1/rooms?page=1&limit=10" \
-H "Content-Type: application/json" \
-H "Authorization: ONLIVESITE Credential:ONLIVEAccessKeyId, Signature=CalculatedSignature"
Response Example
HTTP Status 200
{
"count": 1, // Items in response
"total": 451, // Total items
"currentPage": 50, // Current page
"totalPages": 50, // Total pages
"items": [ // Items
{
"id": "string",
"publicId": "string",
"organizationId": "string",
"createdAt": "dateString",
"updatedAt": "dateString",
"template": {
"name": "string",
"description": "string",
"mainImage": "string",
"duration": 0,
"assets": [
"string"
],
"actors": [
{
"name": "string",
"email": "string",
"role": "string",
"isAdmin": true,
"extraFields": [
{
"name": "string",
"value": {},
"type": "string",
"required": true
}
]
}
],
"products": [
"string"
],
"presetId": "string",
"adminUserEmail": "string",
"chatManagerUsersEmails": [
"string"
],
"discountCodes": [
{
"name": "string",
"description": "string",
"discountType": "string",
"duration": 0,
"percent": 0,
"discountCode": "string"
}
],
"notes": "string",
"labels": [
"string"
]
}
}
]
}