Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Nifi 1.1.0 rest API : Endpoint to upload a template ?

avatar

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

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 ?