GET/groups/{groupId}/folder/files/{fileId}/permissions
組織/グループのフォルダアクセス権限リストを取得する。
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 |
| fileId | string | ファイル ID required example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| permissions | array (FolderPermission) | 権限情報 |
| Property | Type | Description |
|---|---|---|
| permissionId | string | アクセス権限 ID required minLength : 1 readOnly : true |
| type | string | 編集権限
required Allowed values : READ, WRITE |
| userId | string | ユーザー ID (userId) required minLength : 1 readOnly : true |
| userType | string | ユーザータイプ
required Allowed values : USER, ORGUNIT, GROUP |
| userName | string | ユーザー名 required minLength : 1 readOnly : true |
example
1{2 "permissions": [3 {4 "permissionId": "QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA",5 "type": "WRITE",6 "userId": "group127-8545-4463-603b-04d550d23bf",7 "userType": "GROUP",8 "userName": "グループ1"9 }10 ]11}