Closed naveenCotha closed 6 years ago
I want to change the state of the ProcessGroupEntity to running, curl call looks something like
curl -i -H 'Content-Type: application/json' -XPUT -d '{"id":"23eb324b-5829-1857-36ba-bde6f6763d9d","state":"RUNNING"}' localhost:8080/nifi-api/flow/process-groups/23eb324b-5829-1857-36ba-bde6f6763d9d
Is it possible to achieve this?
Found that it was under https://github.com/hermannpencole/nifi-swagger-client/blob/master/docs/FlowApi.md#scheduleComponents
I want to change the state of the ProcessGroupEntity to running, curl call looks something like
curl -i -H 'Content-Type: application/json' -XPUT -d '{"id":"23eb324b-5829-1857-36ba-bde6f6763d9d","state":"RUNNING"}' localhost:8080/nifi-api/flow/process-groups/23eb324b-5829-1857-36ba-bde6f6763d9d
Is it possible to achieve this?