Skip to content
Logistics & shipping

miataru.com

Miataru sandbox and mock API

The Miataru API is very simple and straight forward. Generally you're posting (HTTP POST) a JSON formatted request to a service method locations and you get back a JSON formatted answer. Please take into consideration that this has the request-for-comment status and that it can change while there's work done on client and server applications. Versioning therefore is done by prepending the version Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
5
Collections
-
Event types
-
example request
curl https://your-miataru.slurry.io/v1/GetLocationGeoJSON/123 \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

All 5.

  • POST/GetLocation
  • GET/GetLocationGeoJSON/{deviceID}
  • POST/GetLocationHistory
  • POST/GetVisitorHistory
  • POST/UpdateLocation