dev.knotless.editItem

Rewrites a dev.knotless.pull, dev.knotless.issue or dev.knotless.comment record in the account logged in to this appview's web pages, which must have written it, as `knotless pull edit` does: a pull's or an issue's title or body, or a comment's body, and whether a pull is a draft. An empty body takes a pull's or an issue's away; a comment keeps one. Requires the session cookie the pages' login sets.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

For a pull, accounts to ask to review it, besides those it asks already. Any other item refuses it.

  • maxLength: 32
itemsref
Reference

body

string

Its new body, in Markdown.

  • maxLength: 20000

draft

boolean

For a pull, make it a draft, or with false mark it ready to merge. Left as it is, when absent; any other item refuses it.

images

array

Pictures uploaded with dev.knotless.uploadImage for the new body. Of these and those it had, the new body's links decide which stay attached.

  • maxLength: 32
itemsref

For a pull, accounts to stop asking to review it. Any other item refuses it.

  • maxLength: 32
itemsref
Reference

repo

requiredstring · at-uri

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

subject

requiredstring · at-uri

The pull, issue or comment to change.

title

string

A pull's or an issue's new title.

  • maxLength: 3000
  • maxGraphemes: 300

Output

application/json

uri

requiredstring · at-uri

The record changed.

Errors

NotFound

No such repository.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

#reviewer

object

An account asked, or no longer asked, to review a pull.

Properties

did

requiredstring · did

The account, by DID.

Similar lexicons

semantic match

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

  • Comments on a pull or an issue, or on lines of a pull's diff, or answers a comment, or reviews a pull, as the account logged in to this appview's pages.

  • Assigns a pull or an issue to an account, or asks it to review a pull, or no longer, as the account logged in to this appview's pages.

  • Puts a label on a pull or an issue, or takes it off, as the account logged in to this appview's pages.

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

  • Dismisses a reviewer's standing review of a pull, as the account logged in to this appview's pages.