tools.umbrae.community.listMyCommunities

The communities this app keeps that the caller is a member of, with the caller's role in each. A reader maps a community space's key back to its ref by computing the key for each of these. Served by the managing app, at its service, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.

Details · query
Kindquery
Authoritycommunity.umbrae.tools
Commit rev3n3bwrsyynk2e
Indexed
cid bafyreieu5bigglor4szdfmeotulabntwqmmr52j27yxvjkmfp63oh6kjtu

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The communities this app keeps that the caller is a member of, with the caller's role in each. A reader maps a community space's key back to its ref by computing the key for each of these. Served by the managing app, at its service, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.",
      "errors": [
        {
          "description": "The managing app doesn't admit this account.",
          "name": "NotAdmitted"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "communities": {
              "items": {
                "ref": "#membership",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "type": "string"
            }
          },
          "required": [
            "communities"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "membership": {
      "properties": {
        "community": {
          "ref": "tools.umbrae.community.defs#communityRef",
          "type": "ref"
        },
        "moderator": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "role": {
          "knownValues": [
            "reader",
            "writer"
          ],
          "type": "string"
        }
      },
      "required": [
        "community",
        "name",
        "role",
        "moderator"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.community.listMyCommunities",
  "lexicon": 1
}