dev.knotless.forkRepo

Copies a repository, every branch and tag, into a new dev.knotless.repo in the account logged in to this appview's web pages, naming it as forked from the first, as `knotless repo fork` does. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Showing version bafyreicufxg3g6l72nbwolaj3icqon6wt4ibbkvfw24k3kespzidrctbye. Show the latest

Procedure

procedure · POST

Input

application/json

name

string

The fork's name: the repository's own when absent.

  • maxLength: 100

repo

requiredstring · at-uri

The repository to fork: its dev.knotless.repo record, as dev.knotless.getRepo takes it.

Output

application/json

Errors

NotFound

No such repository.

InvalidRequest

The account owns the repository, has a repository by that name already, or the name is not one a repository can have.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.