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

# Get App Version

> Returns a single app version by its unique id.



## OpenAPI

````yaml Get /v1/apps/{packageName}/versions/{versionId}
openapi: 3.1.0
info:
  title: ManageXR API
  description: API documentation for ManageXR
  version: 1.0.0
servers:
  - url: https://managexrapi.com
    description: ManageXR API Server
security:
  - basicAuth: []
paths:
  /v1/apps/{packageName}/versions/{versionId}:
    get:
      summary: Get app version
      description: Returns a single app version by its unique id.
      parameters:
        - name: packageName
          in: path
          required: true
          schema:
            type: string
          description: The package name of the app
        - name: versionId
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the app version
        - name: organizationId
          in: query
          required: false
          schema:
            type: string
          description: >
            Unique identifier of the organization. This parameter is only
            necessary when using multi-organization API keys.


            Defaults to the organizationId associated with the API key.
      responses:
        '200':
          description: The requested app version
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      files:
                        type: array
                        description: >-
                          Full list of files this app version deploys. Returned
                          only by this single-version endpoint; multi-app
                          responses (the versions list, configurations, and
                          release-channel lists) return fileCount instead.
                        items:
                          $ref: '#/components/schemas/V1ManagedFile'
                      id:
                        type: string
                        description: Unique identifier of the app version
                        example: av_123
                      type:
                        type: string
                        enum:
                          - managed
                          - shared
                          - external
                          - instant
                        description: Type of the app version
                        example: managed
                      configurationDeployments:
                        type: object
                        description: >-
                          Map of configuration ids to device count using
                          application
                        example:
                          config_123: 1
                          config_456: 0
                      createdAt:
                        type: number
                        description: Creation timestamp
                        example: 1645615777448
                      updatedAt:
                        type: number
                        description: Last update timestamp
                        example: 1687352117203
                      versionCode:
                        type: number
                        description: Version code of the app
                        example: 83894522
                      versionName:
                        type: string
                        description: Version name of the app
                        example: 8.7.8.1206
                      versionLabel:
                        type: string
                        description: Label for uniqueness among app versions
                        example: Quest
                      apkSize:
                        type: number
                        description: Size of the APK file in bytes
                        example: 72633861
                      obbSize:
                        type: number
                        description: Size of the OBB file in bytes
                        example: 1024
                      selfHosted:
                        type: boolean
                        description: Whether the app is self-hosted
                        example: true
                      apkUrl:
                        type: string
                        description: URL of the APK file (self-hosted apps only)
                        example: https://storage.example.com/apps/com.example.app.apk
                      obbUrl:
                        type: string
                        description: URL of the OBB file (self-hosted apps only)
                        example: https://storage.example.com/apps/com.example.app.obb
                      sharingOrganizationName:
                        type: string
                        description: >-
                          Name of the organization sharing the app (shared apps
                          only)
                        example: XR Developer
                      releaseChannelName:
                        type: string
                        description: Name of the release channel (shared apps only)
                        example: Production
              example:
                data:
                  id: av_123
                  type: managed
                  configurationDeployments:
                    config_123: 1
                    config_456: 0
                  createdAt: 1645615777448
                  updatedAt: 1687352117203
                  versionCode: 83894522
                  versionName: 8.7.8.1206
                  versionLabel: Quest
                  apkSize: 72633861
                  obbSize: 1024
                  selfHosted: true
                  apkUrl: https://storage.example.com/apps/com.example.app.apk
                  obbUrl: https://storage.example.com/apps/com.example.app.obb
        '404':
          description: App version not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 404
                  message:
                    type: string
                    example: >-
                      App version av_123 not found for packageName
                      com.example.app
                  error:
                    type: string
                    example: ManageXR Error
              example:
                statusCode: 404
                message: App version av_123 not found for packageName com.example.app
                error: ManageXR Error
components:
  schemas:
    V1ManagedFile:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the file
          example: DLO133U5NFLMAL1
        url:
          type: string
          format: uri
          description: >-
            Direct URL to download the file. If hosted on ManageXR, the link
            will begin with `gs://`. If self-hosted, it will be the url you
            supplied when creating the file.
          example: >-
            gs://mighty-platform-prod/organizations/GMrDmBCRcUm4bf61nqH2/files/e75058f2-ee65-4a79-802e-b97af54b6b26
        name:
          type: string
          description: Name of the file, including extension
          example: main_assets_all.bundle
        size:
          type: number
          description: Size of the file in bytes
          example: 1204975930
        md5:
          type: string
          description: MD5 hash of the file for integrity verification
          example: 7ah69cMtXyaz5OfsCRtOjQ==
        description:
          type: string
          description: Optional description of the file's contents or purpose
          example: Content bundle for training app
        libraryDirectoryPath:
          type: string
          description: >-
            Path to the file in the Library > Files section of ManageXR. A
            libraryDirectoryPath of "/" indicates that it is at the root of the
            Files library.
          example: /
      example:
        id: DLO133U5NFLMAL1
        url: >-
          https://storage.googleapis.com/managexr-files/org_456/files/file_123abc.mp4
        name: main_assets_all.bundle
        size: 1204975930
        md5: 7ah69cMtXyaz5OfsCRtOjQ==
        description: Content bundle for training app
        libraryDirectoryPath: /
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >
        API key based authentication where <encoded-value> is the Base64
        encoding of `API_KEY_ID`:`API_KEY_SECRET`

        - **Username**: The API Key ID.

        - **Password**: The API Key Secret.

````