Public, no auth required. CORS is open, so you can call it from any origin.
Send multipart/form-data. Each copy is an independent Blooket CDN upload yielding 1 fresh link.
uploads). Letters, numbers, . - _ /curl -X POST https://jacorn.is.sped.dumb.today/api/public/upload \
-F "file=@photo.png" \
-F "copies=3"{
"ok": true,
"file": { "name": "photo.png", "size": 20481, "contentType": "image/png" },
"copies": 3,
"count": 3,
"mirrors": [
{ "label": "Blooket #1", "url": "https://..." },
{ "label": "Blooket #2", "url": "https://..." }
],
"errors": {}
}errors.Partial failures still return 200 with the mirrors that succeeded and an errors map.
const form = new FormData();
form.set("file", file);
form.set("copies", "5");
const res = await fetch("/api/public/upload", { method: "POST", body: form });
const { mirrors, count } = await res.json();