This API provides endpoints to upload and download JSON data using a unique ID. Data is stored in a KV namespace with a 30-day expiration.
- Description: Uploads a JSON payload.
- Headers:
Content-Type: application/json
- Body:
- Raw JSON (max 5 MB)
- Response:
{ "id": "<unique_id>" }(JSON)
400- Only JSON allowed / Invalid JSON413- Payload too large
- Description: Downloads the JSON payload by ID.
- Response:
- Raw JSON (as uploaded)
404- Not found
- Uploaded data expires after 30 days of inactivity.