social.colibri.role.update

Updates a role.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 not from the namespace authority
Details · procedure
Kindprocedure
Authorityrole.colibri.social
Indexed
cid bafyreidqeyo6o57icx4zn6mp34husjuo3hseu3njipn2l6ttpdmh65ggwa

Checks

Valid
  • unlimited-string defs.main.parameters.properties.colorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.nameNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.parameters.properties.permissions.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Updates a role.",
      "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": {
          "color": {
            "type": "string"
          },
          "hoisted": {
            "type": "boolean"
          },
          "mentionable": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "position": {
            "type": "integer"
          },
          "role": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "social.colibri.role.update",
  "lexicon": 1
}