授予使用者指定套件的存取權。
HTTP 要求
POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*/users/*}/grants
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
parent |
必要欄位。需要權限的使用者。格式:developer/{developer}/users/{user} |
要求主體
要求主體包含 Grant
的例項。
回應主體
如果成功,回應主體會包含新建立的 Grant
例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher