social.colibri.beta.community.listInvitations
Lists a community's invitation codes.
Details · query
| Kind | query |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Lists a community's invitation codes.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "The requesting user lacks the invitation.create permission.",
"name": "Forbidden"
},
{
"description": "No community exists with that DID.",
"name": "CommunityNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "A cursor for fetching the next page.",
"type": "string"
},
"invitations": {
"description": "The community's invitations.",
"items": {
"ref": "social.colibri.beta.community.defs#invitationView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"invitations"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "The community to list invitations for.",
"format": "did",
"type": "string"
},
"cursor": {
"description": "The cursor from a previous call, for fetching the next page.",
"type": "string"
},
"limit": {
"default": 50,
"description": "The maximum number of results to return.",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.colibri.beta.community.listInvitations",
"lexicon": 1
}