dev.knotless.createRepo

Writes a dev.knotless.repo record under the name given in the account logged in to this appview's web pages, as `knotless repo create` does: public unless asked for private, naming the runners the appview offers for new repositories, and with no branches until the first push. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

The branch its HEAD names, without refs/heads/: main when absent.

  • maxLength: 255

What the repository is, shown under its name.

  • maxLength: 3000
  • maxGraphemes: 300

name

requiredstring

The repository's name, its record key.

  • maxLength: 100

private

boolean

Whether to make it private, as `knotless repo create --private` does: a space of its own on the account's PDS, which only its members read, its runners among them. Public when absent.

Output

application/json

Errors

InvalidRequest

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

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.

  • Creates a repository in an organization's account, through the gateway the organization delegated writes to, which makes it as the organization, as `knotless repo create` does. The caller must be an admin of it who joined. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.

  • Forks a repository into the account logged in to this appview's pages.

  • Creates a branch of a repository.

  • Create a new repository

  • Stars a repository as the account logged in to this appview's pages.