GET/users/{userId}/drive/files/{fileId}/share-sub-folders
하위 공유 폴더 목록을 조회한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
file
file.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | 사용자 ID
required example : me |
| fileId | string | 파일 ID required example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| shareSubFolders | array (object) |
| Property | Type | Description |
|---|---|---|
| sharedFolderId | string | 초대받은 폴더 ID readOnly : true |
| sharedFolderName | string | 초대받은 폴더 이름 readOnly : true |
| rootFileId | string | 루트 파일 ID readOnly : true |
example
1{2 "shareSubFolders": [3 {4 "sharedFolderId": "MzAyNjY0OTNfRF8yMjcxMTQxNDYzMDUy",5 "sharedFolderName": "name",6 "rootFileId": "MzAyNjY0OTN8MjI3MTE0MTQ2MzA1MnxEfDA"7 }8 ]9}Invalid parameters received.
Resource does not exist.