Process and encrypt an uploaded ebook PDF file. Call this after uploading the file to the presigned URL.
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/process-uploaded-ebook \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "productSlug": "<string>", "r2KeyForOriginalEbookPdf": "<string>" } } ] } '
[ { "output": { "status": "ok", "data": { "ebookVersionIndex": 123 } } } ]
API Request Body
Show child attributes
API Response Body