GET api/2.0/files/folder/{folderId}Для этой функции требуется аутентификация. Описание Параметры
Пример GET api/2.0/files/folder/some+text Host: yourportal.r7-office.ru Content-Type: application/json Accept: application/json Возвращает Пример ответа application/json {
"status": 0,
"response": {
"parentId": 216359821,
"filesCount": 216359821,
"foldersCount": 216359821,
"id": 216359821,
"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": "2022-10-09T20:03:09.5194681Z",
"createdBy": {
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "Mike Zanyatski",
"title": "Manager",
"avatarSmall": "url to small avatar",
"profileUrl": ""
},
"updated": "2022-10-09T20:03:09.5194681Z"
}
} text/xml <result>
<status>0</status>
<response>
<parentId>216359821</parentId>
<filesCount>216359821</filesCount>
<foldersCount>216359821</foldersCount>
<id>216359821</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>2022-10-09T20:03:09.5194681Z</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>2022-10-09T20:03:09.5194681Z</updated>
</response>
</result> |
Была ли полезна статья?