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.
Parameters
Input
Encoding
*/*Accepts raw binary data
Output
Encoding
application/jsonblob
blob
Required
No description available.
Errors
UnsupportedMedia
MediaTooLarge
ParentNotLinked
DelegationUnavailable
ScopeMissing
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"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"
}