dev.knotless.retargetPull
Points an open pull at another target branch, another head branch, or both, as `knotless pull retarget` does, as the account logged in to this appview's web pages. Anyone who may close it changes its target branch; only its author its head branch, which must be in the repository it comes from. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonbase
stringThe branch of the repository to merge it into, without refs/heads/.
maxLength: 255
head
stringThe branch of the repository it comes from to bring in, without refs/heads/.
maxLength: 255
The dev.knotless.pull record.
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
Output
application/jsonErrors
NotFound
No such repository.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
UpstreamFailure
It was not retargeted, as the reason says: no such branch, or the account may not.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.mergePull
procedureMerges a pull as the account logged in to this appview's pages.
-
dev.knotless.revertPull
procedureReverts a merged pull as the account logged in to this appview's pages.
-
dev.knotless.createPull
procedureOpens a pull 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.
-
dev.knotless.getCompare
queryWhat a pull from a branch would bring into a repository, before it is opened.