social.colibri.channel.create
Creates a channel in a category of a community.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | channel.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.nameNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Creates a channel in a category of a community.",
"errors": [
{
"description": "The acting account has not published this AppView as authorized to act for it.",
"name": "AppViewNotAuthorized"
},
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The AppView cannot write to the community's repo and could not repair its own access.",
"name": "CommunityCredentialsUnrecoverable"
},
{
"description": "The caller lacks the permission this method requires.",
"name": "Forbidden"
},
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
},
{
"description": "This AppView does not administer the community; the hub field names the one that does.",
"name": "NotCommunityHub"
},
{
"description": "The PDS this operation needs is unreachable or is not a PDS.",
"name": "PdsUnavailable"
},
{
"description": "A service outside this AppView failed.",
"name": "UpstreamFailure"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"parameters": {
"properties": {
"allowedMembers": {
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"allowedRoles": {
"items": {
"format": "record-key",
"type": "string"
},
"type": "array"
},
"category": {
"format": "at-uri",
"type": "string"
},
"community": {
"format": "at-uri",
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"description": "The channel type, e.g. social.colibri.channel.text.",
"format": "nsid",
"type": "string"
}
},
"required": [
"community",
"category",
"name",
"type"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "social.colibri.channel.create",
"lexicon": 1
}