dev.knotless.hideItem

lexicons.knotless.dev

Documentation

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 hide` does; or, with hidden false, deletes those there are, as `knotless unhide` does. Requires the session cookie the pages' login sets.

main procedure

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 hide` does; or, with hidden false, deletes those there are, as `knotless unhide` does. Requires the session cookie the pages' login sets.

Input

Encodingapplication/json
hidden boolean Optional

False to show it again.

repo stringat-uri Required

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

subject stringat-uri Required

The dev.knotless.pull, dev.knotless.issue or dev.knotless.comment.

Output

Encodingapplication/json
hidden boolean Required

Whether it is hidden now.

Errors

NotFound No such repository.
AuthenticationRequired No account is logged in to the pages, or its session has ended.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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 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"
}

Lexicon Garden

@