Ready to talk about your DBaaS needs? Meet with us. Win a Tesla.* .
Accessing Cassandra with the Stargate Document API
Modern applications are built on APIs, and JSON documents are the most common way of expressing data payloads on those APIs. Stargate makes it easy to serve a document-style API over REST directly from any Cassandra database, allowing you to save and search schemaless JSON documents. The traditional practice for Cassandra has been to define all your schema up front.
What Is A Document API?
A Document API represents your data as JSON documents organized in collections, similar to document databases such as MongoDB. Interact with data stored in collections using familiar REST/HTTP methods (GET/PUT/POST/DELETE) to work directly with your JSON documents, without having to learn a new database query language. To use the API, you create a namespace for your application, which can contain one or more named collections, which in turn can contain multiple documents. The documents can have similar or different structures - that’s entirely up to your application and how you want to represent the data!
Why Use The Document API With Cassandra?
How To Get The Stargate Document API
Stargate is now available in DataStax Astra. If you have an Astra database, the Stargate GraphQL API is already enabled. If you have access to your own self-hosted Cassandra cluster, see the Stargate documentation for a . Stargate is also distributed with users and .
Check out DataStax’s , a fullstack app that uses Stargate’s Document API, Astra, and Netlify.
Try It Out
With the Stargate Document API you can save and search schemaless JSON documents in Cassandra. Here’s two ways you can try it yourself.
Items related to Stargate Document API
Everything you need to get up to speed on all things Stargate.
Stargate Discord Server
Join our discord room to chat with the contributors and meet the community.
Learn about how you can get involved in the Stargate project.