Validate parking photo
PUT/v1/parking-photo-validation
Validates the photo of a parked vehicle after a rental has ended.
You do not call this endpoint with a hand-built URL. When you
end a rental, the response
includes a pre-signed photoUploadURL with the token and rentalId
query parameters already embedded — PUT the parking photo to that URL.
Requirements
- Use the
PUTverb against thephotoUploadURLfrom the end-rental response. - The URL expires ~30 minutes after the rental ends.
- The body must be a raw JPEG (
Content-Type: image/jpeg), taken in portrait orientation with the regular (non-wide) lens.
The response decision is one of good-parking, bad-parking, bad-photo, no-decision or unknown. Absence of a photo results in bad-parking.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Successfully validated parking photo
Bad request
Unauthorized
Not found
Internal server error