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

# A release with its manifest, files and requirements



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{owner}/{slug}/releases/{version}
openapi: 3.1.0
info:
  title: Patch API
  version: 1.0.0
  description: >-
    The public API behind patch.gg, the desktop app and pch. Changes within v1
    are additive only. Errors are { error: { code, message, details } }; branch
    on code.
servers:
  - url: https://patch.gg/api/v1
security: []
paths:
  /projects/{owner}/{slug}/releases/{version}:
    get:
      tags:
        - Releases
      summary: A release with its manifest, files and requirements
      parameters:
        - schema:
            type: string
            example: patch
          required: true
          name: owner
          in: path
        - schema:
            type: string
            example: demo-mod
          required: true
          name: slug
          in: path
        - schema:
            type: string
            example: 0.1.0
          required: true
          name: version
          in: path
      responses:
        '200':
          description: The release
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseDetail'
        '308':
          description: Renamed; follow the Location header
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Not signed in
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ReleaseDetail:
      allOf:
        - $ref: '#/components/schemas/Release'
        - type: object
          properties:
            files:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  sha256:
                    type: string
                  size:
                    type: integer
                required:
                  - path
                  - sha256
                  - size
            requirements:
              type: array
              items:
                type: object
                properties:
                  game:
                    type: string
                  name:
                    type: string
                  role:
                    type: string
                    enum:
                      - host
                      - source
                  stores:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                  build_refs:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                required:
                  - game
                  - name
                  - role
                  - stores
                  - build_refs
          required:
            - files
            - requirements
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: version_exists
            message:
              type: string
            details: {}
          required:
            - code
            - message
      required:
        - error
    Release:
      type: object
      properties:
        id:
          type: string
          format: uuid
        project:
          type: string
        version:
          type: string
        channel:
          type: string
          enum:
            - dev
            - private
            - unlisted
            - public
        status:
          type: string
          enum:
            - draft
            - checking
            - in_review
            - published
            - rejected
            - yanked
            - quarantined
        kind:
          type: string
          enum:
            - web_game
            - mod
            - crossover_mod
            - remix
        trust_tier:
          type: string
          enum:
            - sandboxed
            - game_files_only
            - runs_code
          description: >-
            What the release can do on the player's PC, derived from its
            manifest: runs sandboxed in Patch, changes game files only, or runs
            code. Drives the consent sheet and review.
        changelog:
          type:
            - string
            - 'null'
        manifest:
          type: object
          additionalProperties: {}
        created_at:
          type: string
        submitted_at:
          type:
            - string
            - 'null'
        published_at:
          type:
            - string
            - 'null'
      required:
        - id
        - project
        - version
        - channel
        - status
        - kind
        - trust_tier
        - changelog
        - manifest
        - created_at
        - submitted_at
        - published_at

````

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