Google Play Game Services (games:v1)

2024-06-20

2 new methods

Additions

    Methods
  • games.accesstokens.generatePlayGroupingApiToken

      Path: games/v1/accesstokens/generatePlayGroupingApiToken

      Flat Path: games/v1/accesstokens/generatePlayGroupingApiToken

      HTTP Method: POST

      Parameters:

        packageName

          Description: Required. App package name to generate the token for (e.g. com.example.mygame).

          Location: query

          Type: string

        persona

          Description: Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.

          Location: query

          Type: string

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

      Description: Generates a Play Grouping API token for the PGS user identified by the attached credential.

  • games.accesstokens.generateRecallPlayGroupingApiToken

      Path: games/v1/accesstokens/generateRecallPlayGroupingApiToken

      Flat Path: games/v1/accesstokens/generateRecallPlayGroupingApiToken

      HTTP Method: POST

      Parameters:

        packageName

          Description: Required. App package name to generate the token for (e.g. com.example.mygame).

          Location: query

          Type: string

        persona

          Description: Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.

          Location: query

          Type: string

        recallSessionId

          Description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. See https://developer.android.com/games/pgs/recall/recall-setup on how to integrate with Recall and get session ID.

          Location: query

          Type: string

      Scopes: https://www.googleapis.com/auth/androidpublisher

      Description: Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.