Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi 1.1.0 rest API : Endpoint to upload a template ?

Solved Go to solution
Highlighted

Nifi 1.1.0 rest API : Endpoint to upload a template ?

New 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

Accepted Solutions

Re: Nifi 1.1.0 rest API : Endpoint to upload a template ?

Contributor

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.

2 REPLIES 2

Re: Nifi 1.1.0 rest API : Endpoint to upload a template ?

Contributor

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.

Re: Nifi 1.1.0 rest API : Endpoint to upload a template ?

New 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 ?
Don't have an account?
Coming from Hortonworks? Activate your account here