social.grain.group.getGallery

One gallery from a group's pool, read from the repo that holds it through a credential the group's host issues.

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

Query

query · GET

Parameters

query string

did

requiredstring · did

Whose gallery it is.

group

requiredstring · did

rkey

requiredstring

Output

application/json

avatar

string

did

requiredstring · did

favCount

integer

handle

string

items

requiredarray

space

requiredstring

viewerFav

string

The rkey of the viewer's own favourite, when they have one.

Errors

NotAuthorized

The viewer is not a member of this pool.

Similar lexicons

semantic match

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

  • One gallery from a group's pool, read from the repo that holds it through a credential the group's host issues.

  • Every gallery in a group's pool, newest first. Assembled at request time from the repos of the members who wrote them — a pool space never reaches a firehose, so none of it is in the index — and readable only by a member the group's host issues a credential to.

  • Every gallery in a group's pool, newest first. Assembled at request time from the repos of the members who wrote them — a pool space never reaches a firehose, so none of it is in the index — and readable only by a member the group's host issues a credential to.

  • Every gallery in every pool the viewer is a member of, newest first. Assembled per viewer at request time: which groups they belong to is a public fact in the index, but what is in each pool is a permissioned space, read with a credential that group's host issues. Nothing here is shared between viewers or cached.

  • A group: a group DID that has declared itself and shows up in Grain as an author whose pool is other people's galleries.