GET/groups/{groupId}/folder/files
組織/グループのルートフォルダのファイルリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
file
file.read
group.folder
group.folder.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | 組織/グループの ID (URL エンコードする)
required example : group127-8545-4463-603b-04d550d23bf |
| 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 |
|---|---|---|
| files | array (File) | ファイル情報 |
| responseMetaData | object (responseMetaData) | 応答のメタデータ |
| Property | Type | Description |
|---|---|---|
| accessedTime | string | アクセス日時 readOnly : true |
| createdTime | string | 作成日時 readOnly : true |
| fileId | string | ファイル ID readOnly : true |
| parentFileId | string | 親ファイル ID readOnly : true |
| fileName | string | ファイル名 readOnly : true |
| fileSize | integer | ファイルサイズ format : int64 readOnly : true |
| filePath | string | ファイルパス readOnly : true |
| fileType | string | ファイルタイプ
Allowed values : AUDIO, DOC, ETC, EXE, FOLDER, IMAGE, VIDEO, ZIP |
| hasPermission | boolean | アクセス権限有りフラグ readOnly : true |
| permissionRootFileId | string | アクセス権限ルートファイル ID readOnly : true nullable : true |
| shared | boolean | 共有状態 readOnly : true nullable : false |
| shareRootFileId | string | 共有したフォルダのルートフォルダ ID readOnly : true nullable : true |
| resourceLocation | integer | リソースロケーションコード format : int32 readOnly : true |
| statuses | array (ENUM_FileStatus) | ファイルステータス
|
| modifiedTime | string | 更新日時 readOnly : true |
| Property | Type | Description |
|---|---|---|
| ENUM_FileStatus | string | ファイルステータス
Allowed values : LOCKED, MALWARE, PROTECTED, IN_PROGRESS |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 readOnly : true |
example
1{2 "files": [3 {4 "fileId": "QDIxMDAwMDAwMDAwMTcwfDExODE1MDg3MzQ0NzJ8RHww",5 "parentFileId": "QDIxMDAwMDAwMDAwMTcwfDExNzgyODY2MjgxMDR8RHww",6 "resourceLocation": 24101,7 "fileSize": 10,8 "fileName": "works.txt",9 "filePath": "/GroupName/works.txt",10 "fileType": "DOC",11 "createdTime": "2020-11-13T18:20:05.05+09:00",12 "modifiedTime": "2021-04-05T21:14:05.05+09:00",13 "accessedTime": "2021-04-05T21:14:05.05+09:00",14 "statuses": [],15 "hasPermission": true,16 "permissionRootFileId": "QDIxMDAwMDAwMDAwMTcwfDExNzgyODY2MjgxMDR8RHww",17 "shared": false,18 "shareRootFileId": null19 },20 {21 "fileId": "NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA",22 "parentFileId": "QDIxMDAwMDAwMDAwMTcwfDExNzgyODY2MjgxMDR8RHww",23 "resourceLocation": 24101,24 "fileSize": 0,25 "fileName": "worksFolder",26 "filePath": "/GroupName/worksFolder/",27 "fileType": "FOLDER",28 "createdTime": "2020-11-13T18:20:05.05+09:00",29 "modifiedTime": "2021-04-05T21:14:05.05+09:00",30 "accessedTime": "2021-04-05T21:14:05.05+09:00",31 "statuses": [],32 "hasPermission": true,33 "permissionRootFileId": "QDIxMDAwMDAwMDAwMTcwfDExNzgyODY2MjgxMDR8RHww",34 "shared": false,35 "shareRootFileId": null36 }37 ],38 "responseMetaData": {39 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="40 }41}