curl --request PUT
--url http://localhost:6789/api/pipelines/arwen_starlight
-H 'Content-Type: application/json'
-H 'Cookie: oauth_token=some_really_long_string'
-H 'X-API-KEY: zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2'
-d '{"pipeline": {"type": "integration"}}'
{
"pipeline": {
"data_integration": null,
"description": null,
"executor_config": {},
"executor_count": 1,
"executor_type": null,
"name": "arwen-starlight",
"notification_config": {},
"type": "integration",
"updated_at": null,
"uuid": "arwen_starlight",
"spark_config": {},
"blocks": [],
"callbacks": [],
"conditionals": [],
"widgets": [],
"extensions": {}
}
}
Pipelines
Update pipeline
curl --request PUT
--url http://localhost:6789/api/pipelines/arwen_starlight
-H 'Content-Type: application/json'
-H 'Cookie: oauth_token=some_really_long_string'
-H 'X-API-KEY: zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2'
-d '{"pipeline": {"type": "integration"}}'
{
"pipeline": {
"data_integration": null,
"description": null,
"executor_config": {},
"executor_count": 1,
"executor_type": null,
"name": "arwen-starlight",
"notification_config": {},
"type": "integration",
"updated_at": null,
"uuid": "arwen_starlight",
"spark_config": {},
"blocks": [],
"callbacks": [],
"conditionals": [],
"widgets": [],
"extensions": {}
}
}
PUT /api/pipelines/:uuid
All default attributes for a pipeline may be updated in addition to the following:
Array of block objects. See the blocks section for more details.
Array of callback block objects. Same shape as
blocks.Array of conditional block objects. Same shape as
blocks.Array of extension block objects. Same shape as
blocks.Array of schedule trigger objects.
curl --request PUT
--url http://localhost:6789/api/pipelines/arwen_starlight
-H 'Content-Type: application/json'
-H 'Cookie: oauth_token=some_really_long_string'
-H 'X-API-KEY: zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2'
-d '{"pipeline": {"type": "integration"}}'
{
"pipeline": {
"data_integration": null,
"description": null,
"executor_config": {},
"executor_count": 1,
"executor_type": null,
"name": "arwen-starlight",
"notification_config": {},
"type": "integration",
"updated_at": null,
"uuid": "arwen_starlight",
"spark_config": {},
"blocks": [],
"callbacks": [],
"conditionals": [],
"widgets": [],
"extensions": {}
}
}
Was this page helpful?