social.grain.unspecced.getSpaceMembers

Who a private gallery is shared with. Read from the space's authority, which is the only place the member list exists, so only the gallery's author can ask.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · query
Kindquery
Authorityunspecced.grain.social
Indexed

Query

query · GET

Parameters

query string

space

requiredstring

Output

application/json

members

requiredarray
itemsref
Reference

Errors

NotAuthorized

Only the gallery's author may list its members.

#memberView

object

Properties

avatar

string · uri

did

requiredstring · did

handle

string

Similar lexicons

semantic match

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

  • List members of a space. Caller must be a member or the owner.

  • Private galleries other accounts have shared with the viewer. Answered from grain's own record of who a gallery was shared with, because a space leaves no trace on a member's PDS — then confirmed against the authority, so a gallery the viewer was removed from does not appear.

  • Share an existing private gallery with another account. Adds them to the space's member list on the author's PDS, which is what the authority consults when it mints a credential.

  • Assemble a gallery that lives in a permissioned space. Read from the repos that hold it at request time — space records never reach a firehose, so none of this is in the index.

  • The viewer's own private galleries, read from the spaces their PDS holds. Authors only: a space tells its members nothing about itself, so an account added to someone else's gallery cannot enumerate it and needs the link.