# Show version

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/mobile_app/versions/{platform}/{version}:
    get:
      summary: Show version
      deprecated: false
      description: Show current version of the mobile app
      tags:
        - 'API Reference/Public API/Mobile App '
      parameters:
        - name: platform
          in: path
          description: ''
          required: true
          example: ios
          schema:
            type: string
            enum:
              - ios
              - android
            x-apidog-enum:
              - value: ios
                name: ''
                description: ''
              - value: android
                name: ''
                description: ''
        - name: version
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
            pattern: \A\d+(\.\d+)*\z
            examples:
              - 1.2.3
              - '1.1'
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
        - name: X-Locale
          in: header
          description: Desired content language. [Details](doc-341959)
          required: false
          example: '{{LOCALE}}'
          schema:
            type: string
            default: '{{LOCALE}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
              x-apidog-orders: []
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  version:
                    type: object
                    properties:
                      version:
                        type: string
                        examples:
                          - 1.1.2
                          - '2.2'
                        pattern: \b\d+(?:\.\d+)+\b
                      url:
                        type: string
                        x-apidog-mock: '{{$image.url}}'
                      title:
                        type: string
                      message:
                        type: string
                        nullable: true
                      confirm_button:
                        type: string
                      cancel_button:
                        type: string
                    x-apidog-orders:
                      - version
                      - url
                      - title
                      - message
                      - confirm_button
                      - cancel_button
                    x-apidog-refs: {}
                    required:
                      - version
                      - url
                      - title
                      - confirm_button
                      - cancel_button
                    nullable: true
                  current:
                    type: boolean
                    description: >-
                      information if app run latest version (true if no version
                      found or app runs latetes version)
                  forced:
                    type: boolean
                    description: information if update should be enforced
                  active:
                    type: boolean
                    description: if version is active for update
                x-apidog-orders:
                  - current
                  - active
                  - forced
                  - version
                required:
                  - version
                  - current
                  - forced
                  - active
              example:
                current: false
                active: true
                forced: false
                version:
                  version: '2.2'
                  url: https://picsum.photos/seed/SFLRmJhH3/622/2115
                  title: foodstuffs from euphonium into pish
                  message: >-
                    Minus sufficio dedecor. Supplanto careo defero peccatus.
                    Cruciamentum nostrum pectus apud terga degusto.
                  confirm_button: Ok
                  cancel_button: Skip
          headers: {}
          x-apidog-name: Success
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  details:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: 'See: [Params Validation](doc-341637)'
                    additionalProperties: true
                  error:
                    type: string
                    examples:
                      - Invalid parameters
                    const: Invalid parameters
                required:
                  - details
                  - error
                x-apidog-orders:
                  - error
                  - details
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: 'API Reference/Public API/Mobile App '
      x-apidog-status: pending
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4424960-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```