Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version Note: Since version 8.3 it is also possible to have e unique photoID field in the metadata-JSON of the request.

Version Note: Since version 9.1.04 it is also possible to have e unique doSyncCheck field in the metadata-JSON of the request.

  • doSyncCheck  optional Parameter. (default = true)
    If set to false, the check if the photo has already been transferred is omitted.
    Important: Regardless of the setting of this parameter the photo will still not be accepted if a photo with this ID exists in the database.

Parameter

NameTypeSince
version
RequiredValue(s)
apisidstring7.4yes 
Excerpt Include
URL Parameter to identify a photo
URL Parameter to identify a photo
nopaneltrue

...


Result:JSON

NameType

Since
version

Example
value
apisidstring7.4Session-ID returned from createWebApiSession
processedFilesarray7.4

Each array element has the following members


optional Parameter. (default = true)
If set to false, the check if the photo has already been transferred is omitted.
Important: Regardless of the setting of this parameter the photo will still not be accepted if a photo with this ID exists in the database
NameType

Since
version

Value
fileNamestring7.4The filename used on the PicApport Server
contentTypestring7.4image/jpeg for .jpg Files
sizeInBytesint7.4

The size of the file in bytes

photoIDstring7.4The unique PicApport photoID created after the upload.
This ID may be used to access the photo.
doSyncCheckboolean9.1.04.
resultstring7.4
  • OK
    Photo was uploaded successfully
  • Server Error: File too big.
    File was too big (see configuration parameter upload.max.filesize.mb)
  • Server Error: Invalid content type
    currently only image/jpeg is supported



...