Revisions: check

Checks whether the games client is out of date. Try it now.

Request

HTTP request

GET https://www.googleapis.com/games/v1/revisions/check

Parameters

Parameter name Value Description
Required query parameters
clientRevision string The revision of the client SDK used by your application. Format:
[PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are:
  • "ANDROID" - Client is running the Android SDK.
  • "IOS" - Client is running the iOS SDK.
  • "WEB_APP" - Client is running as a Web App.

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#revisionCheckResponse",
  "revisionStatus": string,
  "apiVersion": string
}
Property name Value Description Notes
kind string Uniquely identifies the type of this resource. Value is always the fixed string games#revisionCheckResponse.
revisionStatus string The result of the revision check.
Possible values are:
  • "OK" - The revision being used is current.
  • "DEPRECATED" - There is currently a newer version available, but the revision being used still works.
  • "INVALID" - The revision being used is not supported in any released version.


Acceptable values are:
  • "DEPRECATED"
  • "INVALID"
  • "OK"
  • "UNKNOWN_REVISION_STATUS"
apiVersion string The version of the API this client revision should use when calling API methods.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.