social.coves.actor.updateProfile
Update the authenticated user's profile
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.coves.social |
| Indexed |
Showing version bafyreifzabcvhxwkdku5q7w7vuhlo3jchiq3mpg4yrp3llzzrgkhu3lzwm. Show the latest
Checks
Validlarge-stringdefs.main.input.schema.properties.avatarBlobmaxLength is over 20 KB. Use a blob for content that large.large-stringdefs.main.input.schema.properties.bannerBlobmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Update the authenticated user's profile",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"avatarBlob": {
"description": "Base64-encoded avatar image data (png, jpeg, or webp; decoded size limit 1MB)",
"maxLength": 1400000,
"type": "string"
},
"avatarMimeType": {
"description": "MIME type of the avatar image (image/png, image/jpeg, image/webp)",
"maxLength": 128,
"type": "string"
},
"bannerBlob": {
"description": "Base64-encoded banner image data (png, jpeg, or webp; decoded size limit 2MB)",
"maxLength": 2800000,
"type": "string"
},
"bannerMimeType": {
"description": "MIME type of the banner image (image/png, image/jpeg, image/webp)",
"maxLength": 128,
"type": "string"
},
"description": {
"description": "User bio, stored as the `description` field of the social.coves.actor.profile record.",
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"displayName": {
"description": "Optional display name",
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the updated profile record",
"format": "cid",
"type": "string"
},
"uri": {
"description": "AT-URI of the updated profile record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.coves.actor.updateProfile",
"lexicon": 1
}