Repositories
Fork a repository
Admits a fork under the requested owner, copying only the default branch unless branches adds selected branches or allBranches copies every branch and tag. Returns 200 when complete or 202 with durable admission status; poll GET /orgs/{owner}/admissions/{repoId} for progress. requestKey, or the source-owner-name default, makes retries with the same selection converge. Requires authenticated authority and enforces current resource policy.
post/api/repos/{owner}/{repo}/fork
Request
- Base URLhttps://git.cafe
- Auth
- API key in cookie gc-session
- or HTTP bearer
- or HTTP basic
- or HTTP token
- or OAuth 2Authorization code: /api/oauth/authorizeToken URL: /api/oauth/token scopes: repo:contents:read
Path parameters
ownerstring required
repostring required
Request body
Response
Response for status 200
Changes
No recorded changes to this operation across all 1 revision of this API.