ai.newnal.illi.media.uploadItem

illi-service.newnal.id

Documentation

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.

main procedure

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.

Input

Encodingmultipart/form-data

Accepts raw binary data

Output

Encodingapplication/json

Errors

UnsupportedMedia
MediaTooLarge
UploadThrottled
ScopeMissing
NotAllowed
PdsUnavailable
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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.",
  "errors": [
    {
      "name": "UnsupportedMedia"
    },
    {
      "name": "MediaTooLarge"
    },
    {
      "name": "UploadThrottled"
    },
    {
      "name": "ScopeMissing"
    },
    {
      "name": "NotAllowed"
    },
    {
      "name": "PdsUnavailable"
    }
  ],
  "input": {
    "encoding": "multipart/form-data"
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "item": {
          "ref": "ai.newnal.illi.media.defs#itemView",
          "type": "ref"
        }
      },
      "required": [
        "item"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@