ai.newnal.illi.home.uploadMyPhoto
Set the caller's photo in one home (family members; parents use parent.uploadProfileImage). The binary body accepts JPEG, PNG, WebP, HEIC or HEIF, at most 10 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 this JPEG with the caller's session and writes the caller's My Data profile (ai.newnal.mydata.dev.profile, rkey self) in the home's family sphere. The photo is per home and replaces an earlier photo. Media failure writes nothing to the PDN or profile: UnsupportedMedia (415), MediaTooLarge (413), or MediaUnavailable (503, with Retry-After when supplied).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | home.illi.newnal.ai |
| Indexed |
What's different
same NSID · two revisions from the same publisherRecords and requests that were valid against the base schema stay valid against this one.
Procedure · errors
#mainMediaUnavailable
compatibleNew error.
MediaUnavailable