REST API surface
JSON-first REST over the core resources. Every verb, ETag concurrency,
content negotiation (?format=csv|json|xml), a two-phase
transaction, a rate-limited route, an artificial delay, and a status echo.
Mutating verbs require the X-API-Key header.
Send X-API-Key: ordel-test-key-2026 on POST/PUT/PATCH/DELETE.
Resources
| Resource | Collection | Item |
|---|---|---|
| quotes |
/api/quotes
|
/api/quotes/{id} |
| policies |
/api/policies
|
/api/policies/{id} |
| claims |
/api/claims
|
/api/claims/{id} |
| agents |
/api/agents
|
/api/agents/{id} |
Special routes
GET /api/limited— 429 after 5/minGET /api/slow?ms=— artificial delayGET /api/status/{code}— echo any statusPOST /api/txn→POST /api/txn/{id}/commit— two-phase commitGET /api/secure/bearer— Bearer-gatedGET /api/secure/basic— HTTP Basic-gated?format=csv·?format=xml
Try a live call
// click Fetch JSON