Support Questions

Find answers, ask questions, and share your expertise

Upload a NiFi template via nifi-api

avatar
Expert Contributor

Hi all,

I've exported a template from a NiFi instance, and I would like to import it in another instance via api (curl). I've seen the nifi-api documentation, but I can't find a way to do it. Anyone know how to do it?

Thank you!

1 ACCEPTED SOLUTION

avatar

Davide, take a look at https://github.com/aperepel/nifi-api-deploy

You can either use this script or peek at how it's doing the template import and instantiation. Good luck!

View solution in original post

3 REPLIES 3

avatar

Davide, take a look at https://github.com/aperepel/nifi-api-deploy

You can either use this script or peek at how it's doing the template import and instantiation. Good luck!

avatar
Expert Contributor

Hi Andrew, thank you! It's really useful!

avatar
Explorer

Where does Nifi store the created templates on the server? I am unable to locate the directory.