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

# Edit a project's listing and source settings

> Members of the owning org and staff. Fields you leave out stay as they are; send null to clear summary or description.



## OpenAPI

````yaml /api-reference/openapi.json patch /projects/{owner}/{slug}
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}:
    patch:
      tags:
        - Projects
      summary: Edit a project's listing and source settings
      description: >-
        Members of the owning org and staff. Fields you leave out stay as they
        are; send null to clear summary or description.
      parameters:
        - schema:
            type: string
            example: patch
          required: true
          name: owner
          in: path
        - schema:
            type: string
            example: demo-mod
          required: true
          name: slug
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                summary:
                  type:
                    - string
                    - 'null'
                  maxLength: 300
                description:
                  type:
                    - string
                    - 'null'
                  maxLength: 20000
                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
                art_license:
                  type: string
                  maxLength: 64
                  pattern: ^[A-Za-z0-9][A-Za-z0-9.+-]*$
                  example: MIT
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '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'
      security:
        - bearer: []
components:
  schemas:
    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
        host_games:
          type: array
          items:
            type: object
            properties:
              slug:
                type: string
              name:
                type: string
              role:
                type: string
                enum:
                  - host
                  - source
            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, derived from its
                manifest: 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
        - host_games
        - latest_release
        - created_at
        - updated_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: version_exists
            message:
              type: string
            details: {}
          required:
            - code
            - message
      required:
        - error
  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.