dev.knotless.dismissReview
As `knotless dismiss` does: the repository's owner or a collaborator writes a dev.knotless.comment on the pull naming the review in `dismisses`, its body the reason. The review then counts for nothing, for or against the pull, until its reviewer reviews again. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "As `knotless dismiss` does: the repository's owner or a collaborator writes a dev.knotless.comment on the pull naming the review in `dismisses`, its body the reason. The review then counts for nothing, for or against the pull, until its reviewer reviews again. Requires the session cookie the pages' login sets.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"pull": {
"description": "The dev.knotless.pull.",
"format": "at-uri",
"type": "string"
},
"reason": {
"description": "Why, in Markdown: the comment's body.",
"maxLength": 20000,
"type": "string"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
},
"reviewer": {
"description": "The account whose review it dismisses.",
"format": "did",
"type": "string"
}
},
"required": [
"repo",
"pull",
"reviewer",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "The dev.knotless.comment that dismissed it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Dismisses a reviewer's standing review of a pull, as the account logged in to this appview's pages.",
"id": "dev.knotless.dismissReview",
"lexicon": 1
}