dev.knotless.hideItem
Writes a dev.knotless.hide record naming it in the account logged in to this appview's web pages, which must own the repository, as `knotless mod hide` does; or, with hidden false, deletes those there are, as `knotless unhide` does. 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": "Writes a dev.knotless.hide record naming it in the account logged in to this appview's web pages, which must own the repository, as `knotless mod hide` does; or, with hidden false, deletes those there are, as `knotless unhide` does. 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": {
"hidden": {
"default": true,
"description": "False to show it again.",
"type": "boolean"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
},
"subject": {
"description": "The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo",
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"hidden": {
"description": "Whether it is hidden now.",
"type": "boolean"
}
},
"required": [
"hidden"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Hides a pull, an issue or a comment from a repository, or shows it again, as the repository's owner, logged in to this appview's pages.",
"id": "dev.knotless.hideItem",
"lexicon": 1
}