ai.newnal.illi.parent.uploadProfileImage
Upload a profile photo to the PARENT's PDN with the parent's delegated session, so the blob belongs to the parent. Query parameters homeId and slot name the parent; the body is the image.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | parent.illi.newnal.ai |
| Indexed |
Showing version bafyreidocqx6uxrthf2ee2hox7pby5iixesu4zlaepv4cgus3umbwupcti. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Upload a profile photo to the PARENT's PDN with the parent's delegated session, so the blob belongs to the parent. Query parameters homeId and slot name the parent; the body is the image.",
"errors": [
{
"name": "UnsupportedMedia"
},
{
"name": "MediaTooLarge"
},
{
"name": "ParentNotLinked"
},
{
"name": "DelegationUnavailable"
},
{
"name": "ScopeMissing"
}
],
"input": {
"encoding": "*/*"
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"blob": {
"accept": [
"image/jpeg",
"image/png",
"image/webp"
],
"maxSize": 5000000,
"type": "blob"
}
},
"required": [
"blob"
],
"type": "object"
}
},
"parameters": {
"properties": {
"homeId": {
"format": "tid",
"type": "string"
},
"slot": {
"maximum": 2,
"minimum": 1,
"type": "integer"
}
},
"required": [
"homeId",
"slot"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "ai.newnal.illi.parent.uploadProfileImage",
"lexicon": 1
}