getGallery
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
| sid | string | 7.4 | yes | Unique sid returned by getSharedGallerys or by the Web-GUI function share photos |
| withmeta | boolean | 7.4 | no | default=false if true the photos array in result will be filled if gallery has Permission to view photo metadata (pap:access:metadata) |
Result
| mime type | application/json |
|---|---|
| content | Metadata of Gallery |
| http status codes |
|
Result:JSON
| sid | string | 7.4 | Unique sid of this gallery returned by getSharedGallerys or by the Web-GUI function share photos |
| uid | string | 7.4 | Internal picapport user-ID used for this gallery |
| name | string | 7.4 | Name of this gallery |
| description | string | 7.4 | Description text (Can be edited with the PicApport Web-GUI user management) |
| count | int | 7.4 | Number of images (or files) in gallery |
| indexmarked | int | 7.4 | Index of the first marked photo when the gallery was created. This can be used to create a title image |
| created | date | 7.4 | Timestamp when this gallery has been created. Format: yyyy-mm-dd hh:mm:ss |
| expires | date | 7.4 |
|
| photos | array | 7.4 | Optional array. photos will only be available if the user account for the gallery has the following permission:
If available each array element has the following members |
| apertureValue | string | 7.4 | „f/22,0“ |
| creationDate | timestamp | 7.4 | „2015-07-02T14:35:33“ |
| creationYear | int | 7.4 | 2015 |
| exposureTime | string | 7.4 | „1/160 sec“ depends on camera |
| fileName | string | 7.4 | „E:\\MyPhotos\\2015\\Demos\\DEV-5Y8A3042.jpg“ |
| fingerprint | string | 7.4 | „EsYKL5SRzjpnxNFSWPPE“ PicApport fingerprint based on metadata |
| focalLength | string | 7.4 | „90,0 mm“ |
| height | int | 7.4 | 3579 photo height in pixels |
| isoSpeed | string | 7.4 | „400“ depends on camera |
| lastUpdate | timestamp | 7.4 | „2017-07-27T17:22:39“ |
| latitude | string | 7.4 | „49.560138333333335“ |
| lens | string | 7.4 | „TAMRON SP 90mm“ depends on camera / lens |
| likes | int | 7.4 | 0 number of likes |
| longitude | string | 7.4 | „8.249656666666667“ |
| make | string | 7.4 | „Canon“ |
| model | string | 7.4 | „Canon EOS 7D Mark II“ |
| persons | string array | 7.4 | [„Maria Musterman“, „Jack London“] |
| photoID | string | 7.4 | „iILNtIMuSPaSWorMlHVpXA“ unique PicApport photo ID |
| rating | int | 7.4 | 3 rating from 0 to 5 (stars) |
| software | string | 7.4 | „Adobe Photoshop Lightroom 6.0 (Windows)“ |
| tags | string array | 7.4 | [„Contecon“, „PicApport“, „Demo“] |
| textSearch | string | 7.4 | „jul contecon 5y8a3042 usd eos tamron jul02 ……..“ |
| title | string | 7.4 | „Demo photo PicApport – title“ |
| width | int | 7.4 | 2684 |