ExportFolderAndFile
Exports
GetCount
Get count of files and folders what contains in a specified folder
User with a Get Count permission can access this method.
Request
GET /api/rp/v1/Exports/Folder/{id}/CountFolderAndFiles
Parameters
| Name | Type | Value | Notes |
|---|---|---|---|
| *id | string | folder id |
Responses
| Status Code | Description | Samples |
|---|---|---|
| 200 | Returns count of the files in a specified folder |
|
| 400 | FolderId is null |
|
| 403 | You don't have rights for the operation |
|
| 404 | Folder not found |
GetFoldersAndFiles
Get all folders and files from specified folder
User with a Get Entity permission can access this method.
Request
GET /api/rp/v1/Exports/Folder/{id}/ListFolderAndFiles[?skip&take]
Parameters
| Name | Type | Value | Notes |
|---|---|---|---|
| *id | string | folder id |
|
| skip | integer | 0 | number of folder and files, that have to be skipped |
| take | integer | 10 | number of folder and files, that have to be returned |
Responses
| Status Code | Description | Samples |
|---|---|---|
| 200 | Returns list of the files from a specified folder |
|
| 400 | FolderId is null |
|
| 403 | You don't have rights for the operation |
|
| 404 | File or folder not found |