Revisions: check

Requires authorization

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.
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#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.

Enviar comentarios sobre…

Play Games Services for Web
Play Games Services for Web