GET/sharedrives
공용 드라이브(공용 폴더) 목록을 조회한다.
참고 공용 공간의 차이는 공용 공간의 폴더 유형(공용 폴더, 메시지방 폴더, 초대받은 폴더)별 특징을 참고한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
file
file.read
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| sharedrives | array (ShareDrive) | 공유 드라이브 정보 |
| Property | Type | Description |
|---|---|---|
| accessDenies | array (ShareDriveAccessDeny) | 접근 제한 |
| createdTime | string | 생성 날짜 readOnly : true |
| description | string | 설명 |
| hasPermission | boolean | 특정 멤버에게 권한이 부여되었는지 여부 readOnly : true |
| accessibleRange | string | 접근 범위
Allowed values : TENANT, DOMAIN, MEMBER nullable : false |
| masters | array (ShareDriveMaster) | 마스터 |
| name | string | 이름 |
| quota | object (quota) | 용량 정보 readOnly : true |
| sharedriveId | string | 공용 드라이브 ID readOnly : true |
| permissionType | string | 편집 권한
Allowed values : READ, WRITE |
| Property | Type | Description |
|---|---|---|
| id | string | 접근 제한 ID |
| name | string | 접근 제한 이름 readOnly : true |
| type | string | 접근 제한 종류 Allowed values : user-type |
| Property | Type | Description |
|---|---|---|
| id | string | 마스터 사용자 ID |
| name | string | 마스터 사용자 이름 readOnly : true |
| Property | Type | Description |
|---|---|---|
| trash | integer | 휴지통 용량 format : int64 readOnly : true |
| used | integer | 사용 용량 format : int64 readOnly : true |
example
1{2 "sharedrives": [3 {4 "sharedriveId": "@2101000000000008",5 "name": "share drive",6 "description": "description here",7 "createdTime": "2020-12-16T19:40:15.15+09:00",8 "quota": {9 "used": 46426,10 "trash": 011 },12 "hasPermission": false,13 "masters": [14 {15 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",16 "name": "User Name"17 }18 ],19 "accessDenies": [20 {21 "type": "user-type",22 "id": "041b68d3-263a-4fbe-9bc5-0350c49d1c42",23 "name": "아르바이트"24 }25 ],26 "permissionType": "READ"27 }28 ]29}