← Home

d2 0.1.2

Diesel2 prototype (proto1). Spec: metals.Topic:Diesel2 · design: metals.Topic:Diesel2Design

Service

Topics (markdown sources)

Language

Domain

Objects

Try it

curl -s https://d2.dieselapps.com/api/v2/diesel/run \
  -H 'content-type: application/json' -H 'authorization: Bearer $D2_TOKEN' \
  -d '{"spec":"$when hello (who) => (payload = \"hi \" + who)","story":"$send hello (who = \"d2\")\n$expect payload == \"hi d2\""}'

Reads are open; writes (PUT, POST, DELETE) need a bearer token. Admin API (/admin/*) is separate and token-only.