API Reference//
- Update an existing photo
Upload a new photo
Get a Photo
Delete a Photo
Update an existing photo
Update metadata of a photo identified by its uberall unique id. Only metadata fields are supported here (e.g., type, description, identifier, crop values, sourceUrl). The photo file/content cannot be replaced via this endpoint. Each location can contain only one photo of a given type. If a photo of that type already exists, the request will fail.
Security
X-API-KEY or Authorization
The photo metadata to update
Photo type
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/{id}
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/photos/{id}
- X-API-KEY
- Authorization
curl -i -X PATCH \
'https://uberall.com/api/photos/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"identifier": "string",
"type": "MAIN",
"description": "string",
"sourceUrl": "string",
"cropOffsetX": 0,
"cropOffsetY": 0,
"cropHeight": 0,
"cropWidth": 0
}'The photo has been updated
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": { … } } }