us.off-the-clock.getMembership

Community-wide membership, read from the subspace model: the member entries and policies the community's PDS publishes, which decide what this service shows; the PDS itself decides access (D77). A trusted service may ask about any DID; a viewer only about themselves. A non-member is an answer, not an error.

Details · query
Kindquery
Authorityoff-the-clock.us
Indexed

Query

query · GET

Parameters

query string

did

requiredstring · did

The account to ask about.

Output

application/json

admin

requiredboolean

An effective admin: administers every pair.

adminOf

requiredarray

The TIDs of the pairs this DID administers (D35).

itemsstring · tid

did

requiredstring · did

invited

boolean

A root entry with both read and write false names this DID: invited, not yet joined (D80); it reads nothing and is listed nowhere.

A joined member carrying a counting limited-contributor label: they create only likes, RSVPs, poll votes and their own profile (D92). Omitted otherwise.

member

requiredboolean

The community identity, or a DID that has joined: a root entry with read or write (D80).

spaces

requiredarray

The content halves the DID holds read or write in, as <space-type>/<space-id>; the root is always included for a member.

itemsstring
  • maxLength: 512

Errors

Forbidden

The caller may not ask about this DID.

InvalidRequest

No description in schema.

Similar lexicons

semantic match

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

  • One DID's membership and the records behind it. Effective admins and the community identity only.

  • Every DID with an entry in any followed space, with its entries. Effective admins and the community identity only. With space, the DIDs with an entry on either half of that pair and only those entries, for the pair's own team too.

  • A subspace member entry. A DID with no entry reads as read, write and admin all false.

  • The published member entries of one account, keyed by the member's DID, across every subspace that publishes its members to the space holding this record. Written by the authority's host to the authority's own repo. Authoritative only in the authority's repo.

  • Gets an account's standing in a community for the bridge that holds the registration: whether it is a member, whether it owns the community, its roles and its effective permissions. Bridges use it to decide who may run their commands.