此要求提供的驗證權杖適用於具有指定 ID 的應用程式,並傳回獲得該 ID 的玩家 ID。
HTTP 要求
GET https://games.googleapis.com/games/v1/applications/{applicationId}/verify
路徑參數
| 參數 | |
|---|---|
| applicationId | 
 Google Play 管理中心提供的應用程式 ID。 | 
要求主體
要求主體必須為空白。
回應主體
第三方應用程式驗證回應資源。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 | 
|---|
| { "player_id": string, "alternate_player_id": string, "kind": string } | 
| 欄位 | |
|---|---|
| player_id | 
 核發此請求所用驗證權杖的玩家 ID。 | 
| alternate_player_id | 
 系統曾為核發此請求中所用驗證權杖的玩家使用的替代 ID。(這個欄位通常不會填入)。 | 
| kind | 
 專門用於識別這項資源的類型。值一律為固定字串  | 
授權範圍
需要下列其中一種 OAuth 範圍:
- https://www.googleapis.com/auth/games
- https://www.googleapis.com/auth/games_lite
詳情請參閱 OAuth 2.0 總覽。
