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
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsondefaultBranch
stringThe branch its HEAD names, without refs/heads/: main when absent.
maxLength: 255
description
stringWhat the repository is, shown under its name.
maxLength: 3000maxGraphemes: 300
The repository's name, its record key.
maxLength: 100
private
booleanWhether 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/jsonschema
refErrors
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.createOrgRepo
procedureCreates 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.
-
dev.knotless.forkRepo
procedureForks a repository into the account logged in to this appview's pages.
-
dev.knotless.createBranch
procedureCreates a branch of a repository.
-
org.tangled.repo.createRepo
procedureCreate a new repository
-
dev.knotless.starRepo
procedureStars a repository as the account logged in to this appview's pages.