Update photos for an apartment
POST/v2/photos
Operation ID: updatePhotos
Sets the apartment's photos; position sets their order. The list replaces the stored photos: always send all current photos, as photos missing from the request are removed and an empty list removes all photos. Photos are matched by URL and downloaded asynchronously, so a changed image needs a new URL (for example with a version parameter) to be fetched again. Duplicate URLs in one request fail the whole request (400).
Request
Responses
- 200
- 400
- 401
- 404
- 500
Updated list of photos for the apartment
Bad Request
Authentication error
Apartment does not exist
Internal server error