admin-photos

Save Photo

Save a photo for a destination. Accepts multipart/form-data. Provide either photo_url (Unsplash) or image (custom upload), not both. orientation: "landscape" (default) saves to photo_url, "portrait" saves to portrait_photo_url. Geocodes the destination and upserts BestPhoto.

post/admin/photos/save

Response

Successful Response

successboolean required
destinationstring required
photo_idinteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.