social.grain.unspecced.createPoolGallery

Add a gallery to a group's pool: one permissioned space (social.grain.group) anchored on the group, holding every member's galleries. The gallery, its photos and its items are the author's own records in their own repo, written inside that space — so only the group's members can read them, and they leave with the author.

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

Procedure

procedure · POST

Input

application/json
  • maxLength: 1000

group

requiredstring · did

The group whose pool this goes into.

photos

array
  • maxLength: 100
itemsref
Reference

rkey

requiredstring

Record key for the gallery, in the author's repo.

  • maxLength: 64

title

requiredstring
  • maxLength: 100

Output

application/json

space

requiredstring

The pool space it was written into.

uri

requiredstring · at-uri

Errors

SpacesUnsupported

The author's PDS does not serve permissioned spaces.

NotAuthorized

The viewer is not a member of this group's pool.

#photoInput

object

Properties

alt

string

photo

requiredblob
  • maxSize: 1000000
  • accept: image/*

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.createPrivateGallery

    procedure not from the namespace authority

    Create a gallery that lives in a permissioned space (proposal 0016) rather than in the public repo. The gallery, its photos and its items are written to the author's space repo, and only the accounts named in members can read them.

  • social.grain.unspecced.listPoolGalleries

    query not from the namespace authority

    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.

  • 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.

  • 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.createPoolComment

    procedure not from the namespace authority

    Comment on a gallery in a group's pool. The comment is the viewer's own record, written into the pool beside the gallery it answers, so only that group's members can read it.