Logo
Logo

Postman Collection

A Postman collection with a request for every GenesisDB route.

Explore and test the HTTP API without writing code: commits, preconditions, fetch with bounds, queries, schemas, erasure, status, backup and restore. Every request has assertions, so the collection doubles as a smoke test for your deployment.

The collection is part of the GenesisDB repository in docs/postman. Import GenesisDB-2.postman_collection.json together with the local environment into Postman or Insomnia, set the token, and run it.

Run it from the command line with newman:

bash
npx newman run GenesisDB-2.postman_collection.json \
  -e GenesisDB-2-local.postman_environment.json \
  --env-var token=$GENESISDB_AUTH_TOKEN