{
"id": "social.colibri.community.update",
"defs": {
"main": {
"type": "procedure",
"input": {
"encoding": "multipart/form-data",
"description": "Optional replacement community image blobs, as `picture` and `banner` parts."
},
"errors": [
{
"name": "AppViewNotAuthorized",
"description": "The acting account has not published this AppView as authorized to act for it."
},
{
"name": "AuthRequired",
"description": "Missing, malformed, or unverifiable service auth."
},
{
"name": "CommunityCredentialsUnrecoverable",
"description": "The AppView cannot write to the community's repo and could not repair its own access."
},
{
"name": "Forbidden",
"description": "The caller lacks the permission this method requires."
},
{
"name": "InvalidRequest",
"description": "A parameter or body field was missing or malformed."
},
{
"name": "NotCommunityHub",
"description": "This AppView does not administer the community; the hub field names the one that does."
},
{
"name": "PdsUnavailable",
"description": "The PDS this operation needs is unreachable or is not a PDS."
},
{
"name": "UpstreamFailure",
"description": "A service outside this AppView failed."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"community"
],
"properties": {
"name": {
"type": "string"
},
"community": {
"type": "string",
"format": "at-uri"
},
"linkEmbeds": {
"type": "boolean"
},
"description": {
"type": "string"
},
"removeBanner": {
"type": "boolean",
"description": "Drops the community's current banner. Cannot be combined with a new banner blob."
},
"removePicture": {
"type": "boolean",
"description": "Drops the community's current picture. Cannot be combined with a new picture blob."
},
"requiresApprovalToJoin": {
"type": "boolean"
}
}
},
"description": "Updates a community's metadata and optionally its picture and banner."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}