dev.knotless.followActor

lexicons.knotless.dev

Documentation

Writes a dev.knotless.follow record naming the account in the account logged in to this appview's web pages, unless one is there already. An account cannot follow itself. 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.

main procedure

Writes a dev.knotless.follow record naming the account in the account logged in to this appview's web pages, unless one is there already. An account cannot follow itself. 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.

Input

Encodingapplication/json
subject stringdid Required

The account to follow.

Output

Encodingapplication/json

Errors

ProfileNotFound No account by that DID.
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.follow record naming the account in the account logged in to this appview's web pages, unless one is there already. An account cannot follow itself. 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 follow.",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "subject"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "dev.knotless.defs#followState",
      "type": "ref"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@