Retrieve apps using XML API

L4 Transporter

Retrieve apps using XML API

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

Tags (2)
SRA
L4 Transporter

Re: Retrieve apps using XML API

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

L4 Transporter

Re: Retrieve apps using XML API

Thank you!

It works.

Not applicable

Re: Retrieve apps using XML API

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!

L0 Member

Re: Retrieve apps using XML API

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

Re: Retrieve apps using XML API

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

SRA
L4 Transporter

Re: Retrieve apps using XML API

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.

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 Live Community as a whole!

The Live Community thanks you for your participation!