Method: metagame.getMetagameConfig

Return the metagame configuration data for the calling application.

HTTP request

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

Request body

The request body must be empty.

Response body

The metagame config resource

If successful, the response body contains data with the following structure:

JSON representation
{
  "currentVersion": integer,
  "playerLevels": [
    {
      object (PlayerLevel)
    }
  ],
  "kind": string
}
Fields
currentVersion

integer

Current version of the metagame configuration data. When this data is updated, the version number will be increased by one.

playerLevels[]

object (PlayerLevel)

The list of player levels.

kind

string

Uniquely identifies the type of this resource. Value is always the fixed string games#metagameConfig.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/games
  • https://www.googleapis.com/auth/games_lite

For more information, see the OAuth 2.0 Overview.