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
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

base

string

The branch of the repository to merge it into, without refs/heads/.

  • maxLength: 255

head

string

The branch of the repository it comes from to bring in, without refs/heads/.

  • maxLength: 255

pull

requiredstring · at-uri

The dev.knotless.pull record.

repo

requiredstring · at-uri

The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.

Output

application/json

Errors

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 match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.