為目前已驗證的使用者擷取限定範圍的玩家 ID。
HTTP 要求
GET https://games.googleapis.com/games/v1/players/me/scopedIds
要求主體
要求主體必須為空白。
回應主體
限定範圍的玩家 ID。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 | 
|---|
| { "gamePlayerId": string, "developerPlayerKey": string } | 
| 欄位 | |
|---|---|
| gamePlayerId | 
 遊戲範圍內的玩家 ID。這個 ID 與 Player.get gamePlayerId 欄位傳回的 ID 相同。 | 
| developerPlayerKey | 
 指定開發人員所有遊戲的玩家 ID。同一開發人員的所有遊戲中,每位玩家都擁有相同的 developerPlayerKey。如果遊戲轉移給其他開發人員,開發人員參考用玩家的主要遊戲就會改變。請注意,gamePlayerId 不會變更。 | 
授權範圍
需要下列其中一種 OAuth 範圍:
- https://www.googleapis.com/auth/games
- https://www.googleapis.com/auth/games_lite
詳情請參閱 OAuth 2.0 總覽。
