Generate a presigned URL to upload ebook PDF file to S3
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-presigned-url-for-ebook-upload \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "productSlug": "<string>" } } ] } '
[ { "output": { "status": "ok", "data": { "r2KeyForOriginalEbookPdf": "<string>", "presignedUrl": "<string>" } } } ]
API Request Body
Show child attributes
API Response Body