Get image from S3
GET/truckers/images/
Endpoint to retrieve images stored in Amazon S3. It allows fetching images using the filename passed as a query parameter.
Use cases:
- Retrieve driver profile pictures
- Obtain scanned documents (licenses, permits)
- Access images of registered vehicles
The system supports JPEG, PNG, GIF, and WEBP formats.
Request
Responses
- 200
- 404
- 500
Image successfully retrieved from S3. The response's Content-Type matches the requested image type.
Example of successful response:
HTTP/1.1 200 OK
Content-Type: image/jpeg
[binary image data]
Image not found
Error getting image