Get Started
Portal api methods
Help

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

Description

Returns space usage quota for portal with the space usage of 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": 811597824,
    "availableUsersCount": 0,
    "storageUsage": [
      {
        "path": "crm",
        "size": 104857600
      },
      {
        "path": "files",
        "size": 157286400
      }
    ],
    "userStorageSize": 0,
    "userUsedSize": 0,
    "userAvailableSize": 0
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <storageSize>1073741824</storageSize>
    <maxFileSize>26214400</maxFileSize>
    <usedSize>262144000</usedSize>
    <maxUsersCount>0</maxUsersCount>
    <usersCount>0</usersCount>
    <availableSize>811597824</availableSize>
    <availableUsersCount>0</availableUsersCount>
    <storageUsage>
      <path>crm</path>
      <size>104857600</size>
    </storageUsage>
    <storageUsage>
      <path>files</path>
      <size>157286400</size>
    </storageUsage>
    <userStorageSize>0</userStorageSize>
    <userUsedSize>0</userUsedSize>
    <userAvailableSize>0</userAvailableSize>
  </response>
</result>