/
Download Photos (API)
Download Photos (API)
URI: https://api.cloudcard.us/photo/download
HTTP Method: GET
Required Headers: X-Auth-Token (see: Authentication)
Example HTTP Request Body
EMPTY
The response will depend on your organization's downloadStrategy
Download Strategy: ZIP_READY_FOR_DOWNLOAD
or ZIP_DOWNLOADED
Example Response if APPROVED
Photos Exist
303 SEE OTHER
{
"link": "http://{api url}/api/photos/download/zip?token=sMo7fflhBijq0mOlotsOfRandomLettersAndNumbersmb8iAaKLtj0vrhm05"
}
You will have to send a GET
request to the URL in the link
attribute to download the zip file and move the photos to the DOWNLOADED
status.
Example Response if No APPROVED
Photos Exist
204 NO CONTENT
Download Strategy: EXTERNAL_READY_FOR_DOWNLOAD
or EXTERNAL_DOWNLOADED
This call will only move the APPROVED
photos to the DOWNLOADED
status. Some other mechanism, such as an APPROVED
or DOWNLOADED
Status Queue is necessary to retrieve the photos.
Example Response if Photos Were Updated
Example Response if No APPROVED
Photos Exist
, multiple selections available,
Related content
Downloading Photos from CloudCard
Downloading Photos from CloudCard
More like this
Get Photo List
Get Photo List
More like this
Create Status Queue
Create Status Queue
More like this
Update Photo
Update Photo
More like this
Use Case: Upload a Photo for a Cardholder
Use Case: Upload a Photo for a Cardholder
More like this
Get a Photo
Get a Photo
More like this