API Reference//
- Upload a new photo
Get a Photo
Delete a Photo
Update an existing photo
Upload a new photo
Upload a single photo for a given location. This endpoint accepts multipart/form-data with a binary photo file.
Security
X-API-KEY or Authorization
Multipart form with the binary photo and related metadata.
The uberall unique id of the location to attach the photo to
Example:12345
Photo type, if not defined defaults to PHOTO
Enum:"MAIN""DOCTOR_COM_PORTRAIT""LOGO""STOREFINDER_LOGO""SQUARED_LOGO""LANDSCAPE""STOREFINDER_COVER""FACEBOOK_LANDSCAPE""APPLE_LANDSCAPE""MENU"
- https://uberall.com/apihttps://uberall.com/api/photos
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/photos
- X-API-KEY
- Authorization
curl -i -X POST \
https://uberall.com/api/photos \
-H 'Content-Type: multipart/form-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-F locationId=12345 \
-F photo=string \
-F identifier=string \
-F type=MAIN \
-F description=string \
-F order=0 \
-F cropOffsetX=0 \
-F cropOffsetY=0 \
-F cropHeight=0 \
-F cropWidth=0 \
-F main=true \
-F logo=trueThe photo has been uploaded
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
Response
{ "status": "SUCCESS", "message": "string", "warnings": [ "string" ], "response": { "photo": { … } } }