Start a Pipeline¶
Use this API to start or run a streaming pipeline. When the pipeline is started, it is in the active state.
To start or run the streaming pipelines, you must have the access to run Spark commands.
The following users can make this API call:
- Users who belong to the system-user or system-admin group.
- Users who belong to a group associated with a role that allows submitting a command.
- Users who belong to a role that allows the Quest resource.
Request API Syntax¶
curl -i -X PUT https://api.qubole.com/api/v1.2/pipelines/<pipeline_id>/start -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"
Sample API Request¶
curl -i -X PUT https://api.qubole.com/api/v1.2/pipelines/1/start -H "X-AUTH-TOKEN: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"