GET/sharedrives/{sharedriveId}/permissions/{permissionId}
共有ドライブの権限を取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
file
file.read
| Parameter | Type | Description |
|---|---|---|
| sharedriveId | string | 共有ドライブ ID (URL エンコードする) required example : @2101000000000008 |
| permissionId | string | アクセス権限 ID required example : QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| 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 "permissionId": "QDIxMDAwMDAwMDAwMTcwfEdST1VQfDEwMTAwMDAwMDExNDY1MA",3 "type": "WRITE",4 "userId": "group127-8545-4463-603b-04d550d23bf",5 "userType": "GROUP",6 "userName": "グループ1"7}