full diff

ai.newnal.illi.media.uploadItem

From
bafyreieuzm2sceumv65ccpvw3rclavpc26p4q2tidljeiuvh3j2iwg6e6i indexed 2026-10-23 07:24 UTC View this version
To
bafyreigqcg4qaetbcaxxinoomocd6mac3kezyk2zcyjtgece3itt7z6hq4 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 one photo or video to the home's album. multipart/form-data with parts homeId, file, caption?, takenAt?. The original and its derivatives (thumb, display when larger than 1600 px, video poster) go to the uploader's PDN; a mediaItem record is created in the uploader's repo in the family sphere.",
5 "description": "Upload one photo or video. multipart/form-data parts: homeId, file, timezone?, people? (JSON array of {name, relationship?}, at most 20 people), note? (at most 300 graphemes), takenAt? (offset-bearing timestamp). Unknown parts are ignored. A manual takenAt is queued after registration through updateUserInput. Otherwise capture time comes from file metadata, then upload time. Same-file content in one home returns the existing active original across uploaders, ignoring the new people/note/takenAt without another record or media registration. Originals and derivatives are stored on their original uploader PDN.",
66 "errors": [
77 {
88 "name": "UnsupportedMedia"
99 },
1010 {
1111 "name": "MediaTooLarge"
1212 },
1313 {
1414 "name": "UploadThrottled"
1515 },
1616 {
1717 "name": "ScopeMissing"
1818 },
1919 {
2020 "name": "NotAllowed"
2121 },
2222 {
2323 "name": "PdsUnavailable"
2424 }
2525 ],
2626 "input": {
2727 "encoding": "multipart/form-data"
2828 },
2929 "output": {
3030 "encoding": "application/json",
3131 "schema": {
3232 "properties": {
3333 "item": {
3434 "ref": "ai.newnal.illi.media.defs#itemView",
3535 "type": "ref"
3636 }
3737 },
3838 "required": [
3939 "item"
4040 ],
4141 "type": "object"
4242 }
4343 },
4444 "type": "procedure"
4545 }
4646 },
4747 "id": "ai.newnal.illi.media.uploadItem",
4848 "lexicon": 1
4949}

Compare other versions