Upload a photo
Upload a photo to the Guile platform.
All photos are subject to review before they can be assigned to resources. The photo will initially have a state of ‘uploaded’ or ‘inReview’.
Body
Request to upload a photo.
Base64 encoded photo binary data.
Response
Created.
An uploaded photo on the Guile Platform.
The unique identifier for the photo.
The content type of the photo.
image/gif, image/jpg, image/jpeg, image/png, image/webp The size of the photo in bytes.
The dimensions of the photo.
The URL to access the photo.
1024The current state of the photo.
uploaded, processing, inReview, approved, rejected The thumbnail URL to access the photo, if available.
1024When state is rejected, this is the human-readable reason.
It is populated either by the review team on manual denial or by the
processing worker after exhausted retries. The rejection reason is
excluded for all states except rejected.