social.grain.unspecced.listPoolGalleries

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.

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

Query

query · GET

Parameters

query string

group

requiredstring · did

limit

integer
  • minimum: 1
  • maximum: 100
  • default: 50

Output

application/json

galleries

requiredarray
itemsref
Reference

space

requiredstring

Errors

NotAuthorized

The viewer is not a member of this pool.

#poolGallery

object

Properties

avatar

string

The author's Grain profile picture, a public record of their own.

createdAt

string · datetime

did

requiredstring · did

Whose gallery it is.

favCount

integer

handle

string

photoCount

requiredinteger

rkey

requiredstring

space

requiredstring

title

requiredstring

uri

string · at-uri

What a favourite or a comment names.

viewerFav

string

Similar lexicons

semantic match

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

  • social.grain.unspecced.listPoolFeed

    query not from the namespace authority

    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.

  • social.grain.unspecced.getPoolGallery

    query not from the namespace authority

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

  • social.grain.unspecced.listPrivateGalleries

    query not from the namespace authority

    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.

  • social.grain.unspecced.listSharedGalleries

    query not from the namespace authority

    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.

  • social.grain.unspecced.getPrivateGallery

    query not from the namespace authority

    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.