Get Started
Usage API
More information

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

Description

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

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

Space usage statistics of the web item

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>