This function is currently under development and will be available with the release of Version 8.3 in Summer 2020
Check if a photo with photoid exists. Requires parameters apisid and photoid.
API version
1.0
Working example URL: https://en.onlinedemo.picapport.de/picapportapi/1.0/checkPhotoId?photoid=vm3%2BZ4%2FGQcOqLNWCOUWleA
Parameter to identify the photo
Name | Type | Since version | Required | Value(s) |
---|---|---|---|---|
apisid | string | 8.3 | yes | Based on the setting of webapi.default.uid in picapport.properties you may provide one of the following values |
photoid | string | 8.3 | yes | A valid photo id to uniquely identify a photo. see: PhotoID on page Full text search of photos - Supported metadata Because the photoid is a base64 encoded String it may contain '+' or '/' characters. The proper escaping for the URL is:
You can also use JavaScripts encodeURIComponent() function. For some examples of using photoid see also photoid on URL Parameter to identify a photo |
Result
mime type | application/json |
---|---|
content | Information if photo exits. Permission required: Permission to upload files (pap:access:uploads) |
http status codes |
|
Result:JSON
Name | Type | Since | Example value |
---|---|---|---|
photoID | string | 8.3 | "iILNtIMuSPaSWorMlHVpXA" unique PicApport photo ID |
exists | boolean | 8.3 |
|
alreadySynced | boolean | 9.1.04 |
|