Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-23-2016 11:20 AM
In the NiFi rest api is it possible to define scope and parameters in the search-results endpoint? I would like to be able to limit searches to root processGroups and refine the search to match only on specific fields such as the name and not property values. Is this possible? Or are their alternitves to achieve this with the rest api when the UUIDs are unkown?
Created 05-23-2016 01:11 PM
No scoping that I'm aware of. However, take a closer look at the returned search results structure - it often contains details on the type of the item and parent.
Alternatively you can recurse from the root group and list contents instead of searching, but that requires more logic on the client side.
Created 05-23-2016 01:11 PM
No scoping that I'm aware of. However, take a closer look at the returned search results structure - it often contains details on the type of the item and parent.
Alternatively you can recurse from the root group and list contents instead of searching, but that requires more logic on the client side.
Created 05-24-2016 01:18 AM
Thanks for the reply Andrew. I ended up using your alternative solution. The search and filter approach ended up being too tedious and couldn't guarantee accuracy.