Free for now while in alpha pre-release-candidate phase
Home/Documentation

API Reference

Complete reference for the jsondb.cloud REST API (v1).

Base URL

https://api.jsondb.cloud

Authentication

All requests require an API key in the Authorization header:

Authorization: Bearer jdb_sk_live_...

All Endpoints

MethodPathDescription
POST/{ns}/{collection}Create a document
GET/{ns}/{collection}/{id}Get a document
PUT/{ns}/{collection}/{id}Replace a document
PATCH/{ns}/{collection}/{id}Partial update (merge or JSON Patch)
DELETE/{ns}/{collection}/{id}Delete a document
GET/{ns}/{collection}List & query documents
POST/{ns}/{collection}/_bulkBulk operations
PUT/{ns}/{collection}/_schemaSet collection schema
GET/{ns}/{collection}/_schemaGet collection schema
POST/{ns}/{collection}/_validateDry-run schema validation
POST/{ns}/{collection}/_webhooksRegister webhook
GET/{ns}/{collection}/_webhooksList webhooks
GET/{ns}/{collection}/{id}/versionsList document versions
POST/{ns}/{collection}/{id}/versions/{v}/restoreRestore to version
POST/{ns}/{collection}/_importBulk import (JSON/CSV/NDJSON)
GET/{ns}/{collection}/_exportExport collection