net.atpix.gallery.createPhoto

Create a photo record after blob upload. Writes to public repo or permissioned space per visibility.

Details · procedure
Kindprocedure
Authoritygallery.atpix.net
Indexed

Procedure

procedure · POST

Input

application/json
  • maxLength: 100
itemsstring · at-uri

caption

string
  • maxLength: 2000

contributor

string · did

copyrightHolder

string · did
  • maxLength: 5000

height

integer
  • minimum: 1

image

requiredblob
  • accept: image/*
  • maxLength: 35
  • maxLength: 50
itemsstring
  • maxLength: 64

license

string · uri

source

string · at-uri

spaceUri

string
  • maxLength: 512
  • accept: image/*

title

string
  • maxLength: 500

width

integer
  • minimum: 1

Output

application/json

cid

requiredstring · cid

uri

requiredstring · at-uri

Similar lexicons

semantic match

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

  • Update photo metadata. Does not replace image blob.

  • ATPix photo record. Metadata mapped to Dublin Core and Schema.org ImageObject terms (see docs/lexicon/net.atpix.gallery.md).

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

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