Upload an image
Media
Upload an image
Uploads an image asset and stores its metadata.
The image bytes are accepted as { type: "Buffer", data: number[] } (RTK-Query encoded buffer) and uploaded to private object storage (Supabase).
Returns the image record including its _id and a signed URL valid for 6 hours.
POST
Upload an image