dev.knotless.pushRefs
The body is one line of JSON, a #header, then a git packfile holding every object the updates need that the repository lacks (empty when every update is a deletion). Each update succeeds or fails on its own.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/x-knotless-push#header
objectWhat precedes the pack in the body, on a line of its own.
#result
objectHow one update went.
#update
objectOne ref to move.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.claim
recordThe move of a ref off one generation: its key is the compare-and-swap, its body the reflog entry.
-
dev.knotless.createCommit
procedureCommits file changes to a branch through a gateway its owner has delegated writes to, without a clone. Commits to one branch that arrive together are built into one chain and written as one ref update. Requires a service token from the caller's PDS, audience the gateway's DID, for this method; the caller must be the owner or a collaborator.
-
dev.knotless.ref
recordOne git ref of a repository.
-
dev.knotless.shareRepo
procedureLets an account push to a repository, or read a private one.