取得目前使用者資訊和 Drive API 設定
HTTP 要求
GET https://www.googleapis.com/drive/v2/about
這個網址使用 gRPC 轉碼語法。
查詢參數
參數 | |
---|---|
includeSubscribed |
是否要計算「我的雲端硬碟」階層以外的變更。如果設為 false, |
maxChangeIdCount |
要計算的剩餘變更 ID 數量上限 |
startChangeId |
變更 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
部分權限受限制,應用程式必須通過安全性評估才能使用。詳情請參閱授權指南。