Changes which channels a bridge relays, or pauses and resumes it. Omitted fields stay as they are.
Input
Encoding
application/jsoncommunity
stringdid
Required
The community the registration belongs to.
enabled
boolean
Optional
Whether the bridge may write.
links
array
Optional
The complete set of linked channels, replacing the current one.
maxLength: 500 itemsmirrorModeration
boolean
Optional
Whether moderation crosses the bridge.
registration
stringtid
Required
Record key of the registration.
Output
Encoding
application/jsonregistration
refsocial.colibri.beta.bridge.defs#registrationView
Required
The registration.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth. Forbidden
The caller lacks the community.manage permission. CommunityNotFound
No community exists at the given DID. RegistrationNotFound
The community has no bridge registration with that id. ChannelNotFound
A link names a channel this community does not have. CredentialsUnavailable
The AppView cannot act as the community because its stored credentials are missing or unusable. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Changes which channels a bridge relays, or pauses and resumes it. Omitted fields stay as they are.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The caller lacks the community.manage permission.",
"name": "Forbidden"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "The community has no bridge registration with that id.",
"name": "RegistrationNotFound"
},
{
"description": "A link names a channel this community does not have.",
"name": "ChannelNotFound"
},
{
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
"name": "CredentialsUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"description": "The community the registration belongs to.",
"format": "did",
"type": "string"
},
"enabled": {
"description": "Whether the bridge may write.",
"type": "boolean"
},
"links": {
"description": "The complete set of linked channels, replacing the current one.",
"items": {
"description": "A link.",
"ref": "social.colibri.beta.bridge.defs#link",
"type": "ref"
},
"maxLength": 500,
"type": "array"
},
"mirrorModeration": {
"description": "Whether moderation crosses the bridge.",
"type": "boolean"
},
"registration": {
"description": "Record key of the registration.",
"format": "tid",
"type": "string"
}
},
"required": [
"community",
"registration"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"registration": {
"description": "The registration.",
"ref": "social.colibri.beta.bridge.defs#registrationView",
"type": "ref"
}
},
"required": [
"registration"
],
"type": "object"
}
},
"type": "procedure"
}