Skip to end of metadata
Go to start of metadata

Return a list of all photos in gallery defined by parameter sid.

API version

1.0

Working example URL: https://en.onlinedemo.picapport.de/picapportapi/1.0/getGallery?sid=bdV9KFX26z7zcP5Whjbjnw&withmeta=true

Parameter

NameTypeSince
version
RequiredValue(s)
sidstring7.4yesUnique sid returned by getSharedGallerys or by the Web-GUI function share photos
withmetaboolean7.4nodefault=false
if true the photos array in result will be filled if gallery has Permission to view photo metadata (pap:access:metadata)

Result

mime typeapplication/json
contentMetadata of Gallery
http status codes
  • 200 OK
  • 400 Bad Request
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error
  • 501 Not implemented

Result:JSON

NameTypeSince
version
Value
sidstring7.4Unique sid of this gallery returned by getSharedGallerys or by the Web-GUI function share photos
uidstring7.4Internal picapport user-ID used for this gallery
namestring7.4

Name of this gallery

descriptionstring7.4Description text (Can be edited with the PicApport Web-GUI user management)
countint7.4Number of images (or files) in gallery
indexmarkedint7.4Index of the first marked photo when the gallery was created. This can be used to create a title image
createddate7.4Timestamp when this gallery has been created. Format: yyyy-mm-dd hh:mm:ss
expiresdate7.4
  • Timestamp when this gallery will expire. Format: yyyy-mm-dd hh:mm:ss
  • never - If gallery will never expire
photosarray7.4

Optional array. photos will only be available if the user account for the gallery has the following permission:

  • Permission to view photo metadata (pap:access:metadata)
  • and parameter withmeta was set to true

If available each array element has the following members

NameType

Since
version

Example
value
apertureValuestring7.4"f/22,0"
creationDatetimestamp7.4"2015-07-02T14:35:33"
creationYearint7.4

2015

exposureTimestring7.4"1/160 sec"
depends on camera
fileNamestring7.4"E:\\MyPhotos\\2015\\Demos\\DEV-5Y8A3042.jpg"
fingerprintstring7.4"EsYKL5SRzjpnxNFSWPPE"
PicApport fingerprint based on metadata
focalLengthstring7.4

"90,0 mm"
depends on camera

heightint7.43579
photo height in pixels
isoSpeedstring7.4"400"
depends on camera
lastUpdatetimestamp7.4"2017-07-27T17:22:39"
latitudestring7.4"49.560138333333335"
lensstring7.4"TAMRON SP 90mm"
depends on camera / lens
likesint7.40
number of likes
longitudestring7.4"8.249656666666667"
makestring7.4"Canon"
modelstring7.4"Canon EOS 7D Mark II"
personsstring array7.4["Maria Musterman", "Jack London"]
photoIDstring7.4"iILNtIMuSPaSWorMlHVpXA"
unique PicApport photo ID
ratingint7.43
rating from 0 to 5 (stars)
softwarestring7.4"Adobe Photoshop Lightroom 6.0 (Windows)"
tagsstring array7.4["Contecon", "PicApport", "Demo"]
textSearchstring7.4"jul contecon 5y8a3042 usd eos tamron jul02 ........"
titlestring7.4"Demo photo PicApport - title"
widthint7.4

2684
photo width in pixels

 

 


  • No labels