dev.knotless.updateProfile

lexicons.knotless.dev

Documentation

Changes the dev.knotless.profile record of the account logged in to this appview's web pages, as `knotless profile` does: a field left out stays as it is, and one given empty is taken out, so the Bluesky profile's shows again. A profile left with nothing in it is deleted. 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

Changes the dev.knotless.profile record of the account logged in to this appview's web pages, as `knotless profile` does: a field left out stays as it is, and one given empty is taken out, so the Bluesky profile's shows again. A profile left with nothing in it is deleted. 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
description string Optional

Free text about the account: its bio.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
displayName string Optional

The name shown over the account's handle.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
links array Optional

The links to show, in order, in place of those there were; none shows the Bluesky profile's.

maxLength: 10 items
pronouns string Optional

Free-form pronouns text.

maxLength: 200 bytesmaxGraphemes: 20 graphemes
removeAvatar boolean Optional

Takes the picture out, so the Bluesky profile's shows again. dev.knotless.uploadAvatar sets one.

Output

Encodingapplication/json

Errors

InvalidRequest A field is too long, or a link is no http or https address.
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": "Changes the dev.knotless.profile record of the account logged in to this appview's web pages, as `knotless profile` does: a field left out stays as it is, and one given empty is taken out, so the Bluesky profile's shows again. A profile left with nothing in it is deleted. 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": "A field is too long, or a link is no http or https address.",
      "name": "InvalidRequest"
    },
    {
      "description": "No account is logged in to the pages, or its session has ended.",
      "name": "AuthenticationRequired"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "description": {
          "description": "Free text about the account: its bio.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "displayName": {
          "description": "The name shown over the account's handle.",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "links": {
          "description": "The links to show, in order, in place of those there were; none shows the Bluesky profile's.",
          "items": {
            "ref": "dev.knotless.defs#link",
            "type": "ref"
          },
          "maxLength": 10,
          "type": "array"
        },
        "pronouns": {
          "description": "Free-form pronouns text.",
          "maxGraphemes": 20,
          "maxLength": 200,
          "type": "string"
        },
        "removeAvatar": {
          "description": "Takes the picture out, so the Bluesky profile's shows again. dev.knotless.uploadAvatar sets one.",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "dev.knotless.getOwnProfile#ownProfile",
      "type": "ref"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@