{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure AccessControlClient AccessConnector Items API", "version": "2020-08-01-preview" }, "items": [ { "info": { "name": "Items", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Azure List Items", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dbs/:databaseId/colls/:containerId/docs", "headers": [ { "name": "x-ms-version", "value": "" }, { "name": "x-ms-max-item-count", "value": "" }, { "name": "x-ms-continuation", "value": "" }, { "name": "x-ms-documentdb-partitionkey", "value": "" } ], "params": [ { "name": "databaseId", "value": "", "type": "path", "description": "The ID of the database." }, { "name": "containerId", "value": "", "type": "path", "description": "The ID of the container (collection)." } ] }, "docs": "Returns a list of items (documents) under the specified container." }, { "info": { "name": "Microsoft Azure Create an Item", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/dbs/:databaseId/colls/:containerId/docs", "headers": [ { "name": "x-ms-version", "value": "" }, { "name": "x-ms-documentdb-partitionkey", "value": "" }, { "name": "x-ms-documentdb-is-upsert", "value": "true" } ], "params": [ { "name": "databaseId", "value": "", "type": "path", "description": "The ID of the database." }, { "name": "containerId", "value": "", "type": "path", "description": "The ID of the container (collection)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new item (document) in the specified container." }, { "info": { "name": "Microsoft Azure Get an Item", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/dbs/:databaseId/colls/:containerId/docs/:itemId", "headers": [ { "name": "x-ms-version", "value": "" }, { "name": "x-ms-documentdb-partitionkey", "value": "" } ], "params": [ { "name": "databaseId", "value": "", "type": "path", "description": "The ID of the database." }, { "name": "containerId", "value": "", "type": "path", "description": "The ID of the container (collection)." }, { "name": "itemId", "value": "500123", "type": "path", "description": "The ID of the item." } ] }, "docs": "Retrieves an item (document) by its ID and partition key." }, { "info": { "name": "Microsoft Azure Replace an Item", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/dbs/:databaseId/colls/:containerId/docs/:itemId", "headers": [ { "name": "x-ms-version", "value": "" }, { "name": "x-ms-documentdb-partitionkey", "value": "" } ], "params": [ { "name": "databaseId", "value": "", "type": "path", "description": "The ID of the database." }, { "name": "containerId", "value": "", "type": "path", "description": "The ID of the container (collection)." }, { "name": "itemId", "value": "500123", "type": "path", "description": "The ID of the item." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces the entire item (document)." }, { "info": { "name": "Microsoft Azure Delete an Item", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/dbs/:databaseId/colls/:containerId/docs/:itemId", "headers": [ { "name": "x-ms-version", "value": "" }, { "name": "x-ms-documentdb-partitionkey", "value": "" } ], "params": [ { "name": "databaseId", "value": "", "type": "path", "description": "The ID of the database." }, { "name": "containerId", "value": "", "type": "path", "description": "The ID of the container (collection)." }, { "name": "itemId", "value": "500123", "type": "path", "description": "The ID of the item." } ] }, "docs": "Deletes an item (document) from the container." } ] } ], "bundled": true }