GET api/2.0/settings/statistics/spaceusage/{id}
Returns the space usage statistics of the web item with the ID specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Web item ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
GET api/2.0/settings/statistics/spaceusage/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Space usage statistics of the web item
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>