Retrieve apps using XML API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Retrieve apps using XML API

L5 Sessionator

Hi, all

I'm trying to retrieve application datail information which can be seen in CLI 'show predefined application' by using XML API.

Is there any way to retrieve predefined informations?

Regards,

Emr

1 accepted solution

Accepted Solutions

L4 Transporter

http://hostname/esp/restapi.esp?key=keyvalue&type=config&action=get&xpath=/config/predefined/application

View solution in original post

6 REPLIES 6

L4 Transporter

http://hostname/esp/restapi.esp?key=keyvalue&type=config&action=get&xpath=/config/predefined/application

L5 Sessionator

Thank you!

It works.

Along the same lines here, is there a comprehensive document available that has all of the possible arguments (and syntax) for restapi.esp?

For instance, I have been searching for a way to get the current "ACC Risk Factor" value from this api with no luck so far....

Also, there are quite a few other targeted statistics I would like to get..

Anyone know if such a resource exists??

Thanks!

I very much need this as well.  The API can't really be used in a functional way without some documentation into all of the possible calls available.

L6 Presenter

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

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.

  • 1 accepted solution
  • 3863 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!