dev.knotless.createPull
Writes a dev.knotless.pull record in the account logged in to this appview's web pages, as `knotless pull create` does: asking to merge a branch of this repository or a fork into one of its branches, both of which must exist. Refused, with the template, when the repository has one at the base (see dev.knotless.getTemplate) and the body follows none of it. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe branch to merge into.
maxLength: 1024
body
stringWhat it does and why, in Markdown.
maxLength: 20000
The branch to bring in.
maxLength: 1024
draft
booleanOpen it as a draft, not ready to merge or queue. Not, when absent.
The repository the branch is on: this one, or a fork.
images
arrayPictures uploaded with dev.knotless.uploadImage; those the body links to are attached.
maxLength: 32
labels
arrayLabels to put on it as it opens, as dev.knotless.labelItem would: refused, with nothing written, when one is not the repository's or not the account's to put on.
maxLength: 32
The repository to merge into: its dev.knotless.repo record, as dev.knotless.getRepo takes it.
reviewers
arrayThe accounts its author asks to review it, as its record names them; `requestedAt` is set as it is written.
maxLength: 32
maxLength: 3000maxGraphemes: 300
Output
application/jsonThe dev.knotless.pull record written.
Errors
NotFound
No such repository.
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.pull
recordA request to merge a branch into a repository, kept in the requester's account.
-
dev.knotless.retargetPull
procedurePoints a pull at other branches as the account logged in to this appview's pages.
-
dev.knotless.mergePull
procedureMerges a pull as the account logged in to this appview's pages.
-
dev.knotless.createIssue
procedureOpens an issue on a repository, as the account logged in to this appview's pages.
-
dev.knotless.queuePull
procedurePuts a pull in its branch's merge queue as the account logged in to this appview's pages.