Azure Cosmos DB is a a globally distributed multi-model databases that supports the document, graph, and key-value data models. It supports the DocumentDB API for creating, querying, and managing resources. This article is a reference for the DocumentDB REST API.
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.
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||Cosmos DB general availability|
|2014-08-21||DocumentDB public preview||February 29th, 2016|
Cosmos DB Resources
- Stored Procedures
- User Defined Functions
See Access control using the DocumentDB API for how to authorize requests. For general information about request and response options, see the following articles: