> ## 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.

# Releases you can see, newest first



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{owner}/{slug}/releases
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:
    get:
      tags:
        - Releases
      summary: Releases you can see, newest first
      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: integer
            minimum: 1
            maximum: 100
            default: 20
          required: false
          name: limit
          in: query
        - schema:
            type: string
            maxLength: 500
            description: The next_cursor from the previous page
          required: false
          description: The next_cursor from the previous page
          name: cursor
          in: query
      responses:
        '200':
          description: A page of releases
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleasePage'
        '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:
    ReleasePage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Release'
        next_cursor:
          type:
            - string
            - 'null'
      required:
        - data
        - next_cursor
    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.