GET/channel-folders/{channelFolderId}/trash-files
Gets a list of trashed files in a channel folder.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
file
file.read
group.folder
group.folder.read
| Parameter | Type | Description |
|---|---|---|
| channelFolderId | string | orgunit/group/messageroom Folder ID required example : @900000014040402 |
| Parameter | Type | Description |
|---|---|---|
| orderBy | string | Sort method. Use a blank space (%20) to separate "sort by" and "sort order." Example) createdTime%20desc
example : createdTime%20desc |
| count | integer | Number of items to get default : 20 minimum : 1 maximum : 200 example : 20 format : int32 |
| cursor | string | Cursor example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== allowReserved : false |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| trashFiles | array (TrashFile) | Trashed file information |
| responseMetaData | object (responseMetaData) | Response metadata |
| Property | Type | Description |
|---|---|---|
| deletedTime | string | Deletion date readOnly : true |
| deleteUser | string | Deleted by readOnly : true |
| fileName | string | File Name readOnly : true |
| fileSize | integer | File size format : int64 readOnly : true |
| fileType | string | File type
Allowed values : AUDIO, DOC, ETC, EXE, FOLDER, IMAGE, VIDEO, ZIP |
| originalPath | string | Original path readOnly : true |
| resourceLocation | integer | Resource location code format : int32 readOnly : true |
| trashFileId | string | Trashed file ID readOnly : true |
| modifiedTime | string | Update date readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination readOnly : true |
example
1{2 "trashFiles": [3 {4 "trashFileId": "MTQ1MDMwMDJ8MTQ1Mjk0NDU1Mjk3NnxGfDA",5 "fileName": "works.txt",6 "resourceLocation": 24101,7 "fileSize": 1048576,8 "fileType": "DOC",9 "originalPath": "/worksFolder/",10 "modifiedTime": "2021-08-14T11:06:39+09:00",11 "deletedTime": "2021-08-14T11:06:40+09:00",12 "deleteUser": "userf7da-f82c-4284-13e7-030f3b4c756x"13 }14 ],15 "responseMetaData": {16 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="17 }18}