app.bivri.actor.updateProfile
Update the authenticated user's profile. Requires OAuth session.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.bivri.app |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe procedure has no description.nullable-and-optionaldefs.main.input.schema.properties.displayNamedisplayName is both nullable and optional.nullable-and-optionaldefs.main.input.schema.properties.biobio is both nullable and optional.nullable-and-optionaldefs.main.input.schema.properties.avataravatar is both nullable and optional.nullable-and-optionaldefs.main.input.schema.properties.bannerbanner is both nullable and optional.nullable-and-optionaldefs.main.input.schema.properties.linkslinks is both nullable and optional.unlimited-stringdefs.main.output.schema.properties.cidNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"errors": [
{
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
"name": "ConsentRequired"
},
{
"name": "Unauthenticated"
},
{
"name": "InvalidProfile"
}
],
"input": {
"encoding": "application/json",
"schema": {
"nullable": [
"displayName",
"bio",
"avatar",
"banner",
"links"
],
"properties": {
"avatar": {
"accept": [
"image/png",
"image/jpeg",
"image/webp",
"image/gif"
],
"description": "Blob reference for the new avatar. Send null to clear it; omit the field to leave it unchanged.",
"maxSize": 5000000,
"type": "blob"
},
"banner": {
"accept": [
"image/png",
"image/jpeg",
"image/webp",
"image/gif"
],
"description": "Blob reference for the new banner. Send null to clear it; omit the field to leave it unchanged.",
"maxSize": 8000000,
"type": "blob"
},
"bio": {
"description": "New profile description. Send null to clear it; omit the field to leave it unchanged.",
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"displayName": {
"description": "New display name. Send null to clear it; omit the field to leave it unchanged.",
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"links": {
"description": "Replacement set of external links. Send null to clear them; omit the field to leave them unchanged.",
"items": {
"ref": "app.bivri.actor.profile#link",
"type": "ref"
},
"maxLength": 10,
"type": "array"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Update the authenticated user's profile. Requires OAuth session.",
"id": "app.bivri.actor.updateProfile",
"lexicon": 1
}