ゴミ箱のファイルリスト照会
ゴミ箱内にあるファイルリストを閲覧します。
Request URL
https://apis.worksmobile.com/r/{API ID}/drive/rl/{resourceLocation}/v2/recycle-files
HTTP Method
GET
Request
Path Parameters
パラメータ | タイプ | 必須 | 説明 |
---|---|---|---|
resourceLocation | Integer | Y | 削除されてゴミ箱にあるリソースのロケーションコード |
Query Parameters
パラメータ | タイプ | 必須 | 既定値 | 説明 |
---|---|---|---|---|
groupId | String | N | (グループフォルダのゴミ箱のみ)グループフォルダ ID | |
sort | String | N | name | 整列基準 ● fileType: ファイルタイプ ● name: 名前 ● path: ファイルパス ● delete: 削除日 |
order | String | N | asc | 整列順 ● asc: 昇順 ● desc: 降順 |
offset | Integer | N | 0 | 照会結果のインデックス開始番号 |
limit | Integer | N | 20 | (最大)照会数 |
Request Body
なし
Request Example
GET https://apis.worksmobile.com/r/{API ID}/drive/rl/24101/v2/recycle-files?offset=1&limit=3&sort=fileType
Response
プロパティ | タイプ | 必須 | 説明 |
---|---|---|---|
hasMore | Boolean | Y | このリスト以降のファイルの有無 |
offset | Long | Y | リソース開始番号 |
items | List < RecycleFile > | Y | リソースリスト |
Response Example
{
"offset": 1,
"hasMore": true,
"items": [
{
"resourceName": "新しいフォルダ(1)",
"resourceSize": 0,
"resourceKey": "MTQ1MDMwMDJ8ODk0NTk0ODU4NTA0fER8MA",
"resourceLocation": 24101,
"resourceType": "folder",
"originalPath": "/#リアルワークスDrive/",
"updateDate": 1576551062000,
"deleteDate": 1576551074000,
"hasThumbnail": false,
"deleteAccountId": "admin@example.com"
},
{
"resourceName": "仕事",
"resourceSize": 0,
"resourceKey": "MTQ1MDMwMDJ8ODcyOTM1NzMxOTc2fER8MA",
"resourceLocation": 24101,
"resourceType": "folder",
"originalPath": "/#upload test/",
"updateDate": 1574242630000,
"deleteDate": 1574242633000,
"hasThumbnail": false,
"deleteAccountId": "admin@example.com"
},
{
"resourceName": "1110",
"resourceSize": 0,
"resourceKey": "MTQ1MDMwMDJ8ODcyNzg1NTc5Nzg0fER8MA",
"resourceLocation": 24101,
"resourceType": "folder",
"originalPath": "/12343/",
"updateDate": 1574229298000,
"deleteDate": 1574229520000,
"hasThumbnail": false,
"deleteAccountId": "admin@example.com"
}
]
}