Upload Bundle

A bundle can be uploaded to a bucket by making a POST request to the following REST end-point:

/nifi-registry-api/buckets/<bucketId>/bundles/<bundleType>

Replace bucketId with the id of the bucket where the bundle is being uploaded to and bundleType with the type of bundle being uploaded. Currently, the only supported bundle type is a https://nifi.apache.org/docs/nifi-docs/html/developer-guide.html#nars which can be specified as nifi-nar.

The Content-Type of the request is expected to be multipart/form-data. An example of using curl to upload my-processors-1.0.0.nar would be the following:

curl -v -F file=@/path/to/my-processors-1.0.0.nar http://localhost:18080/nifi-registry-api/buckets/de8e08c9-592d-4e10-affe-b3752698f1d9/bundles/nifi-nar