Get Started
API backend
API system
More information

GET api/2.0/files/{folderId}/subfolders This function requires authentication

Description

Returns a list of all the subfolders from a folder with the ID specified in the request.

Parameters
Name Description Type Example
folderId
sent in url
Folder ID `0
Example
GET api/2.0/files/{folderid}/subfolders
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of file entry information

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Title": "some text",
      "Access": "ReadWrite",
      "Shared": true,
      "ProviderKey": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Title>some text</Title>
    <Access>ReadWrite</Access>
    <Shared>True</Shared>
    <ProviderKey>some text</ProviderKey>
  </response>
</result>