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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | unspecced.grain.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsondescription
stringmaxLength: 1000
The group whose pool this goes into.
photos
arraymaxLength: 100
Record key for the gallery, in the author's repo.
maxLength: 64
maxLength: 100
Output
application/jsonErrors
SpacesUnsupported
The author's PDS does not serve permissioned spaces.
NotAuthorized
The viewer is not a member of this group's pool.
#photoInput
objectProperties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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.
-
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.
-
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 gallery from a group's pool, read from the repo that holds it through a credential the group's host issues.
-
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.