Replaces the list of rooms the calling bridge can see on the other service, offered to admins when linking channels.
Input
Encoding
application/jsoncommunity
stringdid
Required
The community the registration belongs to.
registration
stringtid
Required
Record key of the registration.
rooms
array
Required
Every room the bridge can relay.
maxLength: 500 itemsOutput
Encoding
application/jsonErrors
AuthRequired
The request is missing, malformed, or unverifiable service auth. CommunityNotFound
No community exists at the given DID. RegistrationNotFound
The community has no bridge registration with that id. Forbidden
The caller is not the bridge this registration belongs to. RateLimited
The bridge sent too many requests. Retry after the interval in the response headers. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Replaces the list of rooms the calling bridge can see on the other service, offered to admins when linking channels.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "The community has no bridge registration with that id.",
"name": "RegistrationNotFound"
},
{
"description": "The caller is not the bridge this registration belongs to.",
"name": "Forbidden"
},
{
"description": "The bridge sent too many requests. Retry after the interval in the response headers.",
"name": "RateLimited"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"description": "The community the registration belongs to.",
"format": "did",
"type": "string"
},
"registration": {
"description": "Record key of the registration.",
"format": "tid",
"type": "string"
},
"rooms": {
"description": "Every room the bridge can relay.",
"items": {
"description": "A room.",
"ref": "social.colibri.beta.bridge.defs#remoteRoom",
"type": "ref"
},
"maxLength": 500,
"type": "array"
}
},
"required": [
"community",
"registration",
"rooms"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}