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

# Your projects, drafts included, newest first

> Projects of every org you belong to, each with its newest release in any status.



## OpenAPI

````yaml /api-reference/openapi.json get /me/projects
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:
  /me/projects:
    get:
      tags:
        - Account
      summary: Your projects, drafts included, newest first
      description: >-
        Projects of every org you belong to, each with its newest release in any
        status.
      parameters:
        - 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 projects
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MyProjectPage'
        '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'
      security:
        - bearer: []
components:
  schemas:
    MyProjectPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/MyProject'
        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
    MyProject:
      allOf:
        - $ref: '#/components/schemas/Project'
        - type: object
          properties:
            latest_version:
              $ref: '#/components/schemas/LatestVersion'
          required:
            - latest_version
    Project:
      type: object
      properties:
        id:
          type: string
          format: uuid
        owner:
          type: string
        slug:
          type: string
        handle:
          type: string
          example: patch/demo-mod
        name:
          type: string
        summary:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        kind:
          type:
            - string
            - 'null'
          enum:
            - web_game
            - mod
            - crossover_mod
            - remix
            - null
          description: Derived from the latest published release
        status:
          type: string
          enum:
            - active
            - archived
            - removed
        cover_url:
          type:
            - string
            - 'null'
        min_players:
          type:
            - integer
            - 'null'
        max_players:
          type:
            - integer
            - 'null'
        source_visibility:
          type: string
          enum:
            - open_source
            - source_available
            - source_private
          description: >-
            open_source: anyone can read and fork it. source_available:
            readable, no forks. source_private: shared with reviewers only.
        code_license:
          type: string
          maxLength: 64
          pattern: ^[A-Za-z0-9][A-Za-z0-9.+-]*$
          example: MIT
          description: License of the code; defaults to MIT
        art_license:
          type: string
          maxLength: 64
          pattern: ^[A-Za-z0-9][A-Za-z0-9.+-]*$
          example: MIT
          description: License of original art and other assets; defaults to CC-BY-4.0
        links:
          type: object
          properties:
            discord:
              type: string
              maxLength: 300
              example: https://discord.gg/patch
            x:
              type: string
              maxLength: 300
              example: https://x.com/patchgg
            telegram:
              type: string
              maxLength: 300
              example: https://t.me/patchgg
            youtube:
              type: string
              maxLength: 300
              example: https://youtube.com/@patchgg
            twitch:
              type: string
              maxLength: 300
              example: https://twitch.tv/patchgg
            github:
              type: string
              maxLength: 300
              example: https://github.com/patchgg/demo-mod
        host_games:
          type: array
          items:
            type: object
            properties:
              slug:
                type: string
              name:
                type: string
              role:
                type: string
                enum:
                  - host
                  - companion
                  - related
                description: >-
                  host: the game it plays in. companion: another game it needs
                  on the player's PC. related: a game it's only related to.
            required:
              - slug
              - name
              - role
        latest_release:
          type:
            - object
            - 'null'
          properties:
            version:
              type: string
            channel:
              type: string
            published_at:
              type:
                - string
                - 'null'
            trust_tier:
              type: string
              enum:
                - sandboxed
                - game_files_only
                - runs_code
              description: >-
                What the release can do on the player's PC, worked out from its
                recipe and files: runs sandboxed in Patch, changes game files
                only, or runs code. Drives the consent sheet and review.
          required:
            - version
            - channel
            - published_at
            - trust_tier
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - owner
        - slug
        - handle
        - name
        - summary
        - description
        - kind
        - status
        - cover_url
        - min_players
        - max_players
        - source_visibility
        - code_license
        - art_license
        - links
        - host_games
        - latest_release
        - created_at
        - updated_at
    LatestVersion:
      type:
        - object
        - 'null'
      properties:
        version:
          type: string
        status:
          type: string
          enum:
            - draft
            - checking
            - testing
            - cloud_review
            - in_review
            - published
            - rejected
            - yanked
            - quarantined
          description: >-
            draft, then checking (file checks). A browser game is testing until
            a test on its creator's PC passes, then cloud_review, then
            published. A mod goes to cloud_review, then in_review (a staff
            member), then published. Any step can end in rejected.
        channel:
          type: string
          enum:
            - dev
            - private
            - unlisted
            - public
        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, worked out from its
            recipe and files: runs sandboxed in Patch, changes game files only,
            or runs code. Drives the consent sheet and review.
        created_at:
          type: string
        submitted_at:
          type:
            - string
            - 'null'
        published_at:
          type:
            - string
            - 'null'
      required:
        - version
        - status
        - channel
        - kind
        - trust_tier
        - created_at
        - submitted_at
        - published_at
      description: The newest release in any status, drafts included
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An API key (pch_...) or the token from pch login.

````

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