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

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/admin/photos/save
  • Auth
    none declared

Request body multipart/form-data

destinationstring required
photo_urlstring nullable
photographerstring nullable
imagestring binary nullable
orientationstring

Response

Successful Response

successboolean required
destinationstring required
photo_idinteger required

Changes

No recorded changes to this operation across all 34 revisions of this API.