Get Document Information
This API retrieves document information. It returns an object that contains information about file format, document pages and file size.
Resource
The following GroupDocs.Signature Cloud REST API resource has been used to get document information.
cURL REST Example
curl -X POST "https://api.groupdocs.cloud/v2.0/signature/info" -H "accept: application/json" -H "authorization: Bearer [Access Token]" -H "Content-Type: application/json" -d "{ \"FileInfo\": { \"FilePath\": \"Signaturedocs/one-page.docx\", \"StorageName\": \"MyStorage\", \"VersionId\": \"\", \"Password\": \"\" }}"
{
"fileName": "one-page.docx",
"extension": ".docx",
"fileFormat": "Microsoft Words",
"size": 324608,
"dateModified": "2017-04-03T12:57:58.9646989Z",
"pages": {
"totalCount": 1,
"entries": [
{
"number": 1,
"name": null,
"width": 816,
"height": 1056,
"angle": 0,
"visible": true,
"rows": null
}
]
}
}
SDKs
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.