hermannpencole / nifi-swagger-client

Client swagger for nifi with security
Apache License 2.0
38 stars 20 forks source link

cannot change state of a ProcessGroupEntity ?? #10

Closed naveenCotha closed 6 years ago

naveenCotha commented 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?

naveenCotha commented 6 years ago

Found that it was under https://github.com/hermannpencole/nifi-swagger-client/blob/master/docs/FlowApi.md#scheduleComponents