> ## 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 repo's forks

> The forks you can reach, at most 100: first your orgs' own, whatever their visibility, then everyone else's open ones, each newest first. Yours say `yours`, so this finds your fork of a repo. Anyone else's fork is quiet until it has a public release: it's left out here, as it is from `fork_count` and from search, though its own page and repo are where they were.



## OpenAPI

````yaml /api-reference/openapi.json get /projects/{owner}/{slug}/repo/forks
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}/repo/forks:
    get:
      tags:
        - Repos
      summary: A repo's forks
      description: >-
        The forks you can reach, at most 100: first your orgs' own, whatever
        their visibility, then everyone else's open ones, each newest first.
        Yours say `yours`, so this finds your fork of a repo. Anyone else's fork
        is quiet until it has a public release: it's left out here, as it is
        from `fork_count` and from search, though its own page and repo are
        where they were.
      parameters:
        - schema:
            type: string
            example: patch
          required: true
          name: owner
          in: path
        - schema:
            type: string
            example: demo-mod
          required: true
          name: slug
          in: path
      responses:
        '200':
          description: The forks
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        repo:
                          type: string
                          description: owner/slug
                          example: kai/demo-mod
                        name:
                          type: string
                        visibility:
                          type: string
                          enum:
                            - open
                            - closed_source
                            - private
                          description: >-
                            Who can reach the project's repo. open: anyone can
                            find it, read it and fork it. closed_source: anyone
                            can find and play what it releases; only its org
                            reads the source. private: only its org can find it,
                            and anyone else gets a 404. It isn't locked: the
                            game host serves a published browser game to anyone
                            who has its address.
                        created_at:
                          type: string
                          format: date-time
                        yours:
                          type: boolean
                          description: >-
                            Whether it's of an org you're in. Yours are listed
                            before their first public release too.
                      required:
                        - repo
                        - name
                        - visibility
                        - created_at
                        - yours
                required:
                  - data
        '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'
        '429':
          description: >-
            Too many requests: wait as long as `Retry-After` says
            (`retry_after_s` in `details`), then retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: version_exists
            message:
              type: string
            details: {}
          required:
            - code
            - message
      required:
        - error

````

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