repository
post/api/repo/{namespace}/{repository}/fork

Request

Path parameters

namespacestring required

Repository namespace (user or organization)

repositorystring required

Repository name

Request body

target_namespacestring nullable

Namespace (username or org name) to fork the repository into. Defaults to the authenticated user if omitted.

Response

Fork created successfully

idstring uuid required

Internal ID of the newly created repository

urlstring required

Full URL to the repository

Changes

    • breaking

      the request's body type changed from no type to object

    • info

      added the new optional request property