Method: about.get
Drive API 설정과 함께 현재 사용자에 대한 정보를 가져옵니다.
HTTP 요청
GET https://www.googleapis.com/drive/v2/about
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
includeSubscribed |
boolean
내 드라이브 계층 구조 외부의 변경사항을 계산할지 여부입니다. false로 설정하면 내 드라이브에 추가되지 않은 애플리케이션 데이터 폴더 또는 공유 파일의 파일 변경사항을 maxChangeIdCount 에서 생략합니다.
|
maxChangeIdCount |
string (int64 format)
계산할 최대 변경 ID 수
|
startChangeId |
string (int64 format)
남아 있는 변경 ID 수를 계산할 때 계산을 시작하도록 ID를 변경합니다.
|
응답 본문
성공한 경우 응답 본문에 About
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.photos.readonly
https://www.googleapis.com/auth/drive.readonly
일부 범위가 제한되며 앱에서 사용하려면 보안 평가가 필요합니다. 자세한 내용은 승인 가이드를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-04(UTC)
[null,null,["최종 업데이트: 2024-09-04(UTC)"],[[["This API retrieves information about the current user and their Google Drive settings."],["It uses a simple `GET` request to `https://www.googleapis.com/drive/v2/about` with optional query parameters for change ID counts."],["The response provides an `About` object containing user and Drive details."],["Several OAuth scopes are available for authorization, some of which require security assessments for certain app uses."]]],["This document outlines how to retrieve information about the current user and Drive API settings. Use a `GET` request to the specified URL. The request accepts optional query parameters like `includeSubscribed`, `maxChangeIdCount`, and `startChangeId`, and requires an empty request body. A successful response returns an \"About\" instance. The operation needs authorization via specified OAuth scopes, some with restricted access, and details can be found in the authorization guide.\n"]]