locations
Upload location picture
Changed onUploads a location picture as multipart/form-data with a single file field (webp, jpeg, png, or gif; max ~12 MiB). Soft client limit is 8 MiB. Auth matches edit location.
post/locations/{locationId}/picture
Request
- Base URLhttps://api.usecrouton.com
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The location identifier.
Request body multipart/form-data
Response
The updated location.
Changes
- info
endpoint added
- info