> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summerengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the collected lifetime Play total for a public Game

> Missing or unavailable projection is explicit; total is null, never a fabricated zero.



## OpenAPI

````yaml scripts/reference/sources/openapi/player.json GET /v1/store/games/{gameId}/play-total
openapi: 3.1.0
info:
  title: Summer Player Game Platform API
  version: summer.player.games/v1
  description: >-
    Public Summer Games store reads, the connected-app OAuth endpoints, and the
    signed-in player's profile and preferences.
servers:
  - url: https://api.summer.games
security:
  - playerBearer: []
paths:
  /v1/store/games/{gameId}/play-total:
    get:
      tags:
        - Telemetry
      summary: Read the collected lifetime Play total for a public Game
      description: >-
        Missing or unavailable projection is explicit; total is null, never a
        fabricated zero. Existing data starts at collectionStart.
      operationId: readPublicPlayTotal
      parameters:
        - name: gameId
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/OpaqueID'
      responses:
        '200':
          description: Available projection or explicit unavailable state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicPlayTotal'
        default:
          description: Ineligible Game, invalid input, or rate limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControlAnalyticsError'
      security: []
components:
  schemas:
    OpaqueID:
      type: string
      minLength: 1
      maxLength: 256
      pattern: ^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$
    PublicPlayTotal:
      type: object
      additionalProperties: false
      required:
        - status
        - total
        - collectionStart
        - asOf
      properties:
        status:
          type: string
          enum:
            - available
            - unavailable
        total:
          type:
            - integer
            - 'null'
          minimum: 0
        collectionStart:
          type:
            - string
            - 'null'
          format: date-time
        asOf:
          type:
            - string
            - 'null'
          format: date-time
    ControlAnalyticsError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            requestId:
              type: string
            eventIndex:
              type: integer
              minimum: 0
              maximum: 99
  securitySchemes:
    playerBearer:
      type: http
      scheme: bearer
      description: >-
        A player access token. Store reads need no token. Other apps get a token
        through connected-app OAuth: register the client, let the player approve
        it on summer.games, then exchange the code at the token endpoint.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.