tools.umbrae.community.getCommunity

A community's details and the caller's standing in it. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. Any managing app may serve it: a serving app, or a PDS that manages its own communities. An unlisted community answers CommunityNotFound to anyone who isn't a member.

Details · query
Kindquery
Authoritycommunity.umbrae.tools
Commit rev3n3bwrrhrhc2e
Indexed

Showing version bafyreid2fhsj6uzlz6pt4dg467bonut23vkz4mqddz7z45a5ns3wrf7tdq. Show the latest

Query

query · GET

Parameters

query string

key

requiredstring

The community's key within this app.

  • minLength: 1
  • maxLength: 63

Output

application/json

appClientId

requiredstring · uri

The app's OAuth client ID: the URL of its client metadata, which publishes a JWKS. The app syncs members' community spaces with an attestation for this client, and a profile space limited by allowedApps must list it before the owner calls registerProfile.

joinMode

requiredstring
  • knownValues: open | request | invite

labeler

string · did

The community's hidden labeler: a tools.umbrae.labeler space at self whose managed policy names this app. The app applies its labels to the community's posts.

listed

requiredboolean

Whether the app shows the community to anyone it admits. An unlisted one is shown only to members.

name

requiredstring

viewer

requiredref
Reference

Errors

CommunityNotFound

Not a community this managing app manages, or an unlisted one and the caller isn't a member.

NotAllowed

The caller lacks the role this needs.

NotAdmitted

The managing app doesn't admit this account.

#viewerState

object

Properties

moderator

requiredboolean

role

string

A member's role: readers only read; writers also post, reply, like and repost.

  • knownValues: reader | writer

state

requiredstring
  • knownValues: none | requested | invited | member | removed

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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.

  • A community's members, requests, invitations or removals. Moderators only: the accounts its managing app names. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. Any managing app may serve it: a serving app, or a PDS that manages its own communities.

  • Join a community, ask to, or accept a pending invitation, within its join mode. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. Any managing app may serve it: a serving app, or a PDS that manages its own communities.

  • A single Community by AT-URI or by name, hydrated with viewer state when the request is authenticated. Exactly one of `community` and `name` is required: the AT-URI is the Community's identity, while the name is what a public link can carry.

  • Get detailed information about a community. Authentication optional; viewer state will be included if authenticated.