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
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonaddReviewers
arrayFor a pull, accounts to ask to review it, besides those it asks already. Any other item refuses it.
maxLength: 32
body
stringIts new body, in Markdown.
maxLength: 20000
draft
booleanFor 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
arrayPictures 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
removeReviewers
arrayFor a pull, accounts to stop asking to review it. Any other item refuses it.
maxLength: 32
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
The pull, issue or comment to change.
title
stringA pull's or an issue's new title.
maxLength: 3000maxGraphemes: 300
Output
application/jsonThe record changed.
Errors
NotFound
No such repository.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
#reviewer
objectAn account asked, or no longer asked, to review a pull.
Properties
The account, by DID.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.createComment
procedureComments 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.
-
dev.knotless.assignItem
procedureAssigns 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.
-
dev.knotless.labelItem
procedurePuts a label on a pull or an issue, or takes it off, 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.dismissReview
procedureDismisses a reviewer's standing review of a pull, as the account logged in to this appview's pages.