GET/users/{userId}/drive/sharedfolders
초대받은 폴더 목록을 조회한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
file
file.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | 사용자 ID
required example : me |
| Parameter | Type | Description |
|---|---|---|
| count | integer | 조회 개수 default : 20 minimum : 1 maximum : 200 example : 20 format : int32 |
| cursor | string | 커서값 example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== allowReserved : false |
| orderBy | string | 정렬 방법. 정렬 항목과 순서를 공백(%20)으로 구분하여 입력한다. 예) createdTime%20desc
example : createdTime%20desc |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| responseMetaData | object (responseMetaData) | 응답 메타데이터 |
| result | array (object) |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 다음 목록 조회 시 사용하는 커서값 readOnly : true |
| Property | Type | Description |
|---|---|---|
| sharedFolderId | string | 초대받은 폴더 ID readOnly : true |
| sharedFolderName | string | 초대받은 폴더 이름 readOnly : true |
| ownerId | string | 소유자 ID readOnly : true |
| ownerName | string | 소유자 이름 readOnly : true |
| rootFileId | string | 루트 파일 ID readOnly : true |
| createdTime | string | 생성 시간 format : date-time readOnly : true |
| modifiedTime | string | 수정 시간 format : date-time readOnly : true |
| resourceLocation | integer | 리소스 위치 코드 format : int32 readOnly : true |
| permissionType | string | 편집 권한
Allowed values : READ, WRITE |
| useRevision | boolean | 버전 사용 여부 readOnly : true |
| protected | boolean | 중요 표시 여부 readOnly : true |
example
1{2 "responseMetaData": {3 "nextCursor": "TlRnd09UQXdORjlFWHprek9Ea3lPRFUyTWpRek5nfGRlIHdhbnRzIHRvIHNoYXJl"4 },5 "sharedFolders": [6 {7 "sharedFolderId": "NTgwOTAwNF9EXzkzODkyODU2MjQzNg",8 "sharedFolderName": "share",9 "ownerId": "userf7da-f82c-4284-13e7-030f3b4c756x",10 "ownerName": "ownerName",11 "rootFileId": "NTgwOTAwNHw5Mzg5Mjg1NjI0MzZ8RHwxNzQ",12 "createdTime": "2023-07-06T16:27:28+09:00",13 "modifiedTime": "2023-07-06T16:27:28+09:00",14 "resourceLocation": 11551,15 "permissionType": "WRITE",16 "useRevision": true,17 "protected": false18 }19 ]20}