Get Started
Portal api methods
Help

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

Description

Returns a detailed information about the folder with the ID specified in the request

Parameters

This method doesn't have any parameters

Example
GET api/2.0/files/folder/{folderid}
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Folder info

Example Response

application/json

{
  "status": 0,
  "response": {
    "parentId": 1385835121,
    "filesCount": 1385835121,
    "foldersCount": 1385835121,
    "id": 1385835121,
    "title": "Some titile",
    "access": 1,
    "shared": false,
    "rootFolderType": 2,
    "updatedBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "created": "2019-10-15T09:54:28.6547932Z",
    "createdBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "updated": "2019-10-15T09:54:28.6547932Z",
    "providerItem": false
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <parentId>1385835121</parentId>
    <filesCount>1385835121</filesCount>
    <foldersCount>1385835121</foldersCount>
    <id>1385835121</id>
    <title>Some titile</title>
    <access>1</access>
    <shared>false</shared>
    <rootFolderType>2</rootFolderType>
    <updatedBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </updatedBy>
    <created>2019-10-15T09:54:28.6547932Z</created>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
    <updated>2019-10-15T09:54:28.6547932Z</updated>
    <providerItem>false</providerItem>
  </response>
</result>