Retrieving document information

You can retrieve document information such as document type and size supported by HCL Docs in JSON format by the editor application API.

Table 1. Editor Application API

This table provides reference information for the Editor Application APIs to get document type and size

Method URI Description Parameters or variables
GET /docs/api/list Gets document type and size supported by HCL Docs in JSON format. method: The value is fileType

Example

  • GET /docs/api/list?method=fileType

    Output: {".ods":"10240",".xls":"10240",".odt":"10240",".pptx":"30720",".txt":"10240",".ppt":"30720",".xlsx":"10240",".csv":"2048",".doc":"10240",".odp":"30720",".docx":"10240"}