Rooms
Rooms related operations
Unique ID of the room instance. This ID is used to identify the room in the server.
Secret used for authenticating Simulator connections.
Maximum number of clients allowed to connect to the room instance.
10Maximum number of entities allowed to be created in the room instance.
65534Maximum number of queries that each client can have active at any time.
15Name of the schema to be used for the room instance.
""How long (in seconds) the schema should be cached in the server before being removed.
60URLs of the schemas to be used for the room instance.
[]List of schemas to be used for the room instance.
[]How long (in milliseconds) the server should wait before closing the connection to a client that hasn't sent any data.
5000Whether to enable debug streams for the room instance.
falseFrequency (Hz) at which the server should send updates to clients.
20Frequency (Hz) at which the server expects to receive updates from clients.
60Minimum displacement distance for a query to be considered changed.
0.01How long (in seconds) the server should wait before removing a room instance that has no active clients.
5ID of the project to which the room instance belongs.
Tags associated with the room instance.
Timestamp indicating when the room instance was created.
Comma-separated list of host authority features. Valid values are "create-entities" and "validate-connection". Example "create-entities,validate-connection"
""Room was created successfully
Bad request; invalid or missing parameters
Unauthorized; invalid authentication token
Internal Replication Server error
Service unavailable; server is busy or overloaded
POST /add HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 474
{
"UniqueID": 1,
"Secret": "text",
"MaxClients": 10,
"MaxEntities": 65534,
"MaxQueriesPerClient": 15,
"SchemaName": "",
"SchemaTimeout": 60,
"SchemaUrls": [
"text"
],
"Schemas": [
"text"
],
"DisconnectTimeout": 5000,
"DebugStreams": false,
"SendFrequency": 20,
"RecvFrequency": 60,
"MinQueryDistance": 0.01,
"CleanupTimeout": 5,
"ProjectID": "text",
"KVP": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"PrivateKVP": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"Tags": [
"text"
],
"Created": "2025-11-21T15:04:28.819Z",
"HostAuthority": ""
}{
"RoomID": 1,
"Secret": "text"
}ID of the room instance as assigned by the server.
Room was closed successfully
No content
Room to be closed was not found
Internal Replication Server error
POST /remove HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 12
{
"RoomID": 1
}No content
List of rooms was fetched successfully
Internal Replication Server error
GET /get HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"Rooms": [
{
"UniqueID": 1,
"ID": 1,
"MaxClients": 1,
"SchemaName": "text",
"ConnectionCount": 1,
"LastCheckTime": "2025-11-21T15:04:28.819Z",
"ProjectID": "text",
"KVP": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"PrivateKVP": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"Tags": [
"text"
],
"CreatedAt": "2025-11-21T15:04:28.819Z",
"Secret": "text"
}
]
}ID of the room instance as assigned by the server.
KVP data was set successfully
Room to set KVP data for was not found
Internal Replication Server error
POST /kv HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"RoomID": 1,
"Data": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}{
"RoomID": 1
}ID of the room instance as assigned by the server.
Private KVP data was set successfully
Room to set Private KVP data for was not found
Internal Replication Server error
POST /pkv HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"RoomID": 1,
"Data": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}{
"RoomID": 1
}ID of the room instance as assigned by the server.
Tags to be set for the room instance.
Tags were set successfully
Room to set tags for was not found
Internal Replication Server error
POST /tags HTTP/1.1
Host: 127.0.0.1:64001
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"RoomID": 1,
"Tags": [
"text"
]
}{
"RoomID": 1
}Last updated
Was this helpful?

