Skip to content

POST/upload

Mock file upload

Simulates upload — no actual file storage. Accepts raw binary, multipart form, or JSON with a filename hint. Returns a fake CDN URL so your frontend can wire the full happy path without real object storage.

ReturnsUploadResponse

Response examples

201Upload response

application/json example derived from schema

{
  "id": "00000000-0000-4000-8000-000000000000",
  "filename": "document.pdf",
  "url": "https://example.com"
}

Released under the MIT License.