-
Notifications
You must be signed in to change notification settings - Fork 8
GET Images Endpoint
goldy4719 edited this page Apr 10, 2026
·
3 revisions
Retrieve all images for the authenticated user, including metadata and download URLs.
- Valid JWT token
- Extract the authenticated user_id.
- Query DynamoDB using the partition key.
- Sort results in descending order.
- Generate presigned URLs for each image.
- Validate and normalize the response data.
- Convert non-JSON-compatible values (e.g., Decimal).
- Results are returned newest first.
- Each image includes a download URL.
- Data validation ensures consistent API responses.