Return the metagame configuration data for the calling application. Try it now.
Request
HTTP request
GET https://www.googleapis.com/games/v1/metagameConfig
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/games |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "games#metagameConfig", "currentVersion": integer, "playerLevels": [ { "kind": "games#playerLevel", "level": integer, "minExperiencePoints": long, "maxExperiencePoints": long } ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Uniquely identifies the type of this resource. Value is always the fixed string games#metagameConfig . |
|
currentVersion |
integer |
Current version of the metagame configuration data. When this data is updated, the version number will be increased by one. | |
playerLevels[] |
list |
The list of player levels. | |
playerLevels[].kind |
string |
Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel . |
|
playerLevels[].level |
integer |
The level for the user. | |
playerLevels[].minExperiencePoints |
long |
The minimum experience points for this level. | |
playerLevels[].maxExperiencePoints |
long |
The maximum experience points for this level. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.