social.grain.unspecced.createPrivateGallery

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.

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

members

array

Handles or DIDs allowed to read the gallery. The author always can.

  • maxLength: 100
itemsstring

photos

array
  • maxLength: 100
itemsref
Reference

rkey

requiredstring

Record key for the gallery. Doubles as the space's skey, so one gallery is one space.

  • maxLength: 64

title

requiredstring
  • maxLength: 100

Output

application/json

space

requiredstring

The space URI the gallery lives in.

uri

requiredstring · at-uri

Errors

SpacesUnsupported

The author's PDS does not serve permissioned spaces.

ActorNotFound

One of the named members could not be resolved.

#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.createPoolGallery

    procedure not from the namespace authority

    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.

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

  • One private gallery, anchored on its author's account. The space key is the gallery's rkey. The author writes the gallery, its items and its photos; members only read them.

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

  • Create an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.