GET api/2.0/files/folder/{folderId}/path
Name |
Description |
Type |
Example |
folderId
sent in url
|
|
string
|
some text
|
GET api/2.0/files/folder/some+text/path
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"parentId": 1696443387,
"filesCount": 1696443387,
"foldersCount": 1696443387,
"id": 1696443387,
"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": "2021-01-15T08:11:56.6316400Z",
"createdBy": {
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "Mike Zanyatski",
"title": "Manager",
"avatarSmall": "url to small avatar",
"profileUrl": ""
},
"updated": "2021-01-15T08:11:56.6316400Z"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<parentId>1696443387</parentId>
<filesCount>1696443387</filesCount>
<foldersCount>1696443387</foldersCount>
<id>1696443387</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>2021-01-15T08:11:56.6316400Z</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>2021-01-15T08:11:56.6316400Z</updated>
</response>
</result>