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

Procedure

procedure · POST

Input

application/json

base

requiredstring

The branch to merge into.

  • maxLength: 1024

body

string

What it does and why, in Markdown.

  • maxLength: 20000

branch

requiredstring

The branch to bring in.

  • maxLength: 1024

draft

boolean

Open it as a draft, not ready to merge or queue. Not, when absent.

head

requiredstring · at-uri

The repository the branch is on: this one, or a fork.

images

array

Pictures uploaded with dev.knotless.uploadImage; those the body links to are attached.

  • maxLength: 32
itemsref

labels

array

Labels 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
itemsref

repo

requiredstring · at-uri

The repository to merge into: its dev.knotless.repo record, as dev.knotless.getRepo takes it.

The accounts its author asks to review it, as its record names them; `requestedAt` is set as it is written.

  • maxLength: 32
itemsref

title

requiredstring
  • maxLength: 3000
  • maxGraphemes: 300

Output

application/json

uri

requiredstring · at-uri

The 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 match

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

  • A request to merge a branch into a repository, kept in the requester's account.

  • Points a pull at other branches as the account logged in to this appview's pages.

  • Merges a pull as the account logged in to this appview's pages.

  • Opens an issue on a repository, as the account logged in to this appview's pages.

  • Puts a pull in its branch's merge queue as the account logged in to this appview's pages.