Retrieve all Watchpoint configurations (GET)
The GETcommand views the XML representation and content of all Watchpoints. To perform this procedure, you must have Operator-level access, or higher.
Command overview
Method — GET
Resource — Watchpoints
Resource identifier — Integer that identifies the Watchpoint (the Watchpoint ID)
Parameters
Parameter | Description | Example |
---|---|---|
usr 1 | A valid system user name (case sensitive) | usr=myUsername |
pwd 1 | The password that corresponds to the usr (user name) parameter (case sensitive) | pwd=myPassword |
tid | The transaction identifier (tid). You must specify the tid for all stateful operations. Do not include it in stateless operations. | tid=5456 |
1 This parameter is required.
Sample request
https://10.0.0.1/rest/configurationapi/watchpointapi/1.0/watchpoints?usr=jdoe&pwd=pa55w0rd!&tid=4738
Sample successful response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="success"></status>
<result>
<watchpoints>
<watchpoint id="31" type="object" active="false" activemib="true" filterselection="all">
<name><![CDATA[Potential Problem - Excessive TCP Retransmissions]]></name>
<description><![CDATA[Matches pages with high retransmission counts]]></description>
<filter active="true">
<description><![CDATA[Excessive retransmissions]]></ description>
<name><![CDATA[Excessive retransmissions]]></name>
<expression><![CDATA[(tcp_rtx > 10)]]></expression>
</filter>
<performance metric="ssl" tolerated="5" frustrated="14"/>
<performance metric="tcp" tolerated="6" frustrated="15"/>
</watchpoint>
<watchpoint id="26" type="object" active="false" activemib="false" filterselection="all">
<name><![CDATA[Traffic - Text (Uncompressed)]]></name>
<description><![CDATA[All uncompressed text - Note: requires custom field
"Text compression" to be approved and turned on]]></description>
<filter active="true">
<description><![CDATA[No text compression]]></ description>
<name><![CDATA[No text compression]]></name>
<expression><![CDATA]></ expression>
</filter>
</watchpoint>
</watchpoints>
</result>
</response>
<response>
<status result="success"></status>
<result>
<watchpoints>
<watchpoint id="31" type="object" active="false" activemib="true" filterselection="all">
<name><![CDATA[Potential Problem - Excessive TCP Retransmissions]]></name>
<description><![CDATA[Matches pages with high retransmission counts]]></description>
<filter active="true">
<description><![CDATA[Excessive retransmissions]]></ description>
<name><![CDATA[Excessive retransmissions]]></name>
<expression><![CDATA[(tcp_rtx > 10)]]></expression>
</filter>
<performance metric="ssl" tolerated="5" frustrated="14"/>
<performance metric="tcp" tolerated="6" frustrated="15"/>
</watchpoint>
<watchpoint id="26" type="object" active="false" activemib="false" filterselection="all">
<name><![CDATA[Traffic - Text (Uncompressed)]]></name>
<description><![CDATA[All uncompressed text - Note: requires custom field
"Text compression" to be approved and turned on]]></description>
<filter active="true">
<description><![CDATA[No text compression]]></ description>
<name><![CDATA[No text compression]]></name>
<expression><![CDATA]></ expression>
</filter>
</watchpoint>
</watchpoints>
</result>
</response>
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*