Get PDF metadata.
POST/pdf/metadata/info
Get PDF metadata.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The PDF URL.
bufferstring
The PDF as a Base64-encoded buffer. Can be specified instead of url
.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
titlestring
The title of the PDF.
authorstring
The author of the PDF.
subjectstring
The subject of the PDF.
keywordsstring[]
The keywords of the PDF.
creatorstring
The creator of the PDF, which is the software used to design it.
creationDatestring<date-time>
The creation date of the PDF.
modificationDatestring<date-time>
The last modification date of the PDF.
isEncryptedbooleanrequired
Whether the PDF is encrypted.
pageCountnumberrequired
The page count of the PDF.
pages object[]required
widthnumberrequired
The width of the page in points.
heightnumberrequired
The height of the page in points.
rotationnumberrequired
The rotation of the page in degrees. This does not detect the actual rotation of the page content, but just returns the rotation value stored inside the PDF.
{
"title": "string",
"author": "string",
"subject": "string",
"keywords": [
"string"
],
"creator": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"modificationDate": "2024-07-29T15:51:28.071Z",
"isEncrypted": true,
"pageCount": 0,
"pages": [
{
"width": 0,
"height": 0,
"rotation": 0
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}