From
bafyreidocqx6uxrthf2ee2hox7pby5iixesu4zlaepv4cgus3umbwupcti
indexed 2026-10-23 08:14 UTC
View this version
To
bafyreih4gfc3vdkupxv6oxtvnjmsn2ecuuokl3i4arhke7ymvmqbvb4he4
indexed 2026-11-06 13:46 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"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.",5
"description": "Upload a profile photo to the PARENT's PDN with the parent's delegated session, after checking linkage, permission and delegation. Query homeId and slot name the parent. The binary body accepts JPEG, PNG, WebP, HEIC or HEIF, at most 5 MB. The media service synchronously rotates upright, scales the longest side to at most 1024 px without enlargement and returns a metadata-free JPEG (no EXIF, GPS, XMP or ICC), at most 5,000,000 bytes. The Service Agent Node uploads only that JPEG with the parent's delegated session and returns its blob ref for parent.putProfile. Media failure writes nothing to the PDN or profile: UnsupportedMedia (415), MediaTooLarge (413), or MediaUnavailable (503, with Retry-After when supplied).",66
"errors": [77
{88
"name": "UnsupportedMedia"99
},1010
{1111
"name": "MediaTooLarge"1212
},1313
{1414
"name": "ParentNotLinked"1515
},1616
{1717
"name": "DelegationUnavailable"1818
},1919
{2020
"name": "ScopeMissing"21
},22
{23
"description": "Photo processing is temporarily unavailable; no photo was uploaded. Retry-After is forwarded when supplied by media.",24
"name": "MediaUnavailable"2125
}2226
],2327
"input": {2428
"encoding": "*/*"2529
},2630
"output": {2731
"encoding": "application/json",2832
"schema": {2933
"properties": {3034
"blob": {3135
"accept": [3236
"image/jpeg",3337
"image/png",3438
"image/webp"3539
],3640
"maxSize": 5000000,3741
"type": "blob"3842
}3943
},4044
"required": [4145
"blob"4246
],4347
"type": "object"4448
}4549
},4650
"parameters": {4751
"properties": {4852
"homeId": {4953
"format": "tid",5054
"type": "string"5155
},5256
"slot": {5357
"maximum": 2,5458
"minimum": 1,5559
"type": "integer"5660
}5761
},5862
"required": [5963
"homeId",6064
"slot"6165
],6266
"type": "params"6367
},6468
"type": "procedure"6569
}6670
},6771
"id": "ai.newnal.illi.parent.uploadProfileImage",6872
"lexicon": 16973
}