I am trying to post a process group to NIFI using the REST API. I am local, so there is no authentication (yet) and everything is done as 'anonymous'. I am able to create a process group normally via the drag and drop. I am also up to do a PUT on an existing process group and a GET to retrieve all current process groups. My POST always returns a 409 Conflict (the name is unique for the new process group).
My header values are as follows:
Content-Type:application/json
Content-Encoding:gzip
and my JSON body looks like this:
{
"revision": {
"version": 0},
"processGroup": {
"position": {
"x": 2,
"y": 2
},
"parentGroupId": "<my-parent-group-id>",
"name": "SuperAwesomeProcessGroup",
"parent": {
"id": "<my-parent-group-id>",
"name": "NiFi Flow"
}
}
}
My POST URL is:
http://<host-url>:<host-port>/nifi-api/controller/process-groups/<my-parent-group-id>/process-group-...
This also fails if I use curl.
I am running version 0.7.4 of NIFI.