dev.knotless.deleteComment

Deletes a dev.knotless.comment record from the account logged in to this appview's web pages, which must have written it, as `knotless comment delete` does. A pull or an issue is closed instead, and what others say the repository's owner hides. Requires the session cookie the pages' login sets.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed
cid bafyreidair6jsbyex7zhwkfrsn6ey4ib2a2wupal2gre5y6fmo4zn3ezdm

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes a dev.knotless.comment record from the account logged in to this appview's web pages, which must have written it, as `knotless comment delete` does. A pull or an issue is closed instead, and what others say the repository's owner hides. 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": {
            "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.comment record to delete.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "description": "The record deleted.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Takes back a comment or review, as its author, logged in to this appview's pages.",
  "id": "dev.knotless.deleteComment",
  "lexicon": 1
}