{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tessell APIs activity-center DB Collection API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "DB Collection",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all collections for the given database-id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{server}/services/:service-id/databases/:database-id/collections",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "page-size",
                "value": "",
                "type": "query",
                "description": "Page size for get query"
              },
              {
                "name": "page-offset",
                "value": "",
                "type": "query",
                "description": "Page offset for get query"
              },
              {
                "name": "time-zone",
                "value": "",
                "type": "query",
                "description": "Timezone for return data"
              }
            ]
          },
          "docs": "Get all collections for the given database-id"
        },
        {
          "info": {
            "name": "Create a collection for given database ID",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{server}/services/:service-id/databases/:database-id/collections",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a collection for given database ID"
        },
        {
          "info": {
            "name": "Get all collections for given database ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get all collections for given database ID"
        },
        {
          "info": {
            "name": "Update collection for given collection ID",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update collection for given collection ID"
        },
        {
          "info": {
            "name": "Delete collection for given collection ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete collection for given collection ID"
        },
        {
          "info": {
            "name": "Load collection into memory for given collection ID",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/load",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Load collection into memory for given collection ID"
        },
        {
          "info": {
            "name": "Release collection from memory for given collection name",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/release",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Release collection from memory for given collection name"
        },
        {
          "info": {
            "name": "Get all indices for the given collection ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/indices",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "column-name",
                "value": "",
                "type": "query",
                "description": "Column name"
              },
              {
                "name": "page-size",
                "value": "",
                "type": "query",
                "description": "Page size for get query"
              },
              {
                "name": "page-offset",
                "value": "",
                "type": "query",
                "description": "Page offset for get query"
              },
              {
                "name": "time-zone",
                "value": "",
                "type": "query",
                "description": "Timezone for return data"
              }
            ]
          },
          "docs": "Get all indices for the given collection ID"
        },
        {
          "info": {
            "name": "Create a index for given collection ID",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/indices",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a index for given collection ID"
        },
        {
          "info": {
            "name": "Get index for the given index ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/indices/:index-id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "index-id",
                "value": "",
                "type": "path",
                "description": "Index ID"
              }
            ]
          },
          "docs": "Get index for the given index ID"
        },
        {
          "info": {
            "name": "Delete collection for given collection name",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{server}/services/:service-id/databases/:database-id/collections/:collection-id/indices/:index-id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "service-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "database-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "collection-id",
                "value": "",
                "type": "path"
              },
              {
                "name": "index-id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete collection for given collection name"
        }
      ]
    }
  ],
  "bundled": true
}