Support Questions

Find answers, ask questions, and share your expertise

Nifi 1.1.0 rest API : Endpoint to upload a template ?

avatar
Contributor

Is there an endpoint in Nifi 1.1.0 rest API to upload a template. The endpoints listed in the documentation available here https://nifi.apache.org/docs/nifi-docs/rest-api/ only allow to download and delete a template.

Thank you for your help

1 ACCEPTED SOLUTION

avatar
Rising Star

Templates are owned by a process group (whether that is the root process group or one nested in the canvas). You can upload templates by making use of the '/process-groups/{id}/templates/upload' to upload a template to a particular process group.

View solution in original post

2 REPLIES 2

avatar
Rising Star

Templates are owned by a process group (whether that is the root process group or one nested in the canvas). You can upload templates by making use of the '/process-groups/{id}/templates/upload' to upload a template to a particular process group.

avatar
Contributor

Very Nice answer, thank you ! while checking Process group endpoints I noticed that the following endpoint is also available :

POST /process-groups/{id}/templates/import
What is the difference between /import and /upload ?