APIs - Azure Cosmos DB
SQL API
The SQL API is a document-oriented API that supports the creation and management of JSON documents. To use the SQL API, you can use tools like the Azure portal, Azure Cosmos DB SDKs for .NET, Java, Node.js, and other programming languages. To query data using the SQL API, you can use SQL-like syntax to filter, sort, and project data.
MongoDB API
The MongoDB API is a document-oriented API that provides compatibility with the MongoDB wire protocol. This means that you can use existing MongoDB tools and libraries to interact with Azure Cosmos DB. To use the MongoDB API, you can use tools like the MongoDB shell, the MongoDB driver for your programming language, or the Azure portal. To query data using the MongoDB API, you can use the MongoDB query language.
Postgres API
Cassandra API
The Cassandra API is a column-family API that provides compatibility with Apache Cassandra. This means that you can use existing Cassandra tools and libraries to interact with Azure Cosmos DB. To use the Cassandra API, you can use tools like the cqlsh shell, the Cassandra driver for your programming language, or the Azure portal. To query data using the Cassandra API, you can use the Cassandra Query Language (CQL).
Gremlin API
The Gremlin API is a graph API that provides compatibility with Apache TinkerPop and the Gremlin graph traversal language. This means that you can use existing TinkerPop and Gremlin tools and libraries to interact with Azure Cosmos DB. To use the Gremlin API, you can use tools like the Gremlin console, the TinkerPop driver for your programming language, or the Azure portal. To query data using the Gremlin API, you can use the Gremlin traversal language.