Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
POST v3/namespaces/<namespaceid>/start 

Request Body: ['{“appId”:”<pipelinename>”, “programType”:”workflow”, 
                  “programId”:”DataPipelineWorkflow”, "runtimeargs": { "arg1":"val1" } }']

Sample Call

Code Block
Request: curl -X POST http://localhost:11015/v3/namespaces/default/start 
-d '[{"appId": "Test", "programType": "workflow", "programId":"DataPipelineWorkflow", "runtimeargs": { "path":"gs://mybucket/csv/data.txt" }}]'

Response: [{"statusCode":200,"runId":"e6523380-a73a-11ea-a21e-acde48001122","appId":"Test","programType":"Workflow","programId":"DataPipelineWorkflow"}]

...