TRY NEW VERSION

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

Description

Returns the current portal quota.

Parameters

This method doesn't have any parameters.

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

Quota

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": 234,
    "Name": "Name",
    "MaxFileSize": 12345,
    "MaxTotalSize": 12345,
    "ActiveUsers": 2,
    "Features": "Features",
    "Price": 225.0,
    "AvangateId": "AvangateId",
    "Visible": true,
    "Year": true,
    "Year3": true
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>234</Id>
    <Name>Name</Name>
    <MaxFileSize>12345</MaxFileSize>
    <MaxTotalSize>12345</MaxTotalSize>
    <ActiveUsers>2</ActiveUsers>
    <Features>Features</Features>
    <Price>225</Price>
    <AvangateId>AvangateId</AvangateId>
    <Visible>True</Visible>
    <Year>True</Year>
    <Year3>True</Year3>
  </response>
</result>