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

Showing version bafyreicpsxjiltbuq2bi6cp2sj4b6ojde4bhnfqrqlatdx3r2hwwsg75ay. Show the latest

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.

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.

  • us.off-the-clock.subspace.listMembers

    query not from the namespace authority

    List a subspace's member entries. Auth: OAuth as the authority with a covering read_self grant, or service auth from a subspace admin.

  • us.off-the-clock.subspace.member

    record not from the namespace authority

    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.

  • town.delve.membership.getMembership

    query not from the namespace authority

    The requesting account's standing in the town. Requires auth.