dev.knotless.updateProfile
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Showing version bafyreif2voulsjxqh7n4m4xg3ym7u3tu6wzomw5jafeogtvzifymgmxek4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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": {
"bot": {
"description": "Whether the account says it is a bot, as dev.knotless.profile's `bot`. Left out, it stays as it is.",
"type": "boolean"
},
"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"
}
},
"description": "Changes how the account logged in to this appview's pages shows on knotless.",
"id": "dev.knotless.updateProfile",
"lexicon": 1
}