social.colibri.community.create
Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.identifierNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.passwordNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.pdsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
},
{
"description": "The PDS this operation needs is unreachable or is not a PDS.",
"name": "PdsUnavailable"
},
{
"description": "A service outside this AppView failed.",
"name": "UpstreamFailure"
}
],
"input": {
"description": "Optional community image blobs, as `picture` and `banner` parts.",
"encoding": "multipart/form-data"
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"category": {
"format": "at-uri",
"type": "string"
},
"channel": {
"format": "at-uri",
"type": "string"
},
"community": {
"format": "at-uri",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"member": {
"format": "at-uri",
"type": "string"
},
"ownerRole": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"did",
"community",
"category",
"channel",
"ownerRole",
"member"
],
"type": "object"
}
},
"parameters": {
"properties": {
"description": {
"type": "string"
},
"identifier": {
"description": "Bring-your-own DID or handle.",
"type": "string"
},
"name": {
"type": "string"
},
"password": {
"description": "Bring-your-own account password.",
"type": "string"
},
"pds": {
"description": "Bring-your-own PDS endpoint.",
"type": "string"
},
"requiresApprovalToJoin": {
"type": "boolean"
}
},
"required": [
"name"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "social.colibri.community.create",
"lexicon": 1
}