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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | unspecced.grain.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsondescription
stringmaxLength: 1000
members
arrayHandles or DIDs allowed to read the gallery. The author always can.
maxLength: 100
photos
arraymaxLength: 100
Record key for the gallery. Doubles as the space's skey, so one gallery is one space.
maxLength: 64
maxLength: 100
Output
application/jsonErrors
SpacesUnsupported
The author's PDS does not serve permissioned spaces.
ActorNotFound
One of the named members could not be resolved.
#photoInput
objectProperties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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.
-
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.
-
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.
-
net.atpix.gallery.createAlbum
procedureCreate an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.