01-24-2013 08:48 AM
This query is working for me on 5.0:
http://hostname/esp/restapi.esp?key=keyvalue&type=config&action=get&xpath=/config/predefined/application
I would like to query for apps belonging to subcategory=database or technology=peer-2-peer. I tried these paths, and the result is success but no contents.
xpath=/config/predefined/application-filter
xpath=/config/predefined/application-filter/database
xpath=/config/predefined/application-filter=peer-to-peer
01-24-2013 12:46 PM
The API returns a full list, or a specific app. For other type of filtering, you need to do it as post-processing of the returned data.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!