Bundle Id
A bundle can be downloaded by using the combination of its unique id and version. The unique id is an id assigned to the bundle when the first version of the bundle is uploaded to NiFi Registry. This id is returned in the response of a successful upload.
To download a bundle by its id and version, a GET
request can be made to the following end-point:
/nifi-registry-api/bundles/{bundleId}/versions/{version}/content
The Content-Type
of the response is application/octet-stream
.
An example of using curl
to download my-processors-1.0.0.nar
by id and version would be the following:
curl http://localhost:18080/nifi-registry-api/bundles/3db78035-e3ba-4cbf-820e-022f292bd68c/versions/1.0.0/content > my-processors-1.0.0.nar