{
  "opencollection": "1.0.0",
  "info": {
    "name": "TiDB Cloud Data Service OPEN Deployment API",
    "version": "v1beta1"
  },
  "items": [
    {
      "info": {
        "name": "Deployment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all deployments for a Data App.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dataservice.tidbapi.com/v1beta1/dataApps/:dataAppId/deployments",
            "params": [
              {
                "name": "dataAppId",
                "value": "",
                "type": "path",
                "description": "The ID of the Data App. You can get the ID from the response of [List all Data Apps in a project](#tag/Data-App/operation/DataApp_ListDataApps)."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return. If it is not set or set to `0`, the default value `100` will be used."
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "The identifier of the current page, used to retrieve the next page of results. You can get this value from the `nextPageToken` field in the previous response. To access the first page of data, omit this field."
              }
            ]
          },
          "docs": "List all deployments for a Data App."
        },
        {
          "info": {
            "name": "Create a deployment for a Data App.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dataservice.tidbapi.com/v1beta1/dataApps/:dataAppId/deployments",
            "params": [
              {
                "name": "dataAppId",
                "value": "",
                "type": "path",
                "description": "The ID of the Data App. You can get the ID from the response of [List all Data Apps in a project](#tag/Data-App/operation/DataApp_ListDataApps)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a deployment for a Data App."
        },
        {
          "info": {
            "name": "Get a deployment by ID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dataservice.tidbapi.com/v1beta1/dataApps/:dataAppId/deployments/:deploymentId",
            "params": [
              {
                "name": "dataAppId",
                "value": "",
                "type": "path",
                "description": "The ID of the Data App. You can get the ID from the response of [List all Data Apps in a project](#tag/Data-App/operation/DataApp_ListDataApps)."
              },
              {
                "name": "deploymentId",
                "value": "",
                "type": "path",
                "description": "The ID of the deployment, which is returned when you [Create a deployment](#tag/Deployment/operation/Deployment_CreateDeployment)."
              }
            ]
          },
          "docs": "Get a deployment by ID."
        }
      ]
    }
  ],
  "bundled": true
}