{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Azure Azure Cosmos DB REST API",
    "version": "2018-12-31"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/dbs",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              },
              {
                "name": "x-ms-max-item-count",
                "value": ""
              },
              {
                "name": "x-ms-continuation",
                "value": ""
              }
            ]
          },
          "docs": "Returns a list of databases under the database account."
        },
        {
          "info": {
            "name": "Microsoft Azure Create a Database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{accountName}.documents.azure.com/dbs",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new database in the database account."
        },
        {
          "info": {
            "name": "Microsoft Azure Get a Database",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "databaseId",
                "value": "",
                "type": "path",
                "description": "The ID of the database."
              }
            ]
          },
          "docs": "Retrieves a database resource by its ID."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete a Database",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "databaseId",
                "value": "",
                "type": "path",
                "description": "The ID of the database."
              }
            ]
          },
          "docs": "Deletes a database and all child resources (containers, items, etc.)."
        }
      ]
    },
    {
      "info": {
        "name": "Containers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Containers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              },
              {
                "name": "x-ms-max-item-count",
                "value": ""
              },
              {
                "name": "x-ms-continuation",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "databaseId",
                "value": "",
                "type": "path",
                "description": "The ID of the database."
              }
            ]
          },
          "docs": "Returns a list of containers under the specified database."
        },
        {
          "info": {
            "name": "Microsoft Azure Create a Container",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls",
            "headers": [
              {
                "name": "x-ms-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "databaseId",
                "value": "",
                "type": "path",
                "description": "The ID of the database."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new container under the specified database."
        },
        {
          "info": {
            "name": "Microsoft Azure Get a Container",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls/:containerId",
            "headers": [
              {
                "name": "x-ms-version",
                "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": "Retrieves a container resource by its ID."
        },
        {
          "info": {
            "name": "Microsoft Azure Replace a Container",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls/:containerId",
            "headers": [
              {
                "name": "x-ms-version",
                "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the entire container resource."
        },
        {
          "info": {
            "name": "Microsoft Azure Delete a Container",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls/:containerId",
            "headers": [
              {
                "name": "x-ms-version",
                "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": "Deletes a container and all contained items."
        }
      ]
    },
    {
      "info": {
        "name": "Items",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/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": "https://{accountName}.documents.azure.com/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": "https://{accountName}.documents.azure.com/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": "https://{accountName}.documents.azure.com/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": "https://{accountName}.documents.azure.com/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."
        }
      ]
    },
    {
      "info": {
        "name": "Stored Procedures",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Azure List Stored Procedures",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls/:containerId/sprocs",
            "headers": [
              {
                "name": "x-ms-version",
                "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 stored procedures under the specified container."
        },
        {
          "info": {
            "name": "Microsoft Azure Create a Stored Procedure",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{accountName}.documents.azure.com/dbs/:databaseId/colls/:containerId/sprocs",
            "headers": [
              {
                "name": "x-ms-version",
                "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new stored procedure in the specified container."
        }
      ]
    }
  ],
  "bundled": true
}