Common tasks using the Azure Cosmos DB REST API
This topic provides a list of the most common tasks in Azure Cosmos DB and links to articles that show how to perform these tasks by using the Azure Cosmos DB REST API. For a sample showing how to perform REST operations in .NET, see REST from .NET Sample.
Databases
Documents
- Create a Document
- List Documents
- Get a Document
- Replace a Document
- Patch a Document
- Delete a Document
- Query Databases
Attachments
Document Collections
- Create a Collection
- List Collections
- Get a Collection
- Delete a Collection
- Get Collection Partition Key Ranges
- Query Collections
Stored Procedures
- Create a Stored Procedure
- List Stored Procedures
- Delete a Stored Procedure
- Execute a Stored Procedure
- Query Stored Procedures
User Defined Functions
- Create a User Defined Function
- Replace a User Defined Function
- List User Defined Functions
- Delete a User Defined Function
- Query User Defined Functions
Triggers
Users
Permissions
- Create a Permission
- List Permissions
- Get a Permission
- Replace a Permission
- Delete a Permission
- Query Permissions