tools.umbrae.community.decide

Accept or refuse a join request. Moderators only: the community account and the accounts its managing app names. Served by the managing app named in the community space's policy, at its #umbrae_app endpoint, with atproto service auth (iss the caller, aud the managing app, lxm this method); clients call through their PDS with atproto-proxy set to the policy's managingApp. Any managing app may serve it: a serving app, or a PDS that manages its own communities.

Details · procedure
Kindprocedure
Authoritycommunity.umbrae.tools
Commit rev3n37hexv6g22e
Indexed

Showing version bafyreiabqjbd7jjqnxyx5ayofesn2ico4vjqqqk5amfyvlbagss2qgvbjy. Show the latest

Procedure

procedure · POST

Input

application/json

accept

requiredboolean

community

requiredstring · did

The community account's DID.

did

requiredstring · did

Output

application/json

state

requiredstring
  • knownValues: member | none

Errors

CommunityNotFound

Not a community this managing app manages.

NotAllowed

The caller lacks the role this needs.

NotAdmitted

The managing app doesn't admit this account.

NoRequest

That account hasn't asked to join.

Similar lexicons

semantic match

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

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

  • Invite an account; one that already asked becomes a member. Re-invites a removed account. 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.

  • Admits the requesting user to a community. Joining is an AppView procedure rather than a record the user writes, because admission is what makes the community's spaces readable to them.

  • Leave a community, withdraw a request, or decline an invitation. Leaving takes the caller's posts out of the community, as removal does. 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.

  • Approves a pending application, admitting the subject as a member.