Skip to main content

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 PUT verb against the photoUploadURL from 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

Successfully validated parking photo