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 number 1234
Example
GET api/2.0/files/1234/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,
      "CreatedBy": {
        "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
        "DisplayName": "some text",
        "Title": "some text",
        "AvatarSmall": "some text",
        "ProfileUrl": "some text",
        "HasAvatar": true
      },
      "UpdatedBy": {
        "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
        "DisplayName": "some text",
        "Title": "some text",
        "AvatarSmall": "some text",
        "ProfileUrl": "some text",
        "HasAvatar": true
      },
      "ProviderKey": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Title>some text</Title>
    <Access>ReadWrite</Access>
    <Shared>True</Shared>
    <CreatedBy>
      <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
      <DisplayName>some text</DisplayName>
      <Title>some text</Title>
      <AvatarSmall>some text</AvatarSmall>
      <ProfileUrl>some text</ProfileUrl>
      <HasAvatar>True</HasAvatar>
    </CreatedBy>
    <UpdatedBy>
      <Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
      <DisplayName>some text</DisplayName>
      <Title>some text</Title>
      <AvatarSmall>some text</AvatarSmall>
      <ProfileUrl>some text</ProfileUrl>
      <HasAvatar>True</HasAvatar>
    </UpdatedBy>
    <ProviderKey>some text</ProviderKey>
  </response>
</result>