Metagame: getMetagameConfig

Requires authorization

Return the metagame configuration data for the calling application. Try it now.

Request

HTTP request

GET https://www.googleapis.com/games/v1/metagameConfig

Parameters

Parameter name Value Description
Optional query parameters
consistencyToken long The last-seen mutation timestamp.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/games

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.

Send feedback about...

Play Games Services for Web
Play Games Services for Web