×
Back to Geneos FAQ
Internal documentation only
This page has been marked as draft.
Rest API - Set More Than 100 XPaths
Problem Copied
I need to obtain more than 100 paths, but based on the documentation Gateway Commands (itrsgroup.com) there is a limit to XPath matching 100. Is there a way to override this?
{"error":"Command target matches at least 122 items; limit is 100"}
Solution Copied
This can be done using the limit option. It should look something like below:
curl -u import -X GET -s --data '{"target":"//dataview", "limit":250, "command":"/SNOOZE:manualAllMe"}' http://servername:port/rest/xpaths/commandTargets
["Geneos"]
["Geneos > Netprobe"]
["FAQ"]