dev.knotless.unfollowActor

Deletes every dev.knotless.follow record naming the account from the account logged in to this appview's web pages, if any. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed
cid bafyreifj4g4qrmf5o5b3m3wuap654c5ad73pbalpj4n4kb73rux72d54ki

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Deletes every dev.knotless.follow record naming the account from the account logged in to this appview's web pages, if any. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
      "errors": [
        {
          "description": "No account by that DID.",
          "name": "ProfileNotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subject": {
              "description": "The account to unfollow.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.defs#followState",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Unfollows an account as the account logged in to this appview's pages.",
  "id": "dev.knotless.unfollowActor",
  "lexicon": 1
}