social.colibri.beta.bridge.update
Changes which channels a bridge relays, or pauses and resumes it. Omitted fields stay as they are.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bridge.beta.colibri.social |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"id": "social.colibri.beta.bridge.update",
"lexicon": 1
}