Start Deployment
- POST /api/v1.2/airflow_deployment/(<cluster_label> or <cluster_id>)/deploy
Use this API to start deployment on Airflow cluster.
Required Role
A user with system-admin
role or update access to cluster can run this API.
Syntax
curl -i -X POST -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" \
'https://api.qubole.com/api/v1.2/airflow_deployment/(<cluster_label> or <cluster_id>)/deploy' \
Note
The above syntax uses https://api.qubole.com as the endpoint. For more information about endpoints to access QDS see Supported Qubole Endpoints on Different Cloud Providers.
Sample Query
curl -i -X POST -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" \
'https://api.qubole.com/api/v1.2/airflow_deployment/7/deploy' \
Sample Response
{
"message": "New deployment having deployment id 3 started on cluster 7. "
}