{ "opencollection": "1.0.0", "info": { "name": "Azure Cosmos DB REST Collections Documents API", "version": "2018-12-31" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Documents", "type": "folder" }, "items": [ { "info": { "name": "Cosmos DB List documents", "type": "http" }, "http": { "method": "GET", "url": "https://{account}.documents.azure.com/dbs/:databaseId/colls/:collectionId/docs", "params": [ { "name": "databaseId", "value": "", "type": "path" }, { "name": "collectionId", "value": "", "type": "path" } ] }, "docs": "Lists documents in a collection." }, { "info": { "name": "Cosmos DB Create document", "type": "http" }, "http": { "method": "POST", "url": "https://{account}.documents.azure.com/dbs/:databaseId/colls/:collectionId/docs", "params": [ { "name": "databaseId", "value": "", "type": "path" }, { "name": "collectionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new document." }, { "info": { "name": "Cosmos DB Get document", "type": "http" }, "http": { "method": "GET", "url": "https://{account}.documents.azure.com/dbs/:databaseId/colls/:collectionId/docs/:documentId", "params": [ { "name": "databaseId", "value": "", "type": "path" }, { "name": "collectionId", "value": "", "type": "path" }, { "name": "documentId", "value": "", "type": "path" } ] }, "docs": "Retrieves a document." }, { "info": { "name": "Cosmos DB Replace document", "type": "http" }, "http": { "method": "PUT", "url": "https://{account}.documents.azure.com/dbs/:databaseId/colls/:collectionId/docs/:documentId", "params": [ { "name": "databaseId", "value": "", "type": "path" }, { "name": "collectionId", "value": "", "type": "path" }, { "name": "documentId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces an existing document." }, { "info": { "name": "Cosmos DB Delete document", "type": "http" }, "http": { "method": "DELETE", "url": "https://{account}.documents.azure.com/dbs/:databaseId/colls/:collectionId/docs/:documentId", "params": [ { "name": "databaseId", "value": "", "type": "path" }, { "name": "collectionId", "value": "", "type": "path" }, { "name": "documentId", "value": "", "type": "path" } ] }, "docs": "Deletes a document." } ] } ], "bundled": true }