Newsletter
Get newsletter by date
Changed onRetrieve a newsletter for a specific date and generate a presigned URL to access it from S3
get/newsletter/by-date
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/newsletter/by-date
- Auth: none declared
Query parameters
datestring date required
The date to retrieve the newsletter for (YYYY-MM-DD format)
Response
Newsletter found and presigned URL generated successfully
Example response
{
"s3_url": "https://bucket.s3.us-west-2.amazonaws.com/newsletter/2025-01-15.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..."
}Changes
- ○
endpoint added
- ○