- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to upload .json processor group using curl / API
- Labels:
-
Apache NiFi
Created ‎11-13-2022 11:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have a use, where i need to upload the processor group (.json) file from the curl / API. Please suggest.
OR
can we do this operation in NiFi CLI without using NiFi registry.
Created ‎12-02-2023 09:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sam!
i am dealing with same issue as you, i see you made a question a year ago and i wonder, did you find a way to upload a Definition file from API rest ?
as you i have been tried and tired to build a process group with the file.json but documentation is not clear and does not offer an example to build the request.
i upload a file.json manually and checked the nifi-request.log and the only i see is this pettiotion " http://localhost:8081/process-groups/{id}/process-groups/upload" as "ok"
did you find a way to build the body to send this request ?
thanks a lot, have a nice day.
