doc-exports/docs/waf/api-ref/waf_02_0043.html
Li, Qiao 914011d51b waf_api_1109
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
2022-11-16 15:31:27 +00:00

534 lines
46 KiB
HTML

<a name="waf_02_0043"></a><a name="waf_02_0043"></a>
<h1 class="topictitle1">Adding a CC Attack Protection Rule</h1>
<div id="body36089529"><div class="section" id="waf_02_0043__section326588"><h4 class="sectiontitle">Function Description</h4><p class="msonormal" id="waf_02_0043__p37570714">This API is used to add a CC attack protection rule.</p>
</div>
<div class="section" id="waf_02_0043__section2939295"><h4 class="sectiontitle">URI</h4><ul id="waf_02_0043__ul23329025"><li id="waf_02_0043__li8634633">URI format<p id="waf_02_0043__p10602835"><a name="waf_02_0043__li8634633"></a><a name="li8634633"></a>POST /v1/{project_id}/waf/policy/{policy_id}/cc</p>
</li><li id="waf_02_0043__li28316657">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table53523322" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="waf_02_0043__row9120597"><th align="left" class="cellrowborder" valign="top" width="25.507449255074494%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="waf_02_0043__p570920"><strong id="waf_02_0043__b165144145385">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="waf_02_0043__p46244539"><strong id="waf_02_0043__b926571683814">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="waf_02_0043__p54820150"><strong id="waf_02_0043__b781361715383">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.796020397960206%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="waf_02_0043__p11247170"><strong id="waf_02_0043__b139819205384">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row38605574"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0043__p40043819">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0043__p22323929">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0043__p63407799">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0043__p35758061">Specifies the project ID.</p>
</td>
</tr>
<tr id="waf_02_0043__row53387097"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0043__p29387591">policy_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0043__p31584674">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0043__p8221777">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0043__p61984189">Specifies the policy ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="waf_02_0043__section26453657"><h4 class="sectiontitle">Request</h4><div class="p" id="waf_02_0043__p19935172054816">Request parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table65657065" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="waf_02_0043__row49768945"><th align="left" class="cellrowborder" valign="top" width="36.36363636363636%" id="mcps1.3.3.2.1.2.5.1.1"><p id="waf_02_0043__p4752708"><strong id="waf_02_0043__b1227343811381">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.151515151515152%" id="mcps1.3.3.2.1.2.5.1.2"><p id="waf_02_0043__p49425105"><strong id="waf_02_0043__b131033407387">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.151515151515152%" id="mcps1.3.3.2.1.2.5.1.3"><p id="waf_02_0043__p44010558"><strong id="waf_02_0043__b165724273814">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.2.5.1.4"><p id="waf_02_0043__p8085427"><strong id="waf_02_0043__b17323154443814">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row5659985"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p55805606">path</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p23960215">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p61729294">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p13524152875412">Specifies the URL to which the rule applies, excluding a domain name.</p>
<ul id="waf_02_0043__ul20810143683616"><li id="waf_02_0043__li3815173693615">Prefix match: The path ending with * indicates that the path is used as a prefix.<p id="waf_02_0043__li315614594312p0"><a name="waf_02_0043__li3815173693615"></a><a name="li3815173693615"></a>For example, if the path to be protected is <strong id="waf_02_0043__b346171102411">/admin/test.php</strong> or <strong id="waf_02_0043__b1146311122411">/adminabc</strong>, set <strong id="waf_02_0043__b1146171162414">Path</strong> to <span class="parmvalue" id="waf_02_0043__parmvalue14671116240"><b>/admin*</b></span>.</p>
</li><li id="waf_02_0043__li28421136193614">Exact match: The path to be entered must match the path to be protected.<p id="waf_02_0043__p1285333620361"><a name="waf_02_0043__li28421136193614"></a><a name="li28421136193614"></a>If the path to be protected is <span class="parmvalue" id="waf_02_0043__parmvalue13116135814272"><b>/admin</b></span>, set <strong id="waf_02_0043__b911610585273">url</strong> to <span class="parmvalue" id="waf_02_0043__parmvalue7116205892715"><b>/admin</b></span>.</p>
</li></ul>
</td>
</tr>
<tr id="waf_02_0043__row37716470"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p35135206">limit_num</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p27379447">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p3142736">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p53235098">Specifies the number of requests allowed from a web visitor in a rate limiting period. Value range: (0, 2<sup id="waf_02_0043__sup9303150183618">32</sup>). The default value is 1.</p>
</td>
</tr>
<tr id="waf_02_0043__row9353841"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p19463655">limit_period</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p33052193">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p59981959">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p26700547">Specifies the rate limiting period. Value range: (0, 2<sup id="waf_02_0043__sup35418558363">32</sup>), in seconds. The default value is 1.</p>
</td>
</tr>
<tr id="waf_02_0043__row38978331"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p3128272">lock_time</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p52063502">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p56394108">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p4520002">Specifies the lock duration. The value ranges from <strong id="waf_02_0043__b15741020114620">0</strong> seconds to <strong id="waf_02_0043__b1535112418464">2</strong><strong id="waf_02_0043__b23511824104619"><sup id="waf_02_0043__sup89298419460">32</sup></strong> seconds.</p>
</td>
</tr>
<tr id="waf_02_0043__row40680022"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p6747476">tag_type</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p9674687">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p45452158">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p71571255171014">Specifies the rate limit mode.</p>
<ul id="waf_02_0043__ul555831610497"><li id="waf_02_0043__li12564151611492"><span class="parmvalue" id="waf_02_0043__parmvalue1896344320463"><b>ip</b></span>: A web visitor is identified by the IP address.</li><li id="waf_02_0043__li1577111613495"><span class="parmvalue" id="waf_02_0043__parmvalue0776947204610"><b>cookie</b></span>: A web visitor is identified by the cookie key value.</li><li id="waf_02_0043__li250118018588"><span class="parmvalue" id="waf_02_0043__parmvalue678165316251"><b>other</b></span>: A web visitor is identified by the Referer field (user-defined request source).</li></ul>
</td>
</tr>
<tr id="waf_02_0043__row49953482"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p19700203">tag_index</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p52212605">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p1362599">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p16557142835414">If <span class="parmname" id="waf_02_0043__parmname4122162862114"><b>tag_type</b></span> is set to <strong id="waf_02_0043__b4667334154614">cookie</strong>, this parameter indicates cookie name.</p>
</td>
</tr>
<tr id="waf_02_0043__row53811111"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p63732758">tag_condition</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p62079769">No</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p62405401"><a href="#waf_02_0043__table1897210413559">Table 3</a></p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p155661828165416">Specifies the <strong id="waf_02_0043__b2032511128233">Referer</strong> (customized request source) field. This field is mandatory when <span class="parmvalue" id="waf_02_0043__parmvalue123346128238"><b>tag_type</b></span> is set to <span class="parmvalue" id="waf_02_0043__parmvalue12335161212319"><b>other</b></span>.</p>
</td>
</tr>
<tr id="waf_02_0043__row32159664"><td class="cellrowborder" valign="top" width="36.36363636363636%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0043__p54795959">action</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0043__p9287715">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0043__p14107484"><a href="#waf_02_0043__table3660351175718">Table 4</a></p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0043__p1855561">Specifies the action taken when the number of requests reaches the upper limit.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table1897210413559"></a><a name="table1897210413559"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table1897210413559" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="waf_02_0043__b12436152893018">tag_condition</strong></caption><thead align="left"><tr id="waf_02_0043__row498264125512"><th align="left" class="cellrowborder" valign="top" width="33.32%" id="mcps1.3.3.3.2.5.1.1"><p id="waf_02_0043__p179858412553"><strong id="waf_02_0043__b12839135584412">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.84%" id="mcps1.3.3.3.2.5.1.2"><p id="waf_02_0043__p62393252474"><strong id="waf_02_0043__b1917515467">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.04%" id="mcps1.3.3.3.2.5.1.3"><p id="waf_02_0043__p20987841105519"><strong id="waf_02_0043__b144218581446">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.8%" id="mcps1.3.3.3.2.5.1.4"><p id="waf_02_0043__p18992541175512"><strong id="waf_02_0043__b115761059174412">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row316718559556"><td class="cellrowborder" valign="top" width="33.32%" headers="mcps1.3.3.3.2.5.1.1 "><p id="waf_02_0043__p129251153125517">category</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.3.3.2.5.1.2 "><p id="waf_02_0043__p11680211174712">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="11.04%" headers="mcps1.3.3.3.2.5.1.3 "><p id="waf_02_0043__p18928155325515">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.3.2.5.1.4 "><p id="waf_02_0043__p976814616116">Specifies the category. The value is <strong id="waf_02_0043__b1193510218433">Referer</strong>.</p>
<p id="waf_02_0043__p67691946516">This parameter is mandatory when the <strong id="waf_02_0043__b9655181054511">tag_condition</strong> field is transferred.</p>
</td>
</tr>
<tr id="waf_02_0043__row816515556552"><td class="cellrowborder" valign="top" width="33.32%" headers="mcps1.3.3.3.2.5.1.1 "><p id="waf_02_0043__p159555533556">contents</p>
</td>
<td class="cellrowborder" valign="top" width="18.84%" headers="mcps1.3.3.3.2.5.1.2 "><p id="waf_02_0043__p168011117475">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="11.04%" headers="mcps1.3.3.3.2.5.1.3 "><p id="waf_02_0043__p1895915385512">List</p>
</td>
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.3.2.5.1.4 "><p id="waf_02_0043__p29649538557">Specifies the category content.</p>
<p id="waf_02_0043__p195393569110">The format is as follows: <strong id="waf_02_0043__b10710161617020">http://www.example.com/path</strong>.</p>
<p id="waf_02_0043__p145413566113">This parameter is mandatory when the <strong id="waf_02_0043__b353622914519">tag_condition</strong> field is transferred. Currently, only one value is accepted. </p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table3660351175718"></a><a name="table3660351175718"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table3660351175718" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="waf_02_0043__b15655133919309">action</strong></caption><thead align="left"><tr id="waf_02_0043__row13670125155718"><th align="left" class="cellrowborder" valign="top" width="33.56%" id="mcps1.3.3.4.2.5.1.1"><p id="waf_02_0043__p166741051165714"><strong id="waf_02_0043__b8595737164512">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.93%" id="mcps1.3.3.4.2.5.1.2"><p id="waf_02_0043__p122672012482"><strong id="waf_02_0043__b1063966811">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.71%" id="mcps1.3.3.4.2.5.1.3"><p id="waf_02_0043__p1868015111574"><strong id="waf_02_0043__b07721639124510">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.8%" id="mcps1.3.3.4.2.5.1.4"><p id="waf_02_0043__p16684751165717"><strong id="waf_02_0043__b5821743144514">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row487919825816"><td class="cellrowborder" valign="top" width="33.56%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0043__p9786157105816">category</p>
</td>
<td class="cellrowborder" valign="top" width="18.93%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0043__p026701194814">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="10.71%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0043__p0791171581">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0043__p154031329171813">Specifies the action. The default value is <span class="parmvalue" id="waf_02_0043__parmvalue13790144324819"><b>block</b></span>.</p>
<ul id="waf_02_0043__ul661483971811"><li id="waf_02_0043__li13968134481819"><strong id="waf_02_0043__b13237202818575">block</strong>: block the requests.</li><li id="waf_02_0043__li0614153913187"><span class="parmvalue" id="waf_02_0043__parmvalue196676212502"><b>captcha</b></span>: Verification code. The user needs to enter the correct verification code after blocking to restore the correct access page.</li></ul>
<p id="waf_02_0043__p077719328294">The default value is <strong id="waf_02_0043__b1600125384316">block</strong>.</p>
<p id="waf_02_0043__p552175163110">If <strong id="waf_02_0043__b12153340101510">tag_type</strong> is set to <strong id="waf_02_0043__b915374019150">other</strong>, this parameter value can only be <strong id="waf_02_0043__b2153154071514">block</strong>.</p>
</td>
</tr>
<tr id="waf_02_0043__row15877178135818"><td class="cellrowborder" valign="top" width="33.56%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0043__p2799197175818">detail</p>
</td>
<td class="cellrowborder" valign="top" width="18.93%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0043__p82672117485">No</p>
</td>
<td class="cellrowborder" valign="top" width="10.71%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0043__p178031872584"><a href="#waf_02_0043__table1060217107105">Table 5</a></p>
</td>
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0043__p880513714586">Specifies the action details. If <strong id="waf_02_0043__b73901957403">detail</strong> is <strong id="waf_02_0043__b1939812571307">null</strong>, the default block page is displayed by default.</p>
<p id="waf_02_0043__p63755381215">This parameter is not required if <strong id="waf_02_0043__b13992181719151">category</strong> is set to <strong id="waf_02_0043__b13992131771518">captcha</strong>.</p>
<p id="waf_02_0043__p163782389220">This parameter is required if <strong id="waf_02_0043__b839132221519">category</strong> is set to <strong id="waf_02_0043__b1739172261514">block</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table1060217107105"></a><a name="table1060217107105"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table1060217107105" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="waf_02_0043__b187481559103013">detail</strong></caption><thead align="left"><tr id="waf_02_0043__row1861251018106"><th align="left" class="cellrowborder" valign="top" width="34.2%" id="mcps1.3.3.5.2.5.1.1"><p id="waf_02_0043__p14615101021017"><strong id="waf_02_0043__b7612742154611">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.02%" id="mcps1.3.3.5.2.5.1.2"><p id="waf_02_0043__p13498927551"><strong id="waf_02_0043__b1492215904">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.98%" id="mcps1.3.3.5.2.5.1.3"><p id="waf_02_0043__p2619141061016"><strong id="waf_02_0043__b17992643114613">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.8%" id="mcps1.3.3.5.2.5.1.4"><p id="waf_02_0043__p10622171001012"><strong id="waf_02_0043__b1292845114619">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row1142418101020"><td class="cellrowborder" valign="top" width="34.2%" headers="mcps1.3.3.5.2.5.1.1 "><p id="waf_02_0043__p159981716141015">response</p>
</td>
<td class="cellrowborder" valign="top" width="19.02%" headers="mcps1.3.3.5.2.5.1.2 "><p id="waf_02_0043__p3498132175512">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="9.98%" headers="mcps1.3.3.5.2.5.1.3 "><p id="waf_02_0043__p62517141010"><a href="#waf_02_0043__table671153413914">Table 6</a></p>
</td>
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.5.2.5.1.4 "><p id="waf_02_0043__p651517191019">Specifies the returned page.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table671153413914"></a><a name="table671153413914"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table671153413914" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="waf_02_0043__b854591253112">response</strong></caption><thead align="left"><tr id="waf_02_0043__row87235341695"><th align="left" class="cellrowborder" valign="top" width="34.440000000000005%" id="mcps1.3.3.6.2.5.1.1"><p id="waf_02_0043__p117313341294"><strong id="waf_02_0043__b175419518468">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.330000000000002%" id="mcps1.3.3.6.2.5.1.2"><p id="waf_02_0043__p46641438125519"><strong id="waf_02_0043__b1963009306">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.430000000000001%" id="mcps1.3.3.6.2.5.1.3"><p id="waf_02_0043__p107346349917"><strong id="waf_02_0043__b4650155384615">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36.800000000000004%" id="mcps1.3.3.6.2.5.1.4"><p id="waf_02_0043__p773818346918"><strong id="waf_02_0043__b166601558467">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row46995451391"><td class="cellrowborder" valign="top" width="34.440000000000005%" headers="mcps1.3.3.6.2.5.1.1 "><p id="waf_02_0043__p26435443911">content_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.330000000000002%" headers="mcps1.3.3.6.2.5.1.2 "><p id="waf_02_0043__p1466453810554">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="9.430000000000001%" headers="mcps1.3.3.6.2.5.1.3 "><p id="waf_02_0043__p76471144794">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.800000000000004%" headers="mcps1.3.3.6.2.5.1.4 "><p id="waf_02_0043__p1265017441999">Specifies the type of the returned page.</p>
<p id="waf_02_0043__p6652244595">The options are <strong id="waf_02_0043__b069217584713">application/json</strong>, <strong id="waf_02_0043__b469310516479">text/html</strong>, and <strong id="waf_02_0043__b146931518470">text/xml</strong>.</p>
<p id="waf_02_0043__p8479161618275">The default value is <strong id="waf_02_0043__b135161717113813">application/json</strong>.</p>
</td>
</tr>
<tr id="waf_02_0043__row1669964520912"><td class="cellrowborder" valign="top" width="34.440000000000005%" headers="mcps1.3.3.6.2.5.1.1 "><p id="waf_02_0043__p86555442914">content</p>
</td>
<td class="cellrowborder" valign="top" width="19.330000000000002%" headers="mcps1.3.3.6.2.5.1.2 "><p id="waf_02_0043__p10664103814553">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="9.430000000000001%" headers="mcps1.3.3.6.2.5.1.3 "><p id="waf_02_0043__p1365811441899">String</p>
</td>
<td class="cellrowborder" valign="top" width="36.800000000000004%" headers="mcps1.3.3.6.2.5.1.4 "><p id="waf_02_0043__p186601448918">Specifies the content of the returned page.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="waf_02_0043__section36756323"><h4 class="sectiontitle">Response</h4><div class="p" id="waf_02_0043__p2931445482">Response parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table12775632" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Parameter description</caption><thead align="left"><tr id="waf_02_0043__row23791917"><th align="left" class="cellrowborder" valign="top" width="35.27647235276473%" id="mcps1.3.4.2.1.2.4.1.1"><p id="waf_02_0043__p48097106"><strong id="waf_02_0043__b148591516154711">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.92750724927507%" id="mcps1.3.4.2.1.2.4.1.2"><p id="waf_02_0043__p3551528"><strong id="waf_02_0043__b334881964719">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.796020397960206%" id="mcps1.3.4.2.1.2.4.1.3"><p id="waf_02_0043__p19238358"><strong id="waf_02_0043__b139719216476">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row18416568"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p15347038">id</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p35150536">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p28621150">Specifies the ID of a CC attack protection rule.</p>
</td>
</tr>
<tr id="waf_02_0043__row56263766"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p61071194">policy_id</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p47819711">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p48191405">Specifies the policy ID.</p>
</td>
</tr>
<tr id="waf_02_0043__row31069462"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p33598499">path</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p37123917">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p9691986224">Specifies the URL to which the rule applies.</p>
</td>
</tr>
<tr id="waf_02_0043__row18463575"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p19154631">limit_num</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p8021296">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p45745209">Specifies the number of requests allowed from a web visitor in a rate limiting period.</p>
</td>
</tr>
<tr id="waf_02_0043__row9053697"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p62260829">limit_period</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p9962414">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p1649244">Specifies the rate limiting period.</p>
</td>
</tr>
<tr id="waf_02_0043__row14843201"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p61448645">lock_time</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p11284312">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p41614117">Specifies the lock duration. The value ranges from <strong id="waf_02_0043__b17741145323">0</strong> seconds to <strong id="waf_02_0043__b117481353213">2</strong><strong id="waf_02_0043__b11748155523"><sup id="waf_02_0043__sup107484511217">32</sup></strong> seconds.</p>
</td>
</tr>
<tr id="waf_02_0043__row38982736"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p3485028">tag_type</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p13851845">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p294271602612">Specifies the rate limit mode.</p>
<ul id="waf_02_0043__ul20943116192616"><li id="waf_02_0043__li994512166268"><span class="parmvalue" id="waf_02_0043__parmvalue43831357165312"><b>ip</b></span>: A web visitor is identified by the IP address.</li><li id="waf_02_0043__li995151642610"><span class="parmvalue" id="waf_02_0043__parmvalue2085960115417"><b>cookie</b></span>: A web visitor is identified by the cookie key value.</li><li id="waf_02_0043__li1095651602617"><span class="parmvalue" id="waf_02_0043__parmvalue6922115914914"><b>other</b></span>: A web visitor is identified by the Referer field (user-defined request source).</li></ul>
</td>
</tr>
<tr id="waf_02_0043__row31665451"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p14764778">tag_index</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p55096402">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p143021136202715">If <span class="parmname" id="waf_02_0043__parmname16787108184717"><b>tag_type</b></span> is set to <strong id="waf_02_0043__b27877864716">cookie</strong>, this parameter indicates cookie name.</p>
</td>
</tr>
<tr id="waf_02_0043__row34176603"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p16841487">tag_condition</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p21983207"><a href="#waf_02_0043__table2115782102">Table 8</a></p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p13308143614277">Specifies the <strong id="waf_02_0043__b102982573216">Referer</strong> (customized request source) field. This field is returned when <span class="parmname" id="waf_02_0043__parmname8369183532219"><b>tag_type</b></span> is set to <span class="parmvalue" id="waf_02_0043__parmvalue229816570211"><b>other</b></span>.</p>
</td>
</tr>
<tr id="waf_02_0043__row54202760"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p28347443">action</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p14441522"><a href="#waf_02_0043__table191681818102">Table 9</a></p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p28912622">Specifies the action taken when the number of requests reaches the upper limit.</p>
</td>
</tr>
<tr id="waf_02_0043__row15406836"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p39994208">timestamp</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p18305412">Long</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p6343433">Specifies the time when a CC attack protection rule is added.</p>
</td>
</tr>
<tr id="waf_02_0043__row189505580158"><td class="cellrowborder" valign="top" width="35.27647235276473%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0043__p13111845101314">default</p>
</td>
<td class="cellrowborder" valign="top" width="24.92750724927507%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0043__p1311245121318">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0043__p8552015163214">Specifies whether the rule is the default CC attack protection rule.</p>
<ul id="waf_02_0043__ul1248751619599"><li id="waf_02_0043__waf_02_0042_li14489191675919"><strong id="waf_02_0043__waf_02_0042_b86402025123619">true</strong>: The rule is the default CC attack protection rule created by the system when creating a domain name.</li><li id="waf_02_0043__waf_02_0042_li24963163595"><strong id="waf_02_0043__waf_02_0042_b1248153224120">false</strong>: The rule is created by users.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table2115782102"></a><a name="table2115782102"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table2115782102" frame="border" border="1" rules="all"><caption><b>Table 8 </b><strong id="waf_02_0043__b2270528193115">tag_condition</strong></caption><thead align="left"><tr id="waf_02_0043__row41268816100"><th align="left" class="cellrowborder" valign="top" width="33.086691330866906%" id="mcps1.3.4.3.2.4.1.1"><p id="waf_02_0043__p121301861010"><strong id="waf_02_0043__b13951132454915">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.117288271172878%" id="mcps1.3.4.3.2.4.1.2"><p id="waf_02_0043__p101341485102"><strong id="waf_02_0043__b148449264493">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.7960203979602%" id="mcps1.3.4.3.2.4.1.3"><p id="waf_02_0043__p11378851012"><strong id="waf_02_0043__b1742202814495">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row6140148141013"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.3.2.4.1.1 "><p id="waf_02_0043__p414218141013">category</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.3.2.4.1.2 "><p id="waf_02_0043__p121451586106">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.3.2.4.1.3 "><p id="waf_02_0043__p1014916851017">Specifies the category. The value is <strong id="waf_02_0043__b1087931712473">Referer</strong>.</p>
</td>
</tr>
<tr id="waf_02_0043__row18151118161015"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.3.2.4.1.1 "><p id="waf_02_0043__p015411861014">contents</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.3.2.4.1.2 "><p id="waf_02_0043__p1915812813106">List</p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.3.2.4.1.3 "><p id="waf_02_0043__p1416011851010">Specifies the category content.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table191681818102"></a><a name="table191681818102"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table191681818102" frame="border" border="1" rules="all"><caption><b>Table 9 </b><strong id="waf_02_0043__b32230396317">action</strong></caption><thead align="left"><tr id="waf_02_0043__row121755812102"><th align="left" class="cellrowborder" valign="top" width="33.086691330866906%" id="mcps1.3.4.4.2.4.1.1"><p id="waf_02_0043__p1417815817101"><strong id="waf_02_0043__b48720453491">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.117288271172878%" id="mcps1.3.4.4.2.4.1.2"><p id="waf_02_0043__p14181783102"><strong id="waf_02_0043__b1341174620492">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.7960203979602%" id="mcps1.3.4.4.2.4.1.3"><p id="waf_02_0043__p1018516818105"><strong id="waf_02_0043__b9108134814912">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row1518717871011"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0043__p1018878131019">category</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0043__p1519115815103">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0043__p14193788102">Specifies the action. The default value is <span class="parmvalue" id="waf_02_0043__parmvalue343613556542"><b>block</b></span>.</p>
<ul id="waf_02_0043__ul20449173612297"><li id="waf_02_0043__li174528369298"><strong id="waf_02_0043__b1978244335717">block</strong>: block the requests.</li><li id="waf_02_0043__li1146283642919"><span class="parmvalue" id="waf_02_0043__parmvalue174001532164712"><b>captcha</b></span>: Verification code. The user needs to enter the correct verification code after blocking to restore the correct access page.</li></ul>
<p id="waf_02_0043__p169913477299">The default value is <strong id="waf_02_0043__b1961556154311">block</strong>.</p>
<p id="waf_02_0043__p596559152913">If <strong id="waf_02_0043__b14881021194716">tag_type</strong> is set to <strong id="waf_02_0043__b1590182112473">other</strong>, this parameter value can only be <strong id="waf_02_0043__b9901321184717">block</strong>.</p>
</td>
</tr>
<tr id="waf_02_0043__row719668141011"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0043__p820148101013">detail</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0043__p142035816105"><a href="#waf_02_0043__table994172920135">Table 10</a></p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0043__p1207138141010">Specifies the action details. If <strong id="waf_02_0043__b3471626124711">detail</strong> is <strong id="waf_02_0043__b114852634717">null</strong>, the default block page is displayed by default.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table994172920135"></a><a name="table994172920135"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table994172920135" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong id="waf_02_0043__b1672317498313">detail</strong></caption><thead align="left"><tr id="waf_02_0043__row161078297139"><th align="left" class="cellrowborder" valign="top" width="33.086691330866906%" id="mcps1.3.4.5.2.4.1.1"><p id="waf_02_0043__p1611112296136"><strong id="waf_02_0043__b13306101375011">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.117288271172878%" id="mcps1.3.4.5.2.4.1.2"><p id="waf_02_0043__p10115529101313"><strong id="waf_02_0043__b68821314115015">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.7960203979602%" id="mcps1.3.4.5.2.4.1.3"><p id="waf_02_0043__p4118152914135"><strong id="waf_02_0043__b1922491615017">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row1112013297131"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.5.2.4.1.1 "><p id="waf_02_0043__p1312319291137">response</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.5.2.4.1.2 "><p id="waf_02_0043__p6128172991319"><a href="#waf_02_0043__table614022951312">Table 11</a></p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.5.2.4.1.3 "><p id="waf_02_0043__p413432919131">Specifies the returned page.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="waf_02_0043__table614022951312"></a><a name="table614022951312"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__table614022951312" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="waf_02_0043__b2019215517325">response</strong></caption><thead align="left"><tr id="waf_02_0043__row151501229151318"><th align="left" class="cellrowborder" valign="top" width="33.086691330866906%" id="mcps1.3.4.6.2.4.1.1"><p id="waf_02_0043__p1315416291134"><strong id="waf_02_0043__b074920268505">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.117288271172878%" id="mcps1.3.4.6.2.4.1.2"><p id="waf_02_0043__p1515852919136"><strong id="waf_02_0043__b12435428125019">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.7960203979602%" id="mcps1.3.4.6.2.4.1.3"><p id="waf_02_0043__p11625293134"><strong id="waf_02_0043__b1233183112500">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__row201641029141319"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.6.2.4.1.1 "><p id="waf_02_0043__p17169112919133">content_type</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.6.2.4.1.2 "><p id="waf_02_0043__p15172729111316">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.6.2.4.1.3 "><p id="waf_02_0043__p12176829131310">Specifies the type of the returned page.</p>
<p id="waf_02_0043__p41774295138">The options are <strong id="waf_02_0043__b11824122944716">application/json</strong>, <strong id="waf_02_0043__b2825132919478">text/html</strong>, and <strong id="waf_02_0043__b1282592964713">text/xml</strong>.</p>
</td>
</tr>
<tr id="waf_02_0043__row1517952971310"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.6.2.4.1.1 "><p id="waf_02_0043__p13184162901317">content</p>
</td>
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.6.2.4.1.2 "><p id="waf_02_0043__p21881029121317">String</p>
</td>
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.6.2.4.1.3 "><p id="waf_02_0043__p191911129141320">Specifies the content of the returned page.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="waf_02_0043__section198571148154819"><h4 class="sectiontitle">Examples</h4><p id="waf_02_0043__p1733021735613"></p>
<ul id="waf_02_0043__ul12931164813485"><li id="waf_02_0043__li093114481489">Request example<pre class="screen" id="waf_02_0043__screen19931144864810">{
"path": "/abc1",
"limit_num": 10,
"limit_period": 60,
"lock_time": 10,
"tag_type": "cookie",
"tag_index": "sesssionid",
"action": {
"category": "block",
"detail": {
"response": {
"content_type": "application/json",
"content": "{\"error\":\"forbidden\"}"
}
}
}
}</pre>
</li></ul>
<ul id="waf_02_0043__ul4932144811483"><li id="waf_02_0043__li5932144824819">Response example<pre class="screen" id="waf_02_0043__screen1193254844815">{
"id": "3a9b5c0f96784ec8abd8ba61a98064ef",
"policy_id": "9tre832yf96784ec8abd8ba61a98064ef",
"path": "/abc1",
"limit_num": 10,
"limit_period": 60,
"lock_time": 10,
"tag_type": "cookie",
"tag_index": "sesssionid",
"action": {
"category": "block",
"detail": {
"response": {
"content_type": "application/json",
"content": "{\"error\":\"forbidden\"}"
}
}
},
"timestamp": 1499817600,
"default": false
}</pre>
</li></ul>
</div>
<div class="section" id="waf_02_0043__section62371454"><h4 class="sectiontitle">Status Code</h4><div class="p" id="waf_02_0043__waf_02_0012_a652d4922b7df48fca0a65bc1a38ea5f2"><a href="#waf_02_0043__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0">Table 12</a> describes the normal status code returned by the API.
<div class="tablenoborder"><a name="waf_02_0043__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><a name="waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0043__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Status code</caption><thead align="left"><tr id="waf_02_0043__waf_02_0012_r3d6e2f205c444705bdbb9daaac74e575"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.6.2.2.2.4.1.1"><p id="waf_02_0043__waf_02_0012_af3c4073076f24eca88d94e3fa1effdc6">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.41%" id="mcps1.3.6.2.2.2.4.1.2"><p id="waf_02_0043__waf_02_0012_en-us_topic_0144911667_p4531342288">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="58.589999999999996%" id="mcps1.3.6.2.2.2.4.1.3"><p id="waf_02_0043__waf_02_0012_ada185614bba24140995b8123b3e9faa8">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="waf_02_0043__waf_02_0012_rc7b2adc390904a1ba79e303017797786"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.6.2.2.2.4.1.1 "><p id="waf_02_0043__waf_02_0012_a93f3895d44bb4226934cc626ac50e37b">200</p>
</td>
<td class="cellrowborder" valign="top" width="19.41%" headers="mcps1.3.6.2.2.2.4.1.2 "><p id="waf_02_0043__waf_02_0012_en-us_topic_0144911667_p7538425819">OK</p>
</td>
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.6.2.2.2.4.1.3 "><p id="waf_02_0043__waf_02_0012_en-us_topic_0144911667_p369874114414">The request has succeeded.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p id="waf_02_0043__waf_02_0012_en-us_topic_0144911667_p482819399522">For details about error status codes, see <a href="waf_02_0085.html">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="waf_02_0041.html">CC Attack Protection Rules</a></div>
</div>
</div>