full diff

social.colibri.role.create

colibri.social +12 −0
From
bafyreibcl5uinax3drzcu24nm4ibfeypyf5gwxzu7r3esrsp6axo6upug4 indexed 2026-07-31 21:22 UTC View this version
To
bafyreihmdyxmgj6an2mi3azpdl6iht3w6oeao7z4jheyl5o4dwrc5niotu indexed 2026-08-15 21:21 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Creates a role in a community.",
66 "errors": [
77 {
8 "description": "The acting account has not published this AppView as authorized to act for it.",
9 "name": "AppViewNotAuthorized"
10 },
11 {
812 "description": "Missing, malformed, or unverifiable service auth.",
913 "name": "AuthRequired"
1014 },
1115 {
1216 "description": "The AppView cannot write to the community's repo and could not repair its own access.",
1317 "name": "CommunityCredentialsUnrecoverable"
1418 },
1519 {
1620 "description": "The caller lacks the permission this method requires.",
1721 "name": "Forbidden"
1822 },
1923 {
2024 "description": "A parameter or body field was missing or malformed.",
2125 "name": "InvalidRequest"
2226 },
2327 {
28 "description": "This AppView does not administer the community; the hub field names the one that does.",
29 "name": "NotCommunityHub"
30 },
31 {
2432 "description": "The PDS this operation needs is unreachable or is not a PDS.",
2533 "name": "PdsUnavailable"
34 },
35 {
36 "description": "A service outside this AppView failed.",
37 "name": "UpstreamFailure"
2638 }
2739 ],
2840 "output": {
2941 "encoding": "application/json",
3042 "schema": {
3143 "properties": {
3244 "uri": {
3345 "format": "at-uri",
3446 "type": "string"
3547 }
3648 },
3749 "required": [
3850 "uri"
3951 ],
4052 "type": "object"
4153 }
4254 },
4355 "parameters": {
4456 "properties": {
4557 "color": {
4658 "type": "string"
4759 },
4860 "community": {
4961 "format": "at-uri",
5062 "type": "string"
5163 },
5264 "hoisted": {
5365 "type": "boolean"
5466 },
5567 "mentionable": {
5668 "type": "boolean"
5769 },
5870 "name": {
5971 "type": "string"
6072 },
6173 "permissions": {
6274 "items": {
6375 "type": "string"
6476 },
6577 "type": "array"
6678 },
6779 "position": {
6880 "type": "integer"
6981 }
7082 },
7183 "required": [
7284 "community",
7385 "name",
7486 "permissions",
7587 "position"
7688 ],
7789 "type": "params"
7890 },
7991 "type": "procedure"
8092 }
8193 },
8294 "id": "social.colibri.role.create",
8395 "lexicon": 1
8496}

Compare other versions