Copies the repo’s default branch into a new project of owner’s (an org you’re in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it’s all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don’t count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it’s there, and 503 fork_in_progress until then. The slug and name default to this project’s. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it’s forked, with its history, and only while it’s open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it’s forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can’t be forked here: fork it on GitHub.
Starts it private, so it's never open. Without it, a fork is as open as the repo it copies, unless it's made from a Patch Desktop chat, which starts it private
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.
For the repo's org. A repo that was open when its first push landed stays closed source until a scan of its history is clean, and then opens by itself, and so does an open repo that a later push closed by bringing a secret, or something Patch couldn't read. This says where that's got to. Null for anyone else, and for a repo that isn't waiting.
Whether you can read its source. When false, as for someone outside a closed source repo's org, head_commit, last_commit and readme are null, and its file, tree and commit reads answer 403 source_closed.
The pictures in a library repo's README, which Patch holds copies of, so a page can show them at their levels. Empty for any other repo, and for anyone who can't read its source.
Where its repo lives, where connecting GitHub is on (and only there): patch, or github once a GitHub repo is connected to it, whose files and commits stay on GitHub. clone_url is the same either way.
The GitHub repo that's its home, with home. Null on Patch, and for someone outside the project's org when the repo is private on GitHub.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Patch","description":"Patch (patch.gg) is where people and their coding agents make browser games and mods and publish them, and where players play them. Coding agents: set up with https://patch.gg/llms.txt.","colors":{"primary":"#000000","light":"#F53CD1","dark":"#000000"},"logo":{"light":"https://mintcdn.com/patch-b3bbfc3b/KgoraNtrAh08SBeG/logo/light.svg?fit=max\u0026auto=format\u0026n=KgoraNtrAh08SBeG\u0026q=85\u0026s=92d1677e86684225363eef76f8ec9763","dark":"https://mintcdn.com/patch-b3bbfc3b/KgoraNtrAh08SBeG/logo/light.svg?fit=max\u0026auto=format\u0026n=KgoraNtrAh08SBeG\u0026q=85\u0026s=92d1677e86684225363eef76f8ec9763","href":"https://patch.gg"},"favicon":"https://mintcdn.com/patch-b3bbfc3b/KgoraNtrAh08SBeG/favicon.svg?fit=max\u0026auto=format\u0026n=KgoraNtrAh08SBeG\u0026q=85\u0026s=950620ea63e1e344a23c73e631881f4b","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#FFFFFF"}},"navbar":{"primary":{"type":"button","label":"Open Patch","href":"https://patch.gg"}},"footer":{"socials":{"website":"https://patch.gg","discord":"https://discord.gg/W2VyyKxJy"}},"seo":{"metatags":{"og:image":"https://patch.gg/link-preview.png"}},"fonts":{"family":"Funnel Sans"},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"patch-b3bbfc3b","hasAudioNarration":false,"actualSubdomain":"patch-b3bbfc3b","customDomains":["docs.patch.gg"],"gitSource":{"type":"github","owner":"patch-gg","repo":"patch","deployBranch":"production","contentDirectory":"product/docs","isPrivate":true,"mountPath":"","label":"","_id":"6add1837da589734fa3cbbbc"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af188f79e9a7e27ab8ab02e","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API reference","count":99},{"language":"default","tag":"Endpoints","count":98},{"language":"default","tag":"Repos","count":16},{"language":"default","tag":"Releases","count":14},{"language":"default","tag":"Change requests","count":12},{"language":"default","tag":"GitHub","count":11},{"language":"default","tag":"Projects","count":10},{"language":"default","tag":"Docs","count":9},{"language":"default","tag":"Review","count":9},{"language":"default","tag":"Account","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Red Hat Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/redhatmono/v16/jVyN7nDnA2uf2zVvFAhhzEsUVuxSzgw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Red Hat Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/redhatmono/v16/jVyN7nDnA2uf2zVvFAhhzEsUWOxS.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Red Hat Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/redhatmono/v16/jVyN7nDnA2uf2zVvFAhhzEsUVuxSzgw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Red Hat Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/redhatmono/v16/jVyN7nDnA2uf2zVvFAhhzEsUWOxS.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:\"Patch Pixel\";src:url(\"/fonts/PatchPixel-Regular.woff2\") format(\"woff2\");font-weight:400;font-display:swap}:root{--patch-pink: #f53cd1;--patch-line: #e5e5e5}#page-title,h1#page-title{font-family:\"Patch Pixel\", \"Funnel Sans\", sans-serif;font-weight:400;font-size:36px;line-height:45px;letter-spacing:0;-webkit-font-smoothing:none}code,pre,kbd{font-family:\"Red Hat Mono\", ui-monospace, monospace!important}.rounded,.rounded-sm,.rounded-md,.rounded-lg,.rounded-xl,.rounded-2xl,.rounded-3xl,.rounded-full:not(img):not(svg),button,input,pre,code,img,video{border-radius:0!important}.shadow,.shadow-sm,.shadow-md,.shadow-lg,.shadow-xl,.shadow-2xl{box-shadow:none!important}.prose a:not(.card):not([class*=\"card\"]){text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:3px}::selection{background:var(--patch-pink);color:#ffffff}"}],"page":{"pagePath":"api-reference/repos/fork-a-projects-repo-into-a-new-project","slug":"/api-reference/repos/fork-a-projects-repo-into-a-new-project","pageMetadata":{"title":"Fork a project's repo into a new project","description":"Copies the repo's default branch into a new project of `owner`'s (an org you're in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it's all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 `too_big`, with nothing made: clone it and `pch push` it to a new repo instead. Big files in Git LFS don't count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it's there, and 503 `fork_in_progress` until then. The slug and name default to this project's. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 `source_closed` for someone else, and 404 for a private one). An org at the most repos it can have gets 403 `repo_limit_reached`, and a repo staff took down is 403 for its own org too. Needs the `publish` scope. A repo whose home is GitHub is copied from GitHub when it's forked, with its history, and only while it's open (409 `fork_on_github`), public on GitHub (422 `needs_public`) and with a licence GitHub can find in it (422 `needs_license`). GitHub is asked as it's forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 `github_changed`. One too big for Patch (422 `too_big`), or with big files in Git LFS on GitHub (422 `big_files_on_github`), can't be forked here: fork it on GitHub.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/fork","href":"/api-reference/repos/fork-a-projects-repo-into-a-new-project","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Copies the repo’s default branch into a new project of \", _jsx(_components.code, {\n children: \"owner\"\n }), \"’s (an org you’re in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it’s all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 \", _jsx(_components.code, {\n children: \"too_big\"\n }), \", with nothing made: clone it and \", _jsx(_components.code, {\n children: \"pch push\"\n }), \" it to a new repo instead. Big files in Git LFS don’t count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it’s there, and 503 \", _jsx(_components.code, {\n children: \"fork_in_progress\"\n }), \" until then. The slug and name default to this project’s. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 \", _jsx(_components.code, {\n children: \"source_closed\"\n }), \" for someone else, and 404 for a private one). An org at the most repos it can have gets 403 \", _jsx(_components.code, {\n children: \"repo_limit_reached\"\n }), \", and a repo staff took down is 403 for its own org too. Needs the \", _jsx(_components.code, {\n children: \"publish\"\n }), \" scope. A repo whose home is GitHub is copied from GitHub when it’s forked, with its history, and only while it’s open (409 \", _jsx(_components.code, {\n children: \"fork_on_github\"\n }), \"), public on GitHub (422 \", _jsx(_components.code, {\n children: \"needs_public\"\n }), \") and with a licence GitHub can find in it (422 \", _jsx(_components.code, {\n children: \"needs_license\"\n }), \"). GitHub is asked as it’s forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 \", _jsx(_components.code, {\n children: \"github_changed\"\n }), \". One too big for Patch (422 \", _jsx(_components.code, {\n children: \"too_big\"\n }), \"), or with big files in Git LFS on GitHub (422 \", _jsx(_components.code, {\n children: \"big_files_on_github\"\n }), \"), can’t be forked here: fork it on GitHub.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Fork a project's repo into a new project","description":"Copies the repo's default branch into a new project of `owner`'s (an org you're in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it's all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 `too_big`, with nothing made: clone it and `pch push` it to a new repo instead. Big files in Git LFS don't count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it's there, and 503 `fork_in_progress` until then. The slug and name default to this project's. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 `source_closed` for someone else, and 404 for a private one). An org at the most repos it can have gets 403 `repo_limit_reached`, and a repo staff took down is 403 for its own org too. Needs the `publish` scope. A repo whose home is GitHub is copied from GitHub when it's forked, with its history, and only while it's open (409 `fork_on_github`), public on GitHub (422 `needs_public`) and with a licence GitHub can find in it (422 `needs_license`). GitHub is asked as it's forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 `github_changed`. One too big for Patch (422 `too_big`), or with big files in Git LFS on GitHub (422 `big_files_on_github`), can't be forked here: fork it on GitHub.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/fork","href":"/api-reference/repos/fork-a-projects-repo-into-a-new-project","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Repos"],"summary":"Fork a project's repo into a new project","description":"Copies the repo's default branch into a new project of `owner`'s (an org you're in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it's all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 `too_big`, with nothing made: clone it and `pch push` it to a new repo instead. Big files in Git LFS don't count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it's there, and 503 `fork_in_progress` until then. The slug and name default to this project's. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 `source_closed` for someone else, and 404 for a private one). An org at the most repos it can have gets 403 `repo_limit_reached`, and a repo staff took down is 403 for its own org too. Needs the `publish` scope. A repo whose home is GitHub is copied from GitHub when it's forked, with its history, and only while it's open (409 `fork_on_github`), public on GitHub (422 `needs_public`) and with a licence GitHub can find in it (422 `needs_license`). GitHub is asked as it's forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 `github_changed`. One too big for Patch (422 `too_big`), or with big files in Git LFS on GitHub (422 `big_files_on_github`), can't be forked here: fork it on GitHub.","security":["318db3c4-3a41-4d19-997e-fad971242c0e"],"parameters":["97708bb4-3e98-4cc7-a8ee-baad9ec4b602","d9944638-75dd-461e-8dbe-dc45b6004b5b"],"requestBody":"8855816a-2568-40e6-a153-7213663e818f","responses":{"201":"774ff154-110c-4f7d-a63e-5ac7ee600011","308":"7d5f233d-1ea1-4e9f-9540-2d8725507bba","400":"6dd3c7cf-f0e8-4de9-868d-7f7e04239edb","401":"43db9fc7-59c0-4e62-8d2e-cf92a3ffe32e","403":"983414e3-082c-40c6-b626-edbdcaac3efe","404":"f37f9d6e-3f2e-4861-bf1a-736e0ffd4351","409":"fe52cefe-53f3-4cbe-95fd-78541459a2c3","422":"6e27e8cc-21c1-4863-a20b-8c05658257bc","429":"488bf4f7-922b-4326-af9f-2824bce8a10f","502":"5d821263-3149-4135-bd72-dd2a9f98346d","503":"44282600-2487-4300-86de-f8987e5a4a5b","507":"797a54e4-efbd-472d-ab45-e9e4bb037ead"},"method":"post","type":"path","servers":["dad6a083-e3c9-413e-a466-107b42f9941c"],"path":"/projects/{owner}/{slug}/fork","baseUrlOptions":["https://patch.gg/api/v1"],"title":"Fork a project's repo into a new project","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"97708bb4-3e98-4cc7-a8ee-baad9ec4b602":{"schema":{"type":"string","example":"patch","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"owner","in":"path"},"d9944638-75dd-461e-8dbe-dc45b6004b5b":{"schema":{"type":"string","example":"demo-mod","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"slug","in":"path"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"owner":{"type":"string","minLength":1,"maxLength":100,"description":"The org the fork goes to","isRequired":true,"uniqueKey":"owner","typeLabel":"string"},"slug":{"type":"string","minLength":1,"maxLength":64,"uniqueKey":"slug","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":100,"uniqueKey":"name","typeLabel":"string"},"private":{"type":"boolean","description":"Starts it private, so it's never open. Without it, a fork is as open as the repo it copies, unless it's made from a Patch Desktop chat, which starts it private","uniqueKey":"private","typeLabel":"boolean"}},"required":["owner"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"owner":"\u003cstring>","slug":"\u003cstring>","name":"\u003cstring>","private":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"774ff154-110c-4f7d-a63e-5ac7ee600011":{"description":"The fork's repo","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"summary":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"summary.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"summary.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"summary","typeLabel":"string | null"},"code_license":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9.+-]*$","example":"MIT","description":"License of the code","isRequired":true,"uniqueKey":"code_license","typeLabel":"string"},"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","isRequired":true,"uniqueKey":"art_license","typeLabel":"string"},"clone_url":{"type":"string","format":"uri","example":"https://git.patch.gg/patch/demo-mod.git","isRequired":true,"uniqueKey":"clone_url","typeLabel":"string\u003curi>"},"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.","isRequired":true,"uniqueKey":"visibility","typeLabel":"enum\u003cstring>"},"opening":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["scanning","secrets_found","big_files_unread","failed"],"isRequired":true,"uniqueKey":"opening.oneOf.0.status","typeLabel":"enum\u003cstring>"},"says":{"type":"string","description":"Where it's got to, to pass on to the person","isRequired":true,"uniqueKey":"opening.oneOf.0.says","typeLabel":"string"},"found":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","example":"an AWS access key","isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].kind","typeLabel":"string"},"path":{"oneOf":[{"type":"string","description":"Null for a commit's message.","isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a commit's message.","isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].path","typeLabel":"string | null"},"line":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].line","typeLabel":"integer"},"commit":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].commit.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].commit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opening.oneOf.0.found.items.[INDEX].commit","typeLabel":"string | null"}},"required":["kind","path","line","commit"],"uniqueKey":"opening.oneOf.0.found.items.[INDEX]","typeLabel":"object"},"description":"What a later push brought that closed it, as Patch read that push, and never a secret's value. Empty for a first push's hold, and for a push Patch couldn't read all of.","isRequired":true,"uniqueKey":"opening.oneOf.0.found","typeLabel":"object[]"},"was_open":{"type":"boolean","description":"Whether it was open until a later push closed it. With nothing in `found`, that's for what Patch couldn't read of the push.","isRequired":true,"uniqueKey":"opening.oneOf.0.was_open","typeLabel":"boolean"}},"required":["status","says","found","was_open"],"description":"For the repo's org. A repo that was open when its first push landed stays closed source until a scan of its history is clean, and then opens by itself, and so does an open repo that a later push closed by bringing a secret, or something Patch couldn't read. This says where that's got to. Null for anyone else, and for a repo that isn't waiting.","isRequired":true,"uniqueKey":"opening.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"status":{"type":"string","enum":["scanning","secrets_found","big_files_unread","failed"]},"says":{"type":"string","description":"Where it's got to, to pass on to the person"},"found":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","example":"an AWS access key"},"path":{"oneOf":[{"type":"string","description":"Null for a commit's message."},{"type":"null","description":"Null for a commit's message."}]},"line":{"type":"integer","minimum":1},"commit":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","path","line","commit"]},"description":"What a later push brought that closed it, as Patch read that push, and never a secret's value. Empty for a first push's hold, and for a push Patch couldn't read all of."},"was_open":{"type":"boolean","description":"Whether it was open until a later push closed it. With nothing in `found`, that's for what Patch couldn't read of the push."}},"required":["status","says","found","was_open"],"description":"For the repo's org. A repo that was open when its first push landed stays closed source until a scan of its history is clean, and then opens by itself, and so does an open repo that a later push closed by bringing a secret, or something Patch couldn't read. This says where that's got to. Null for anyone else, and for a repo that isn't waiting.","isRequired":true,"uniqueKey":"opening.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opening","typeLabel":"object | null"},"can_read_source":{"type":"boolean","description":"Whether you can read its source. When false, as for someone outside a closed source repo's org, `head_commit`, `last_commit` and `readme` are null, and its file, tree and commit reads answer 403 `source_closed`.","isRequired":true,"uniqueKey":"can_read_source","typeLabel":"boolean"},"default_branch":{"type":"string","example":"main","isRequired":true,"uniqueKey":"default_branch","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the repo was made; null until its first push.","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the repo was made; null until its first push.","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time> | null"},"head_commit":{"oneOf":[{"type":"string","description":"The default branch's latest commit, as of the last push.","isRequired":true,"uniqueKey":"head_commit.oneOf.0","typeLabel":"string"},{"type":"null","description":"The default branch's latest commit, as of the last push.","isRequired":true,"uniqueKey":"head_commit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"head_commit","typeLabel":"string | null"},"pushed_at":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"pushed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"pushed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"pushed_at","typeLabel":"string\u003cdate-time> | null"},"forked_from":{"oneOf":[{"type":"string","description":"The repo it was forked from, as owner/slug.","example":"patch/demo-mod","isRequired":true,"uniqueKey":"forked_from.oneOf.0","typeLabel":"string"},{"type":"null","description":"The repo it was forked from, as owner/slug.","example":"patch/demo-mod","isRequired":true,"uniqueKey":"forked_from.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"forked_from","typeLabel":"string | null"},"fork_count":{"type":"integer","description":"Its forks anyone can see: open ones with a repo, each once it has a public release. Until then a fork is quiet, and nothing counts it.","isRequired":true,"uniqueKey":"fork_count","typeLabel":"integer"},"clone_count":{"type":"integer","description":"Fresh clones by people outside its org, each cloner counted once a day, as the git host saw them.","isRequired":true,"uniqueKey":"clone_count","typeLabel":"integer"},"training_opt_out":{"type":"boolean","description":"When true, Patch doesn't train its own models on this project.","isRequired":true,"uniqueKey":"training_opt_out","typeLabel":"boolean"},"change_requests":{"type":"boolean","description":"The owner's switch for change requests. Only open repos take them, so it does nothing while the repo isn't open.","isRequired":true,"uniqueKey":"change_requests","typeLabel":"boolean"},"open_change_requests":{"type":"integer","description":"How many change requests are open, for whoever can read its source: 0 for anyone else.","isRequired":true,"uniqueKey":"open_change_requests","typeLabel":"integer"},"last_commit":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"last_commit.oneOf.0.id","typeLabel":"string"},"subject":{"type":"string","description":"Its message's first line","isRequired":true,"uniqueKey":"last_commit.oneOf.0.subject","typeLabel":"string"},"author":{"type":"string","isRequired":true,"uniqueKey":"last_commit.oneOf.0.author","typeLabel":"string"},"committed_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"last_commit.oneOf.0.committed_at","typeLabel":"string\u003cdate-time>"}},"required":["id","subject","author","committed_at"],"description":"The default branch's latest commit, as read after the push that moved it.","isRequired":true,"uniqueKey":"last_commit.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"subject":{"type":"string","description":"Its message's first line"},"author":{"type":"string"},"committed_at":{"type":"string","format":"date-time"}},"required":["id","subject","author","committed_at"],"description":"The default branch's latest commit, as read after the push that moved it.","isRequired":true,"uniqueKey":"last_commit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_commit","typeLabel":"object | null"},"readme":{"oneOf":[{"type":"object","properties":{"path":{"type":"string","example":"README.md","isRequired":true,"uniqueKey":"readme.oneOf.0.path","typeLabel":"string"},"text":{"type":"string","isRequired":true,"uniqueKey":"readme.oneOf.0.text","typeLabel":"string"}},"required":["path","text"],"description":"The README at the top of the default branch, its first 128 KB; null when there's none.","isRequired":true,"uniqueKey":"readme.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"path":{"type":"string","example":"README.md"},"text":{"type":"string"}},"required":["path","text"],"description":"The README at the top of the default branch, its first 128 KB; null when there's none.","isRequired":true,"uniqueKey":"readme.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"readme","typeLabel":"object | null"},"readme_pictures":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The file, as the README writes its address.","isRequired":true,"uniqueKey":"readme_pictures.items.[INDEX].url","typeLabel":"string\u003curi>"},"levels":{"type":"array","items":{"type":"object","properties":{"width":{"type":"integer","isRequired":true,"uniqueKey":"readme_pictures.items.[INDEX].levels.items.[INDEX].width","typeLabel":"integer"},"url":{"type":"string","isRequired":true,"uniqueKey":"readme_pictures.items.[INDEX].levels.items.[INDEX].url","typeLabel":"string"}},"required":["width","url"],"uniqueKey":"readme_pictures.items.[INDEX].levels.items.[INDEX]","typeLabel":"object"},"description":"Smaller copies of a picture (WebP) or a clip (MP4, H.264, without sound), smallest first, each at its own address that never changes. Show the smallest that's sharp where it goes. Empty for animated pictures, for flat art and short clips with no smaller copy, and for media from before Patch made copies until theirs are made: then use the file itself.","isRequired":true,"uniqueKey":"readme_pictures.items.[INDEX].levels","typeLabel":"object[]"},"fit":{"type":"string","enum":["cover","contain","pixel","wave"],"description":"How it sits in a card's frame. cover: fills it. contain: a thing on nothing, whole, on the frame's ground. pixel: the same, with its pixels kept sharp. wave: a sound's waveform, across the frame.","isRequired":true,"uniqueKey":"readme_pictures.items.[INDEX].fit","typeLabel":"enum\u003cstring>"}},"required":["url","levels","fit"],"uniqueKey":"readme_pictures.items.[INDEX]","typeLabel":"object"},"description":"The pictures in a library repo's README, which Patch holds copies of, so a page can show them at their levels. Empty for any other repo, and for anyone who can't read its source.","isRequired":true,"uniqueKey":"readme_pictures","typeLabel":"object[]"},"visibility_chosen_at":{"oneOf":[{"type":"string","description":"When someone last set `visibility` on purpose, for its org: what to send back with a change that depends on nobody having done that since","uniqueKey":"visibility_chosen_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When someone last set `visibility` on purpose, for its org: what to send back with a change that depends on nobody having done that since","uniqueKey":"visibility_chosen_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"visibility_chosen_at","typeLabel":"string | null"},"home":{"type":"string","enum":["patch","github"],"description":"Where its repo lives, where connecting GitHub is on (and only there): `patch`, or `github` once a GitHub repo is connected to it, whose files and commits stay on GitHub. `clone_url` is the same either way.","uniqueKey":"home","typeLabel":"enum\u003cstring>"},"github":{"oneOf":[{"type":"object","properties":{"full_name":{"type":"string","example":"sam/sky-mod","isRequired":true,"uniqueKey":"github.oneOf.0.full_name","typeLabel":"string"},"html_url":{"type":"string","format":"uri","example":"https://github.com/sam/sky-mod","isRequired":true,"uniqueKey":"github.oneOf.0.html_url","typeLabel":"string\u003curi>"},"private":{"type":"boolean","description":"Whether it's private on GitHub","isRequired":true,"uniqueKey":"github.oneOf.0.private","typeLabel":"boolean"},"default_branch":{"type":"string","example":"main","isRequired":true,"uniqueKey":"github.oneOf.0.default_branch","typeLabel":"string"},"head_commit":{"oneOf":[{"type":"string","description":"The default branch's latest commit, as of GitHub's last push event","uniqueKey":"github.oneOf.0.head_commit.oneOf.0","typeLabel":"string"},{"type":"null","description":"The default branch's latest commit, as of GitHub's last push event","uniqueKey":"github.oneOf.0.head_commit.oneOf.1","typeLabel":"null"}],"uniqueKey":"github.oneOf.0.head_commit","typeLabel":"string | null"},"pushed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"github.oneOf.0.pushed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"github.oneOf.0.pushed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"github.oneOf.0.pushed_at","typeLabel":"string\u003cdate-time> | null"},"state":{"type":"string","enum":["connected","disconnected","gone","suspended","no_access"],"description":"connected. disconnected: someone disconnected it on Patch, or it moved to an account without Patch's GitHub App. gone: deleted from GitHub. suspended: the app is suspended on its account. no_access: the app no longer reaches it (uninstalled, or the repo was taken out of the installation).","uniqueKey":"github.oneOf.0.state","typeLabel":"enum\u003cstring>"}},"required":["full_name","html_url","private","default_branch"],"description":"The GitHub repo that's its home, with `home`. Null on Patch, and for someone outside the project's org when the repo is private on GitHub.","uniqueKey":"github.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"full_name":{"type":"string","example":"sam/sky-mod"},"html_url":{"type":"string","format":"uri","example":"https://github.com/sam/sky-mod"},"private":{"type":"boolean","description":"Whether it's private on GitHub"},"default_branch":{"type":"string","example":"main"},"head_commit":{"oneOf":[{"type":"string","description":"The default branch's latest commit, as of GitHub's last push event"},{"type":"null","description":"The default branch's latest commit, as of GitHub's last push event"}]},"pushed_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"state":{"type":"string","enum":["connected","disconnected","gone","suspended","no_access"],"description":"connected. disconnected: someone disconnected it on Patch, or it moved to an account without Patch's GitHub App. gone: deleted from GitHub. suspended: the app is suspended on its account. no_access: the app no longer reaches it (uninstalled, or the repo was taken out of the installation)."}},"required":["full_name","html_url","private","default_branch"],"description":"The GitHub repo that's its home, with `home`. Null on Patch, and for someone outside the project's org when the repo is private on GitHub.","uniqueKey":"github.oneOf.1","typeLabel":"null"}],"uniqueKey":"github","typeLabel":"object | null"}},"required":["name","summary","code_license","art_license","clone_url","visibility","opening","can_read_source","default_branch","created_at","head_commit","pushed_at","forked_from","fork_count","clone_count","training_opt_out","change_requests","open_change_requests","last_commit","readme","readme_pictures"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","summary":"\u003cstring>","code_license":"MIT","art_license":"MIT","clone_url":"https://git.patch.gg/patch/demo-mod.git","visibility":"open","opening":{"status":"scanning","says":"\u003cstring>","found":[{"kind":"an AWS access key","path":"\u003cstring>","line":2,"commit":"\u003cstring>"}],"was_open":true},"can_read_source":true,"default_branch":"main","created_at":"2023-11-07T05:31:56Z","head_commit":"\u003cstring>","pushed_at":"2023-11-07T05:31:56Z","forked_from":"patch/demo-mod","fork_count":123,"clone_count":123,"training_opt_out":true,"change_requests":true,"open_change_requests":123,"last_commit":{"id":"\u003cstring>","subject":"\u003cstring>","author":"\u003cstring>","committed_at":"2023-11-07T05:31:56Z"},"readme":{"path":"README.md","text":"\u003cstring>"},"readme_pictures":[{"url":"\u003cstring>","levels":[{"width":123,"url":"\u003cstring>"}],"fit":"cover"}],"visibility_chosen_at":"\u003cstring>","home":"patch","github":{"full_name":"sam/sky-mod","html_url":"https://github.com/sam/sky-mod","private":true,"default_branch":"main","head_commit":"\u003cstring>","pushed_at":"2023-11-07T05:31:56Z","state":"connected"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7d5f233d-1ea1-4e9f-9540-2d8725507bba":{"description":"Renamed; follow the Location header","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"6dd3c7cf-f0e8-4de9-868d-7f7e04239edb":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"43db9fc7-59c0-4e62-8d2e-cf92a3ffe32e":{"description":"Not signed in","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"983414e3-082c-40c6-b626-edbdcaac3efe":{"description":"Not allowed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f37f9d6e-3f2e-4861-bf1a-736e0ffd4351":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fe52cefe-53f3-4cbe-95fd-78541459a2c3":{"description":"The slug is taken, or the repo has had no push to fork, or its home is GitHub and it isn't open, or what GitHub says of it changed while it was being forked, twice (`github_changed`)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6e27e8cc-21c1-4863-a20b-8c05658257bc":{"description":"It's too big to copy (`too_big`), or its home is GitHub and it can't be copied onto Patch: it's private there (`needs_public`), has no licence GitHub can find (`needs_license`), or keeps big files in Git LFS on GitHub (`big_files_on_github`)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"488bf4f7-922b-4326-af9f-2824bce8a10f":{"description":"Too many requests: wait as long as `Retry-After` says (`retry_after_s` in `details`), then retry","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5d821263-3149-4135-bd72-dd2a9f98346d":{"description":"The repo couldn't be copied, or GitHub didn't answer","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"44282600-2487-4300-86de-f8987e5a4a5b":{"description":"The repo is waking up, the fork asked for is still being copied (`fork_in_progress`), or forks aren't set up here","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"797a54e4-efbd-472d-ab45-e9e4bb037ead":{"description":"`storage_limit_reached`: the org's repos hold as much as they can","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"version_exists","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"version_exists","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"318db3c4-3a41-4d19-997e-fad971242c0e":{"bearer":{"type":"http","scheme":"bearer","description":"An API key (pch_...) or the token from pch login.","scopes":[],"schemeName":"bearer"}}},"servers":{"dad6a083-e3c9-413e-a466-107b42f9941c":{"url":"https://patch.gg/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key (pch_...) or the token from pch login.","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key (pch_...) or the token from pch login.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"patch-b3bbfc3b","siteName":"Patch","title":"Fork a project's repo into a new project - Patch","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T06:26:35.501Z","originalFileLocation":"api-reference/repos/fork-a-projects-repo-into-a-new-project.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Copies the repo\u0026#x27;s default branch into a new project of owner\u0026#x27;s (an org you\u0026#x27;re in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it\u0026#x27;s all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don\u0026#x27;t count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it\u0026#x27;s there, and 503 fork_in_progress until then. The slug and name default to this project\u0026#x27;s. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it\u0026#x27;s forked, with its history, and only while it\u0026#x27;s open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it\u0026#x27;s forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can\u0026#x27;t be forked here: fork it on GitHub.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Patch\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Fork a project\u0026#x27;s repo into a new project - Patch\">\u003cmeta data-mint-head property=\"og:description\" content=\"Copies the repo\u0026#x27;s default branch into a new project of owner\u0026#x27;s (an org you\u0026#x27;re in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it\u0026#x27;s all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don\u0026#x27;t count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it\u0026#x27;s there, and 503 fork_in_progress until then. The slug and name default to this project\u0026#x27;s. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it\u0026#x27;s forked, with its history, and only while it\u0026#x27;s open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it\u0026#x27;s forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can\u0026#x27;t be forked here: fork it on GitHub.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Patch\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://patch.gg/link-preview.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Fork a project\u0026#x27;s repo into a new project - Patch\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Copies the repo\u0026#x27;s default branch into a new project of owner\u0026#x27;s (an org you\u0026#x27;re in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it\u0026#x27;s all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don\u0026#x27;t count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it\u0026#x27;s there, and 503 fork_in_progress until then. The slug and name default to this project\u0026#x27;s. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it\u0026#x27;s forked, with its history, and only while it\u0026#x27;s open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it\u0026#x27;s forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can\u0026#x27;t be forked here: fork it on GitHub.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://patch.gg/link-preview.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/patch-b3bbfc3b/0WQM5b1NSkUFum6b/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Patch\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/repos/fork-a-projects-repo-into-a-new-project.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.patch.gg/#organization\",\"name\":\"Patch\",\"url\":\"https://docs.patch.gg\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/patch-b3bbfc3b/KgoraNtrAh08SBeG/logo/light.svg?fit=max\u0026auto=format\u0026n=KgoraNtrAh08SBeG\u0026q=85\u0026s=92d1677e86684225363eef76f8ec9763\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.patch.gg#website\",\"name\":\"Patch\",\"url\":\"https://docs.patch.gg\",\"publisher\":{\"@id\":\"https://docs.patch.gg/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project#webpage\",\"url\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project\",\"name\":\"Fork a project's repo into a new project\",\"description\":\"Copies the repo's default branch into a new project of owner's (an org you're in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it's all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don't count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it's there, and 503 fork_in_progress until then. The slug and name default to this project's. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it's forked, with its history, and only while it's open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it's forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can't be forked here: fork it on GitHub.\",\"dateModified\":\"2026-11-09T06:26:35.501Z\",\"isPartOf\":{\"@id\":\"https://docs.patch.gg#website\"},\"breadcrumb\":{\"@id\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.patch.gg/api-reference/meta/whether-the-api-and-its-database-are-up\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Repos\",\"item\":\"https://docs.patch.gg/api-reference/repos/a-projects-git-repo\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fork a project's repo into a new project\",\"item\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project#apireference\",\"headline\":\"Fork a project's repo into a new project\",\"name\":\"Fork a project's repo into a new project\",\"description\":\"Copies the repo's default branch into a new project of owner's (an org you're in), which records this one as its parent, starts at its head with its README, and holds the big files its history names. It brings only what that commit reaches, so no other branch, no tag and no commit the repo has dropped, and it answers once it's all there, a few seconds at most. A repo with more than 100 MB of packed git history, or that takes more than the 4.5 minutes a fork has, answers 422 too_big, with nothing made: clone it and pch push it to a new repo instead. Big files in Git LFS don't count towards that. A client can give up on a long fork, which goes on without it: asking again answers that fork once it's there, and 503 fork_in_progress until then. The slug and name default to this project's. A fork starts no more open than the repo it copies, and only its own org can fork a closed source or private repo (403 source_closed for someone else, and 404 for a private one). An org at the most repos it can have gets 403 repo_limit_reached, and a repo staff took down is 403 for its own org too. Needs the publish scope. A repo whose home is GitHub is copied from GitHub when it's forked, with its history, and only while it's open (409 fork_on_github), public on GitHub (422 needs_public) and with a licence GitHub can find in it (422 needs_license). GitHub is asked as it's forked, so one that went private there, or lost its licence, stops being open, and the fork takes the licence GitHub reads then for its code and its art. When Patch reads the repo again meanwhile, GitHub is asked once more, and a second time answers 409 github_changed. One too big for Patch (422 too_big), or with big files in Git LFS on GitHub (422 big_files_on_github), can't be forked here: fork it on GitHub.\",\"url\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project\",\"mainEntityOfPage\":{\"@id\":\"https://docs.patch.gg/api-reference/repos/fork-a-projects-repo-into-a-new-project#webpage\"},\"image\":\"https://patch.gg/link-preview.png\",\"dateModified\":\"2026-11-09T06:26:35.501Z\",\"publisher\":{\"@id\":\"https://docs.patch.gg/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.patch.gg#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Patch\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Patch","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/get-started"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Meta","pages":[{"title":"Whether the API and its database are up","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/meta/whether-the-api-and-its-database-are-up"}]},{"group":"Account","pages":[{"title":"The signed-in user, their username and orgs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me","href":"/api-reference/account/the-signed-in-user-their-username-and-orgs"},{"title":"Change the name on your account, or give your birthday","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /me","href":"/api-reference/account/change-the-name-on-your-account-or-give-your-birthday"},{"title":"Choose or change your username","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /me/username","href":"/api-reference/account/choose-or-change-your-username"},{"title":"Whether a username or org name is free","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /names/{name}","href":"/api-reference/account/whether-a-username-or-org-name-is-free"},{"title":"Your API keys, newest first","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens","href":"/api-reference/account/your-api-keys-newest-first"},{"title":"Create an API key for an agent or CI","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tokens","href":"/api-reference/account/create-an-api-key-for-an-agent-or-ci"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /tokens/{id}","href":"/api-reference/account/revoke-an-api-key"},{"title":"Your projects, drafts included, newest first","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/projects","href":"/api-reference/account/your-projects-drafts-included-newest-first"}]},{"group":"Host games","pages":[{"title":"Search the games mods are made for, by name","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /host-games","href":"/api-reference/host-games/search-the-games-mods-are-made-for-by-name"},{"title":"A host game with its store ids and known builds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /host-games/{slug}","href":"/api-reference/host-games/a-host-game-with-its-store-ids-and-known-builds"},{"title":"Your game requests, newest first, with what Patch's team answered","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /game-requests","href":"/api-reference/host-games/your-game-requests-newest-first-with-what-patchs-team-answered"},{"title":"Ask Patch to support a game","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /game-requests","href":"/api-reference/host-games/ask-patch-to-support-a-game"}]},{"group":"Feedback","pages":[{"title":"Your reports, newest first, with what Patch's team answered","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /feedback","href":"/api-reference/feedback/your-reports-newest-first-with-what-patchs-team-answered"},{"title":"Tell Patch's team what got in your way","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /feedback","href":"/api-reference/feedback/tell-patchs-team-what-got-in-your-way"}]},{"group":"Projects","pages":[{"title":"Search games and mods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/search","href":"/api-reference/projects/search-games-and-mods"},{"title":"The categories, with how many public projects are in each","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /categories","href":"/api-reference/projects/the-categories-with-how-many-public-projects-are-in-each"},{"title":"Browse public projects, Patch's own first","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects","href":"/api-reference/projects/browse-public-projects-patchs-own-first"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects","href":"/api-reference/projects/create-a-project"},{"title":"A project with its host games and latest public release","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}","href":"/api-reference/projects/a-project-with-its-host-games-and-latest-public-release"},{"title":"Delete a project that's still scratch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{owner}/{slug}","href":"/api-reference/projects/delete-a-project-thats-still-scratch"},{"title":"Edit a project's listing and source settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{owner}/{slug}","href":"/api-reference/projects/edit-a-projects-listing-and-source-settings"},{"title":"Claim a project as its original creator","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/claim","href":"/api-reference/projects/claim-a-project-as-its-original-creator"},{"title":"Projects you can claim at once as their original creator","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/claimable","href":"/api-reference/projects/projects-you-can-claim-at-once-as-their-original-creator"},{"title":"Staff picks, in order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /featured","href":"/api-reference/projects/staff-picks-in-order"}]},{"group":"Releases","pages":[{"title":"Releases you can see, newest first","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/releases","href":"/api-reference/releases/releases-you-can-see-newest-first"},{"title":"Create a draft release and get upload targets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/releases","href":"/api-reference/releases/create-a-draft-release-and-get-upload-targets"},{"title":"A release with its recipe, files and requirements","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/releases/{version}","href":"/api-reference/releases/a-release-with-its-recipe-files-and-requirements"},{"title":"Publish a release, once the person says it's ready","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/releases/{version}/submit","href":"/api-reference/releases/publish-a-release-once-the-person-says-its-ready"},{"title":"Short-lived download links for every file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/releases/{version}/download","href":"/api-reference/releases/short-lived-download-links-for-every-file"},{"title":"Finish a multipart upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /uploads/{id}/complete","href":"/api-reference/releases/finish-a-multipart-upload"},{"title":"Fetch a public GitHub release's files, to make a release from them","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /imports/github","href":"/api-reference/releases/fetch-a-public-github-releases-files-to-make-a-release-from-them"},{"title":"The GitHub repository a project picks up releases from","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/github","href":"/api-reference/releases/the-github-repository-a-project-picks-up-releases-from"},{"title":"Pick up a GitHub repository's new releases by themselves","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /projects/{owner}/{slug}/github","href":"/api-reference/releases/pick-up-a-github-repositorys-new-releases-by-themselves"},{"title":"Stop picking up a GitHub repository's releases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{owner}/{slug}/github","href":"/api-reference/releases/stop-picking-up-a-github-repositorys-releases"},{"title":"Check now: pick up the repository's latest release if it's new","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/github/check","href":"/api-reference/releases/check-now:-pick-up-the-repositorys-latest-release-if-its-new"},{"title":"Check a recipe, and optionally the files it goes with","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /recipes/validate","href":"/api-reference/releases/check-a-recipe-and-optionally-the-files-it-goes-with"},{"title":"How to build, test and publish on Patch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /guide","href":"/api-reference/releases/how-to-build-test-and-publish-on-patch"},{"title":"Record what a GitHub Actions workflow built","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /provenance","href":"/api-reference/releases/record-what-a-github-actions-workflow-built"}]},{"group":"Media","pages":[{"title":"A project's cover, screenshots and clips, in order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/media","href":"/api-reference/media/a-projects-cover-screenshots-and-clips-in-order"},{"title":"Add a cover, screenshot or clip, and get where to upload it","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/media","href":"/api-reference/media/add-a-cover-screenshot-or-clip-and-get-where-to-upload-it"},{"title":"Confirm an upload, and start making the media's copies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/media/{id}/complete","href":"/api-reference/media/confirm-an-upload-and-start-making-the-medias-copies"},{"title":"Reorder a project's media","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /projects/{owner}/{slug}/media/order","href":"/api-reference/media/reorder-a-projects-media"},{"title":"Remove media from the listing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{owner}/{slug}/media/{id}","href":"/api-reference/media/remove-media-from-the-listing"}]},{"group":"Review","pages":[{"title":"Where a release is in its review: status, checks, findings and test","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/releases/{version}/review","href":"/api-reference/review/where-a-release-is-in-its-review:-status-checks-findings-and-test"},{"title":"Test a release on your PC","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/releases/{version}/tests","href":"/api-reference/review/test-a-release-on-your-pc"},{"title":"A test: its state, each run's checks, and its review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tests/{id}","href":"/api-reference/review/a-test:-its-state-each-runs-checks-and-its-review"},{"title":"A test's contact sheets: a frame every 2 seconds, and bursts of consecutive frames, each labelled with its run time","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tests/{id}/footage","href":"/api-reference/review/a-tests-contact-sheets:-a-frame-every-2-seconds-and-bursts-of-consecutive-frames-each-labelled-with-its-run-time"},{"title":"Send your review of a test's footage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tests/{id}/review","href":"/api-reference/review/send-your-review-of-a-tests-footage"},{"title":"Cancel a test that hasn't been decided","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tests/{id}/cancel","href":"/api-reference/review/cancel-a-test-that-hasnt-been-decided"},{"title":"Your test settings: whether your agents' tests start by themselves","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/test-settings","href":"/api-reference/review/your-test-settings:-whether-your-agents-tests-start-by-themselves"},{"title":"Turn your agents' tests starting by themselves on or off","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /me/test-settings","href":"/api-reference/review/turn-your-agents-tests-starting-by-themselves-on-or-off"},{"title":"Publish a release: upload to live in one flow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/releases/{version}/publish","href":"/api-reference/review/publish-a-release:-upload-to-live-in-one-flow"}]},{"group":"Assets","pages":[{"title":"Search the asset library","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /assets/search","href":"/api-reference/assets/search-the-asset-library"},{"title":"Fields, values, counts and ranges for a query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /assets/facets","href":"/api-reference/assets/fields-values-counts-and-ranges-for-a-query"},{"title":"Plan adding assets to a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /assets/plan","href":"/api-reference/assets/plan-adding-assets-to-a-project"},{"title":"A license's name, URL, duties and full text","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /assets/licenses/{spdx}","href":"/api-reference/assets/a-licenses-name-url-duties-and-full-text"},{"title":"What an agent should be told about an asset","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /assets/{id}/mention","href":"/api-reference/assets/what-an-agent-should-be-told-about-an-asset"},{"title":"One asset: variants with file URLs, capabilities per runtime, license and credit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /assets/{id}","href":"/api-reference/assets/one-asset:-variants-with-file-urls-capabilities-per-runtime-license-and-credit"}]},{"group":"Repos","pages":[{"title":"A project's git repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo","href":"/api-reference/repos/a-projects-git-repo"},{"title":"Change who can reach a repo, the training switch, or change requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{owner}/{slug}/repo","href":"/api-reference/repos/change-who-can-reach-a-repo-the-training-switch-or-change-requests"},{"title":"Change a repo's licence, and commit its licence files to say the same","description":"Members of the owning org, with the `publish` scope. Fields you leave out stay as they are. The default branch gets one new commit, with you as author and Patch as committer, unless its files say this already: `LICENSE` holds the code's licence, under whatever name the repo already calls its one licence file, and `LICENSE-ART` the art's, when it isn't the code's. Sending what it lists already changes nothing, unless `write_files` says to add a licence file it doesn't have, which is how a repo with none gets one before it goes open: that never replaces or deletes a file that's there, and one that says something else answers 409 `license_differs`. Only a licence Patch has a file for can be chosen. A file that isn't a standard licence's words isn't replaced without `replace_edited`, and its old words stay in the history. The setting changes only once the commit has landed, and a repo with no commits has no file to change. `PATCH /projects/{owner}/{slug}` changes the setting alone. A repo whose home is GitHub has the licence its LICENSE there gives it, and Patch follows it, so it's changed on GitHub: here it answers 409 `on_github`, with the repo's page in `details.html_url`, and nothing changes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /projects/{owner}/{slug}/repo/license","href":"/api-reference/repos/change-a-repos-licence-and-commit-its-licence-files-to-say-the-same"},{"title":"Fork a project's repo into a new project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/fork","href":"/api-reference/repos/fork-a-projects-repo-into-a-new-project"},{"title":"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.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/forks","href":"/api-reference/repos/a-repos-forks"},{"title":"The commit a release came from, and a zip of it","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/releases/{version}/source","href":"/api-reference/repos/the-commit-a-release-came-from-and-a-zip-of-it"},{"title":"Search every open repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /repos/search","href":"/api-reference/repos/search-every-open-repo"},{"title":"Your orgs' repos, private ones included","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/repos","href":"/api-reference/repos/your-orgs-repos-private-ones-included"},{"title":"A repo's branches and tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/refs","href":"/api-reference/repos/a-repos-branches-and-tags"},{"title":"A folder in a repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/tree","href":"/api-reference/repos/a-folder-in-a-repo"},{"title":"A file in a repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/file","href":"/api-reference/repos/a-file-in-a-repo"},{"title":"Send a browser to a file's bytes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/raw","href":"/api-reference/repos/send-a-browser-to-a-files-bytes"},{"title":"A repo's history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/commits","href":"/api-reference/repos/a-repos-history"},{"title":"One commit and what it changes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/commit","href":"/api-reference/repos/one-commit-and-what-it-changes"},{"title":"A repo's latest history scan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/history-scan","href":"/api-reference/repos/a-repos-latest-history-scan"},{"title":"Scan a repo's whole history before it goes open","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/repo/history-scan","href":"/api-reference/repos/scan-a-repos-whole-history-before-it-goes-open"}]},{"group":"Change requests","pages":[{"title":"A repo's change requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/change-requests","href":"/api-reference/change-requests/a-repos-change-requests"},{"title":"Offer a branch to this repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/change-requests","href":"/api-reference/change-requests/offer-a-branch-to-this-repo"},{"title":"A change request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/change-requests/{number}","href":"/api-reference/change-requests/a-change-request"},{"title":"Change a request's title or description","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /projects/{owner}/{slug}/change-requests/{number}","href":"/api-reference/change-requests/change-a-requests-title-or-description"},{"title":"What a change request changes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/change-requests/{number}/diff","href":"/api-reference/change-requests/what-a-change-request-changes"},{"title":"What Patch's review of a change request says","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/change-requests/{number}/review","href":"/api-reference/change-requests/what-patchs-review-of-a-change-request-says"},{"title":"Merge a change request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/change-requests/{number}/merge","href":"/api-reference/change-requests/merge-a-change-request"},{"title":"Decline a change request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/change-requests/{number}/decline","href":"/api-reference/change-requests/decline-a-change-request"},{"title":"Withdraw a change request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/change-requests/{number}/withdraw","href":"/api-reference/change-requests/withdraw-a-change-request"},{"title":"A change request's talk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/change-requests/{number}/talk","href":"/api-reference/change-requests/a-change-requests-talk"},{"title":"Post in a change request's talk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/change-requests/{number}/talk","href":"/api-reference/change-requests/post-in-a-change-requests-talk"},{"title":"Delete a post from a change request's talk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{owner}/{slug}/change-requests/{number}/talk/{id}","href":"/api-reference/change-requests/delete-a-post-from-a-change-requests-talk"}]},{"group":"GitHub","pages":[{"title":"Start linking your GitHub account with a code: for pch and agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /me/github/device","href":"/api-reference/github/start-linking-your-github-account-with-a-code:-for-pch-and-agents"},{"title":"Whether the person has entered the device flow's code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/github/device/{id}","href":"/api-reference/github/whether-the-person-has-entered-the-device-flows-code"},{"title":"Who you are on GitHub, and where Patch's GitHub App is installed for you","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/github","href":"/api-reference/github/who-you-are-on-github-and-where-patchs-github-app-is-installed-for-you"},{"title":"The repos of one of the app's installations that you can reach","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/github/repos","href":"/api-reference/github/the-repos-of-one-of-the-apps-installations-that-you-can-reach"},{"title":"Connect a GitHub repo to a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /github/connect","href":"/api-reference/github/connect-a-github-repo-to-a-project"},{"title":"The GitHub repo that's a project's repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/repo/github","href":"/api-reference/github/the-github-repo-thats-a-projects-repo"},{"title":"Disconnect a project from its GitHub repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /projects/{owner}/{slug}/repo/github","href":"/api-reference/github/disconnect-a-project-from-its-github-repo"},{"title":"Open a pull request on a connected repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /projects/{owner}/{slug}/github/pulls","href":"/api-reference/github/open-a-pull-request-on-a-connected-repo"},{"title":"How a pull request on a connected repo stands","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /projects/{owner}/{slug}/github/pulls/{number}","href":"/api-reference/github/how-a-pull-request-on-a-connected-repo-stands"},{"title":"Merge a pull request on a connected repo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /projects/{owner}/{slug}/github/pulls/{number}/merge","href":"/api-reference/github/merge-a-pull-request-on-a-connected-repo"},{"title":"Your projects whose repo is on GitHub","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /me/github/projects","href":"/api-reference/github/your-projects-whose-repo-is-on-github"}]}]}]}]},"basePath":"","title":"Fork a project's repo into a new project - Patch","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}