Azure Cosmos DB: REST API Reference
Azure Cosmos DB is a a globally distributed multi-model databases that supports the document, graph, and key-value data models. The content in this section is for creating, querying, and managing document resources using the SQL API via REST.
The Azure Cosmos DB REST API provides programmatic access to Azure Cosmos DB resources to create, query, and delete databases, document collections, and documents. To perform operations on Azure Cosmos DB resources, you send HTTPS requests with a supported method:
DELETE to an endpoint that targets a resource collection or a specific resource. This section contains information about working with resources by using the REST API.
The follow video gives a great introduction to Azure Cosmos DB REST APIs.
Supported REST API Versions
The following table lists the supported REST API versions by the Azure Cosmos DB service. The version must be specified via the
x-ms-version header in every request. If not specified, the service defaults to the latest version
|Version||Change introduced||Retirement date|
|2017-01-19||Lowered minimum throughput for partitioned collections to 2500 RU/s|
|2015-06-03||Order By support|
|2015-04-08||DocumentDB general availability (now part of Azure Cosmos DB)|
|2014-08-21||DocumentDB public preview (now part of Azure Cosmos DB)||February 29th, 2016|
Cosmos DB Resources
- Stored Procedures
- User Defined Functions
See Access control for how to authorize requests. For general information about request and response options, see the following articles: