Get Started
API backend
API system
More information

GET api/2.0/settings/quota This function requires authentication

Description

Returns the space usage quota for the portal with the specified space usage for each module.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/settings/quota
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Space usage and limits for upload

Example Response

application/json

{
  "status": 0,
  "response": {
    "storageSize": 1073741824,
    "maxFileSize": 26214400,
    "usedSize": 262144000,
    "maxUsersCount": 0,
    "usersCount": 0,
    "availableSize": 0
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <storageSize>1073741824</storageSize>
    <maxFileSize>26214400</maxFileSize>
    <usedSize>262144000</usedSize>
    <maxUsersCount>0</maxUsersCount>
    <usersCount>0</usersCount>
    <availableSize>0</availableSize>
  </response>
</result>