Rooms
Rooms API endpoints
Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/rooms/change" \ -H "Content-Type: application/json" \ -d '{ "operations": [ { "type": "set", "path": [ "string" ], "value": null } ] }'{
"room": {
"namespace": "string",
"name": "string",
"schemaVersion": 0,
"generation": "string",
"stale": true,
"state": null,
"snapshot": "string",
"bytes": 0
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/rooms/decode" \ -H "Content-Type: application/json" \ -d '{}'{
"schemaVersion": 0,
"generation": "string",
"state": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
"default"^[a-zA-Z0-9_-]{1,64}$^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 51210 < valueResponse Body
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/rooms/get"{
"room": {
"namespace": "string",
"name": "string",
"schemaVersion": 0,
"generation": "string",
"stale": true,
"state": null,
"snapshot": "string",
"bytes": 0
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/rooms/get" \ -H "Content-Type: application/json" \ -d '{}'{
"room": {
"namespace": "string",
"name": "string",
"schemaVersion": 0,
"generation": "string",
"stale": true,
"state": null,
"snapshot": "string",
"bytes": 0
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/rooms/reset" \ -H "Content-Type: application/json" \ -d '{}'{
"room": {
"namespace": "string",
"name": "string",
"schemaVersion": 0,
"generation": "string",
"stale": true,
"state": null,
"snapshot": "string",
"bytes": 0
}
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}