Media
Upload assets for posts.
| Method | Path | Description |
|---|---|---|
| GET | /media | List assets |
| POST | /media/upload-url | Presigned upload URL (PUT) |
| POST | /media/confirm | Confirm after client upload |
| POST | /media/upload-from-url | Server fetches { "url" } |
| DELETE | /media/:id | Delete |
Upload from URL (simplest)
curl -X POST https://socioi.com/api/public/v1/media/upload-from-url \
-H "Authorization: si_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/photo.jpg"}'
Use the returned id in mediaIds when creating a post.
Signed upload (browser / large files)
POST /media/upload-urlwithfileName+contentTypePUTthe file bytes touploadUrlPOST /media/confirmwithkey,fileName,contentType,sizeBytes
Max remote fetch size for upload-from-url: 50 MB.