This REST API allows to obtain basic information about the document and it’s properties.
It returns InfoResult data structure, which contains the list of properties:
Document file format File extension File size Pages count Resource The following GroupDocs.Viewer Cloud REST API resource has been used to get document information.
cURL example Linux/MacOS/Bash # First get JSON Web Token # Please get your Client Id and Client Secret from https://dashboard.groupdocs.cloud/applications. # Place Client Id in $CLIENT_ID and Client Secret in $CLIENT_SECRET environment variables....\ -H "Authorization: Bearer $JWT_TOKEN " \ -d '{ "FilePath": ..."Authorization: Bearer $env:JWT_TOKEN" ` -d "{ 'FilePath': '...