GET/sharedrives/{sharedriveId}/trash-files
共有ドライブのゴミ箱のファイルリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
file
file.read
| Parameter | Type | Description |
|---|---|---|
| sharedriveId | string | 共有ドライブ ID (URL エンコードする) required example : @2101000000000008 |
| Parameter | Type | Description |
|---|---|---|
| orderBy | string | ソート対象や順番は空白 (%20) で区分
example : createdTime%20desc |
| count | integer | 取得数 default : 20 minimum : 1 maximum : 200 example : 20 format : int32 |
| cursor | string | リストのカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== allowReserved : false |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| trashFiles | array (TrashFile) | ゴミ箱のファイル情報 |
| responseMetaData | object (responseMetaData) | 応答のメタデータ |
| Property | Type | Description |
|---|---|---|
| deletedTime | string | 削除日時 readOnly : true |
| deleteUser | string | 削除ユーザーのユーザー ID (userId) readOnly : true |
| fileName | string | ファイル名 readOnly : true |
| fileSize | integer | ファイルサイズ format : int64 readOnly : true |
| fileType | string | ファイルタイプ
Allowed values : AUDIO, DOC, ETC, EXE, FOLDER, IMAGE, VIDEO, ZIP |
| originalPath | string | 削除前のパス readOnly : true |
| resourceLocation | integer | リソースロケーションコード format : int32 readOnly : true |
| trashFileId | string | 削除ファイル ID readOnly : true |
| modifiedTime | string | 更新日時 readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 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.39+09:00",11 "deletedTime": "2021-08-14T11:06:40.40+09:00",12 "deleteUser": "userf7da-f82c-4284-13e7-030f3b4c756x"13 },14 {15 "trashFileId": "MTEwMDAyNTA0NjQ1ODQ5fDM0NzI0NzM3OTg1ODg1NDgzNjB8Rnww",16 "fileName": "DeletedFolder",17 "resourceLocation": 24101,18 "fileSize": 0,19 "fileType": "FOLDER",20 "originalPath": "/",21 "modifiedTime": "2021-08-14T11:06:39.39+09:00",22 "deletedTime": "2021-08-14T11:06:40.40+09:00",23 "deleteUser": "userf7da-f82c-4284-13e7-030f3b4c756x"24 }25 ],26 "responseMetaData": {27 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="28 }29}