Compress PDF.
POST/pdf/compress
Attempt to reduce the size of a PDF file by optimizing its images and structure. Please note that 0CodeKit may not always be able to decrease the file size.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
bufferstring
getAsUrlboolean
fileNamestring
Responses
- 200
- 400
Success
- application/json
- application/octet-stream
- Schema
- Example (auto)
Schema
urlstringrequired
{
"url": "string"
}
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}