TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

GET api/2.0/settings/statistics/spaceusage/{id} This function requires authentication

Description

Returns the space usage statistics of the module with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Module ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
GET api/2.0/settings/statistics/spaceusage/%229924256A-739C-462b-AF15-E652A3B1B6EB%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Module space usage statistics

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Name": "Item name",
      "Icon": "Item icon path",
      "Disabled": false,
      "Size": "0 Byte",
      "Url": "Item url"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Name>Item name</Name>
    <Icon>Item icon path</Icon>
    <Disabled>False</Disabled>
    <Size>0 Byte</Size>
    <Url>Item url</Url>
  </response>
</result>