social.colibri.beta.bridge.getMember
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.
Details · query
| Kind | query |
|---|---|
| Authority | bridge.beta.colibri.social |
| Commit rev | 3n32ie2c7jp2x |
| Indexed |
Query
query · GETParameters
query stringchannel
stringA linked or open channel of the registration. When given, permissions include that channel's overrides.
The community the registration belongs to.
The account to look up.
Record key of the registration.
Output
application/jsonThe account.
Whether the account is an admitted member that is not banned.
Whether the account owns the community.
Effective permissions, in the community or in the given channel. Empty when the account is not a member.
A permission identifier.
Roles held, highest first. Empty when the account is not a member.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The caller is not the bridge this registration belongs to.
CommunityNotFound
No community exists at the given DID.
RegistrationNotFound
The community has no bridge registration with that id.
ChannelNotLinked
The channel is neither linked nor open to the registration.
RateLimited
The bridge sent too many requests. Retry after the interval in the response headers.
#memberRole
objectA role an account holds.
Similar lexicons
semantic matchLexicons 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.
-
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.
-
Lists a community's roles.
-
social.colibri.beta.member
recordA community member. The record key is the member's DID, so membership is a direct lookup and a member cannot hold two of these.
-
Lists a community's admitted members.