dev.knotless.removeTriager

Takes the account out of the triagers of the repository's dev.knotless.repo record, as `knotless triagers remove` does. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Showing version bafyreiaaz5ic57wu5mcktohzkgsn5tz2nbwsgsdkny5jxh3ijcvnsrbfx4. Show the latest

cid bafyreiaaz5ic57wu5mcktohzkgsn5tz2nbwsgsdkny5jxh3ijcvnsrbfx4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Takes the account out of the triagers of the repository's dev.knotless.repo record, as `knotless triagers remove` does. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.",
      "errors": [
        {
          "description": "No such repository.",
          "name": "NotFound"
        },
        {
          "description": "The account is no triager of it, or there is no such account.",
          "name": "InvalidRequest"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "The account logged in is not the repository's owner.",
          "name": "Forbidden"
        }
      ],
      "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"
            },
            "who": {
              "description": "The account, by handle or DID.",
              "format": "at-identifier",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "who"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "triagers": {
              "description": "The repository's triagers now.",
              "items": {
                "ref": "dev.knotless.getRepoSettings#triagerView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "triagers"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stops counting an account's labels on a repository.",
  "id": "dev.knotless.removeTriager",
  "lexicon": 1
}