ai.newnal.illi.parent.uploadProfileImage

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).

Details · procedure
Kindprocedure
Authorityparent.illi.newnal.ai
Indexed

Procedure

procedure · POST

Parameters

query string

homeId

requiredstring · tid

slot

requiredinteger
  • minimum: 1
  • maximum: 2

Input

*/*

Output

application/json

blob

requiredblob
  • maxSize: 5000000
  • accept: image/jpeg, image/png, image/webp

Errors

UnsupportedMedia

No description in schema.

MediaTooLarge

No description in schema.

ParentNotLinked

No description in schema.

DelegationUnavailable

No description in schema.

ScopeMissing

No description in schema.

MediaUnavailable

Photo processing is temporarily unavailable; no photo was uploaded. Retry-After is forwarded when supplied by media.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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, rk

  • Upload raw image bytes to the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). Mirrors com.atproto.repo.uploadBlob. The returned blob ref is passed into createPost, createComment, or putProfile to attach it to a record. This endpoint applies no per-context size limit beyond a generous ceiling — the PDS enforces the real limit (post/comment 5MB, avatar 1MB, banner 2MB) when the blob is actually attached to a record.