POST/groups/{groupId}/folder/files/{fileId}/copy
組織/グループのファイルをコピーする。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
group.folder
file
| Parameter | Type | Description |
|---|---|---|
| groupId | string | 組織/グループの ID (URL エンコードする)
required example : group127-8545-4463-603b-04d550d23bf |
| fileId | string | ファイル ID required example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| toParentFileId | string | コピー先の親ファイル ID required |
example
1{2 "toParentFileId": "NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA"3}OK
| 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 |
example
1{2 "fileId": "QDIxMDAwMDAwMDAwMTcwfDExODE1MDg3MzQ0NzJ8RHww",3 "parentFileId": "QDIxMDAwMDAwMDAwMTcwfDExNzgyODY2MjgxMDR8RHww",4 "resourceLocation": 24101,5 "fileSize": 10,6 "fileName": "works.txt",7 "filePath": "/worksFolder/mobile/",8 "fileType": "DOC",9 "createdTime": "2020-11-13T18:20:05.05+09:00",10 "modifiedTime": "2021-04-05T21:14:05.05+09:00",11 "accessedTime": "2021-04-05T21:14:05.05+09:00",12 "statuses": [],13 "hasPermission": false,14 "permissionRootFileId": null,15 "shared": false,16 "shareRootFileId": null17}