forked from docs/doc-exports
Reviewed-by: Topchii, Maria <mtopchii@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: vladimirvshivkov <vshivkovvladimir@gmail.com> Co-committed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
3257 lines
256 KiB
HTML
3257 lines
256 KiB
HTML
<a name="UpdateApiV2_1"></a><a name="UpdateApiV2_1"></a>
|
||
|
||
<h1 class="topictitle1">Modifying an API</h1>
|
||
<div id="body149716543229"><div class="section" id="UpdateApiV2_1__section194978543229"><h4 class="sectiontitle">Function</h4><p id="UpdateApiV2_1__p34975543222">This API is used to modify the information about an API, including its backend information.</p>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="UpdateApiV2_1__p349811541226">PUT /v2/{project_id}/apigw/instances/{instance_id}/apis/{api_id}</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__table150016542221" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row1749935410227"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateApiV2_1__p55009540222">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateApiV2_1__p05011254172219">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateApiV2_1__p85011354172212">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateApiV2_1__p15011154142217">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row18499135411223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateApiV2_1__p5501105416221">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateApiV2_1__p3502754102210">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateApiV2_1__p20502654112215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateApiV2_1__p4502175410227">Project ID. For details about how to obtain it, see <a href="apig-api-180713009.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14499145414225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateApiV2_1__p19503754132217">instance_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateApiV2_1__p2503165452210">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateApiV2_1__p13504125417227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateApiV2_1__p125041054182211">Gateway ID, which can be obtained from the gateway information on the APIG console.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5499165419228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateApiV2_1__p15041654132218">api_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateApiV2_1__p850513544229">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateApiV2_1__p10505165413223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateApiV2_1__p1250517545229">API ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section12506165482216"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row45071654132212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateApiV2_1__p1950705492216">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateApiV2_1__p17508354142219">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateApiV2_1__p11508155411220">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateApiV2_1__p125083546221">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row14507165413221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateApiV2_1__p3508195420229">X-Auth-Token</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateApiV2_1__p2509125412215">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateApiV2_1__p4509185420221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateApiV2_1__p19510254162212">User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiCreate" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row25122054202212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateApiV2_1__p185171254192219">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateApiV2_1__p125171954112210">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateApiV2_1__p165171554102216">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateApiV2_1__p10518554102220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1951205462219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p35181354152217">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1751817548221">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p175197546224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p75192054142214">API name.</p>
|
||
<p id="UpdateApiV2_1__p195191354162211">It can contain 3 to 255 characters, starting with a letter or digit. Only letters, digits, and these special characters are allowed: -_./:()</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row195122540223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p14519135472219">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p352010545225">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p15520554192216">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p115209544229">API type.</p>
|
||
<ul id="UpdateApiV2_1__ul4521754122218"><li id="UpdateApiV2_1__li052175417229">1: public API</li><li id="UpdateApiV2_1__li19521115413220">2: private API</li></ul>
|
||
<p id="UpdateApiV2_1__p19521125418229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul95213548224"><li id="UpdateApiV2_1__li2052117549225"><strong id="UpdateApiV2_1__b45221554202212">1</strong></li><li id="UpdateApiV2_1__li052213542228"><strong id="UpdateApiV2_1__b9522195411224">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row185129542224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p852205412226">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p13522254132212">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p1252285420221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p15238542221">API version.</p>
|
||
<p id="UpdateApiV2_1__p145239541224">Maximum: <strong id="UpdateApiV2_1__b13523145411229">16</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row75125540228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p15523155415226">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p185241054172218">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p17524135402212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p115243548221">API request protocol:</p>
|
||
<ul id="UpdateApiV2_1__ul1524155413225"><li id="UpdateApiV2_1__li11524145472219">HTTP</li><li id="UpdateApiV2_1__li7524135410221">HTTPS</li><li id="UpdateApiV2_1__li11525115418222">BOTH: Both HTTP and HTTPS are supported.</li></ul>
|
||
<p id="UpdateApiV2_1__p252515412227">Default: <strong id="UpdateApiV2_1__b052518549226">HTTPS</strong></p>
|
||
<p id="UpdateApiV2_1__p9525115412210">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul145261554112219"><li id="UpdateApiV2_1__li1552615402211"><strong id="UpdateApiV2_1__b5526175410225">HTTP</strong></li><li id="UpdateApiV2_1__li1952685415229"><strong id="UpdateApiV2_1__b55261254132218">HTTPS</strong></li><li id="UpdateApiV2_1__li85261554142212"><strong id="UpdateApiV2_1__b9526054142216">BOTH</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1451245414229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p752715452213">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1252785418221">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p053695415224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p10536654122214">API request method.</p>
|
||
<p id="UpdateApiV2_1__p0537354112211">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul14537754102215"><li id="UpdateApiV2_1__li253765415225"><strong id="UpdateApiV2_1__b8537145422219">GET</strong></li><li id="UpdateApiV2_1__li0537954132213"><strong id="UpdateApiV2_1__b453725410224">POST</strong></li><li id="UpdateApiV2_1__li11537185418224"><strong id="UpdateApiV2_1__b195381054202212">PUT</strong></li><li id="UpdateApiV2_1__li11538205411228"><strong id="UpdateApiV2_1__b1853875442218">DELETE</strong></li><li id="UpdateApiV2_1__li1053815544227"><strong id="UpdateApiV2_1__b353865420222">HEAD</strong></li><li id="UpdateApiV2_1__li9538155412216"><strong id="UpdateApiV2_1__b7539115416223">PATCH</strong></li><li id="UpdateApiV2_1__li19539135414225"><strong id="UpdateApiV2_1__b85397544223">OPTIONS</strong></li><li id="UpdateApiV2_1__li2544185418226"><strong id="UpdateApiV2_1__b1454516546221">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row951395410226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p154585417221">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p165451754202213">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p10546135419224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p15546754122214">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<div class="note" id="UpdateApiV2_1__note654775402214"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p2547454102214">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15513165482211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p2548854122214">auth_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p105481054102218">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p1549145452217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p16549205432216">API authentication mode. Options:</p>
|
||
<ul id="UpdateApiV2_1__ul455535415228"><li id="UpdateApiV2_1__li16555354172210">NONE</li><li id="UpdateApiV2_1__li175551754112216">APP</li><li id="UpdateApiV2_1__li655575422217">IAM</li><li id="UpdateApiV2_1__li8556135422210">AUTHORIZER: custom authentication. When auth_type is set to AUTHORIZER, the authorizer_id field is mandatory.</li></ul>
|
||
<p id="UpdateApiV2_1__p11556165418222"></p>
|
||
<p id="UpdateApiV2_1__p11556185442215">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul7556165410221"><li id="UpdateApiV2_1__li17557195422218"><strong id="UpdateApiV2_1__b25571654102217">NONE</strong></li><li id="UpdateApiV2_1__li155720544222"><strong id="UpdateApiV2_1__b125578545224">APP</strong></li><li id="UpdateApiV2_1__li18557115415223"><strong id="UpdateApiV2_1__b05571154162219">IAM</strong></li><li id="UpdateApiV2_1__li1955711545223"><strong id="UpdateApiV2_1__b1055855482214">AUTHORIZER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15513454142216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p455865402210">auth_opt</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p256119549225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p20561754172218"><a href="#UpdateApiV2_1__request_AuthOpt">AuthOpt</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1562175432215">Security authentication parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1851313542226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p14562125412216">cors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1756285482213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p25631854112215">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1556317549223">Indicates whether CORS is supported.</p>
|
||
<ul id="UpdateApiV2_1__ul145634542226"><li id="UpdateApiV2_1__li17563205402214">TRUE: supported</li><li id="UpdateApiV2_1__li12564854162214">FALSE: not supported</li></ul>
|
||
<p id="UpdateApiV2_1__p16564185422212">Default: <strong id="UpdateApiV2_1__b155648540228">false</strong></p>
|
||
<p id="UpdateApiV2_1__p17571115412214">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1357795412210"><li id="UpdateApiV2_1__li11577175415225"><strong id="UpdateApiV2_1__b10577205412222">true</strong></li><li id="UpdateApiV2_1__li15771654112210"><strong id="UpdateApiV2_1__b557816542222">false</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1251313548229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p757855412222">match_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p557855417226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p957914545223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p165798543223">API matching mode:</p>
|
||
<ul id="UpdateApiV2_1__ul2580554152211"><li id="UpdateApiV2_1__li1658045415222">SWA: Prefix match</li><li id="UpdateApiV2_1__li458095412211">NORMAL: Exact match Default value: NORMAL</li></ul>
|
||
<p id="UpdateApiV2_1__p18580175442211">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1358045416223"><li id="UpdateApiV2_1__li258117541221"><strong id="UpdateApiV2_1__b958195432219">SWA</strong></li><li id="UpdateApiV2_1__li458619548224"><strong id="UpdateApiV2_1__b205861754152213">NORMAL</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18513354122214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p458615415226">backend_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p115871954202212">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p35871454132218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p10587154182214">Backend type. Options:</p>
|
||
<ul id="UpdateApiV2_1__ul1058717548223"><li id="UpdateApiV2_1__li358715472217">HTTP: web backend</li><li id="UpdateApiV2_1__li20588135422215">FUNCTION: FunctionGraph backend. When backend_type is set to FUNCTION, the func_info field is mandatory.</li><li id="UpdateApiV2_1__li13588154132217">MOCK: mock backend. When backend_type is set to MOCK, the mock_info field is mandatory.</li></ul>
|
||
<p id="UpdateApiV2_1__p5588145413229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul13589185432213"><li id="UpdateApiV2_1__li1589154202215"><strong id="UpdateApiV2_1__b10590654202210">HTTP</strong></li><li id="UpdateApiV2_1__li145901954122212"><strong id="UpdateApiV2_1__b18590205482210">FUNCTION</strong></li><li id="UpdateApiV2_1__li75901154102218"><strong id="UpdateApiV2_1__b17591754122216">MOCK</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1551385416226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p6591105418226">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p7591354132210">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p125921754102210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p3592054192214">API description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1513115416223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p1959205472215">group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p959265417224">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p9593115472217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p95933545228">ID of the API group to which the API belongs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row151414546225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p185941544221">body_remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p19594554162212">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p19594195452212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p2595105462217">API request body, which can be an example request body, media type, or parameters. Ensure that the request body does not exceed 20,480 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11514754182210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p11595254202214">result_normal_sample</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p7596175413226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p18596195432217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p16597175415221">Example response for a successful request. Ensure that the response does not exceed 20,480 characters.</p>
|
||
<p id="UpdateApiV2_1__p45971154122211"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row451415543228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p15971754102212">result_failure_sample</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p859895492214">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p059835420226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p65991354182216">Example response for a failed request. Ensure that the response does not exceed 20,480 characters.</p>
|
||
<p id="UpdateApiV2_1__p259955415227"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1751412544226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p259945442218">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p3599155414229">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p460012548223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p4600154102219">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row55141054122210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p760015545222">tags</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p360020542220">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p06011154142216">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p86019549227">Tag.</p>
|
||
<p id="UpdateApiV2_1__p7601165492213">Use letters, digits, and special characters (-*#%.:_) and start with a letter.</p>
|
||
<p id="UpdateApiV2_1__p4602135432213">By default, 10 tags are supported. To increase the quota, contact technical support to modify the API_TAG_NUM_LIMIT configuration.</p>
|
||
<p id="UpdateApiV2_1__p9602125492215">Minimum: <strong id="UpdateApiV2_1__b1860225452216">1</strong></p>
|
||
<p id="UpdateApiV2_1__p17602354192218">Maximum: <strong id="UpdateApiV2_1__b2602165462216">128</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1651416549228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p660215482216">response_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1460205472213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p1960318549225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1260315412228">Group response ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row10514155472213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p1560305422214">roma_app_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1460355418227">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p560415452219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1560565412222">Integration application ID.</p>
|
||
<p id="UpdateApiV2_1__p1260515540222">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15141754102216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p36051854162219">domain_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p06057549221">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p16061954182220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p146131154182212">Custom domain name bound to the API.</p>
|
||
<p id="UpdateApiV2_1__p06134545220">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row16514155462220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p361375492216">tag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p19613115411225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p19614115417224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p861475418222">Tag.</p>
|
||
<p id="UpdateApiV2_1__p961913545225">This field will be deprecated. You can use the tags field instead.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row151525442211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p1562075432213">content_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p362015414228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p1962165417220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1027515732219">Request content type:</p>
|
||
<ul id="UpdateApiV2_1__ul827685722212"><li id="UpdateApiV2_1__li42761757112210">application/json</li><li id="UpdateApiV2_1__li127685722212">application/xml</li><li id="UpdateApiV2_1__li14276115718224">multipart/form-data</li><li id="UpdateApiV2_1__li142768577229">text/plain</li></ul>
|
||
<p id="UpdateApiV2_1__p72761757102216">Coming soon.</p>
|
||
<p id="UpdateApiV2_1__p19276155719228">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul4276135713224"><li id="UpdateApiV2_1__li3276175772217"><strong id="UpdateApiV2_1__b127615571226">application/json</strong></li><li id="UpdateApiV2_1__li10276135719224"><strong id="UpdateApiV2_1__b132760570228">application/xml</strong></li><li id="UpdateApiV2_1__li1427620578222"><strong id="UpdateApiV2_1__b127735711228">multipart/form-data</strong></li><li id="UpdateApiV2_1__li1527775712217"><strong id="UpdateApiV2_1__b19277145713226">text/plain</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2515205422219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p162771557102213">mock_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p16277155715221">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p6277195782216"><a href="#UpdateApiV2_1__request_ApiMockCreate">ApiMockCreate</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p727715752212">Mock backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row145155545229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p1127715752210">func_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p0277115732217">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p327765717225"><a href="#UpdateApiV2_1__request_ApiFuncCreate">ApiFuncCreate</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p2277185717229">FunctionGraph backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row12515175410226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p5277125742217">req_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p16277145712216">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p7277155762213">Array of <a href="#UpdateApiV2_1__request_ReqParamBase">ReqParamBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p527745713226">Request parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row751518541226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p62771357142218">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1927716571226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p1327765715221">Array of <a href="#UpdateApiV2_1__request_BackendParamBase">BackendParamBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p122781257192220">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1051585482218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p112781557122212">policy_mocks</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p13278057122215">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p12278957182213">Array of <a href="#UpdateApiV2_1__request_ApiPolicyMockCreate">ApiPolicyMockCreate</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p112781357152213">Mock backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row12515125432212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p3278057162210">policy_functions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p15278165711226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p20278145722217">Array of <a href="#UpdateApiV2_1__request_ApiPolicyFunctionCreate">ApiPolicyFunctionCreate</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p17278185713222">FunctionGraph backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1851519543229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p18278115742219">backend_api</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p32781257122210">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p027815720227"><a href="#UpdateApiV2_1__request_BackendApiCreate">BackendApiCreate</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p1427855712224">Web backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9515165482210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateApiV2_1__p1727816579222">policy_https</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateApiV2_1__p1278155710224">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateApiV2_1__p20279135710222">Array of <a href="#UpdateApiV2_1__request_ApiPolicyHttpCreate">ApiPolicyHttpCreate</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateApiV2_1__p202792057182219">Web backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_AuthOpt"></a><a name="request_AuthOpt"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_AuthOpt" frame="border" border="1" rules="all"><caption><b>Table 4 </b>AuthOpt</caption><thead align="left"><tr id="UpdateApiV2_1__row5645654162211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="UpdateApiV2_1__p827905716224">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="UpdateApiV2_1__p192799578227">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="UpdateApiV2_1__p6279135713222">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="UpdateApiV2_1__p027955762215">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1764595462220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="UpdateApiV2_1__p19279115716227">app_code_auth_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="UpdateApiV2_1__p2279195719223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="UpdateApiV2_1__p1127910575225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="UpdateApiV2_1__p92791457142213">Indicates whether AppCode authentication is enabled. This parameter is valid only if auth_type is set to App. The default value is DISABLE.</p>
|
||
<ul id="UpdateApiV2_1__ul427945792218"><li id="UpdateApiV2_1__li1327955720223">DISABLE: AppCode authentication is disabled.</li><li id="UpdateApiV2_1__li62791657142218">HEADER: AppCode authentication is enabled and the AppCode is located in the header.</li></ul>
|
||
<p id="UpdateApiV2_1__p14279135712211">Default: <strong id="UpdateApiV2_1__b228095752215">DISABLE</strong></p>
|
||
<p id="UpdateApiV2_1__p1828014576227">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul122807579227"><li id="UpdateApiV2_1__li4280957192212"><strong id="UpdateApiV2_1__b192801857152212">DISABLE</strong></li><li id="UpdateApiV2_1__li142801757132214"><strong id="UpdateApiV2_1__b11280155722217">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiMockCreate"></a><a name="request_ApiMockCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiMockCreate" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ApiMockCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row7657125414226"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="UpdateApiV2_1__p328016577220">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="UpdateApiV2_1__p102802577227">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="UpdateApiV2_1__p028015732217">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="UpdateApiV2_1__p1428075782219">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row6657135417222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateApiV2_1__p172801157172210">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateApiV2_1__p19280175702214">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateApiV2_1__p1328055712224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateApiV2_1__p192801457132215">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row76583540222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateApiV2_1__p10280357142211">result_content</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateApiV2_1__p1828015578222">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateApiV2_1__p11280457122213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateApiV2_1__p10280357122219">Response.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row36582546225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateApiV2_1__p1728113574226">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateApiV2_1__p42811357192210">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateApiV2_1__p1128112575227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateApiV2_1__p22814577226">Function version. It cannot exceed 64 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9658195422216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="UpdateApiV2_1__p2028185719225">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="UpdateApiV2_1__p928115717225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="UpdateApiV2_1__p1328116579227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="UpdateApiV2_1__p6281135713224">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiFuncCreate"></a><a name="request_ApiFuncCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiFuncCreate" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ApiFuncCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row1966912541229"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="UpdateApiV2_1__p11281135715224">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="UpdateApiV2_1__p16281185710222">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="UpdateApiV2_1__p1828111574227">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="UpdateApiV2_1__p1328195712221">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row66696546229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p112813577225">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p16281357112212">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p72813573220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p16281457202215">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row136701054182219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p9281185719226">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p6281145792210">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p1728295742210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p17282457132217">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11670154172213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p10282205732219">invocation_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p12282357162211">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p92821957102216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p3282165742212">Invocation mode.</p>
|
||
<ul id="UpdateApiV2_1__ul1028218576221"><li id="UpdateApiV2_1__li19282185752211">async: asynchronous</li><li id="UpdateApiV2_1__li15282457182218">sync: synchronous</li></ul>
|
||
<p id="UpdateApiV2_1__p8282257192216">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul112820570229"><li id="UpdateApiV2_1__li202821157182211"><strong id="UpdateApiV2_1__b6282457152218">async</strong></li><li id="UpdateApiV2_1__li1128205714222"><strong id="UpdateApiV2_1__b1728215718220">sync</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1267015542228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p6282155715229">network_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p17282145752217">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p19282957122214">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p128210571220">Function network architecture.</p>
|
||
<ul id="UpdateApiV2_1__ul13282175772215"><li id="UpdateApiV2_1__li1728318572225">V1: non-VPC</li><li id="UpdateApiV2_1__li2283957142219">V2: VPC</li></ul>
|
||
<p id="UpdateApiV2_1__p52831957152220">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1328312572225"><li id="UpdateApiV2_1__li12283145702220"><strong id="UpdateApiV2_1__b32831157192216">V1</strong></li><li id="UpdateApiV2_1__li628316574220"><strong id="UpdateApiV2_1__b028315572224">V2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5670205412219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p16283657152219">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p22839572223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p328365762212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p1828325712224">Function version.</p>
|
||
<p id="UpdateApiV2_1__p20283165715227">If both a function alias URN and version are passed, only the alias URN will be used.</p>
|
||
<p id="UpdateApiV2_1__p1928310579229">Maximum: <strong id="UpdateApiV2_1__b12838570225">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2671454102220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p1283957202211">alias_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p11283165772218">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p5283257132219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p928365752217">Function alias URN.</p>
|
||
<p id="UpdateApiV2_1__p182831577224">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row667155418227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p13284657102210">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p182843571224">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p5284145715229">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p7284357142211">Timeout allowed for APIG to request the backend service. If the function network architecture is set to V1, the maximum timeout is 60,000. If the network architecture is set to V2, the maximum timeout is 600,000 and can be modified by using the gateway parameter backend_timeout.</p>
|
||
<p id="UpdateApiV2_1__p828465732212">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p3284125702217">Minimum: <strong id="UpdateApiV2_1__b1128410578221">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row46711254142217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="UpdateApiV2_1__p142841457122217">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="UpdateApiV2_1__p6284195742219">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="UpdateApiV2_1__p172841576222">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="UpdateApiV2_1__p18284145772218">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ReqParamBase"></a><a name="request_ReqParamBase"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ReqParamBase" frame="border" border="1" rules="all"><caption><b>Table 7 </b>ReqParamBase</caption><thead align="left"><tr id="UpdateApiV2_1__row19687135412225"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="UpdateApiV2_1__p1128419571228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="UpdateApiV2_1__p1128445742210">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="UpdateApiV2_1__p172841657162217">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="UpdateApiV2_1__p18284115722219">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row96871654182212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p162845574222">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p1828595718222">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p1728514577221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p15285185732217">Parameter name.</p>
|
||
<p id="UpdateApiV2_1__p2285175716221">The parameter name can contain 1 to 32 characters and must start with a letter. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row186876548220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p11285115719229">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p228585710229">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p18285125732218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p6285155712217">Parameter type.</p>
|
||
<p id="UpdateApiV2_1__p428515579227">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1028513574221"><li id="UpdateApiV2_1__li142851570228"><strong id="UpdateApiV2_1__b1228505719225">STRING</strong></li><li id="UpdateApiV2_1__li1028516570229"><strong id="UpdateApiV2_1__b628519579227">NUMBER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1968835417227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p17285557132215">location</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p228519574228">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p1228575710222">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p62851457112212">Parameter location.</p>
|
||
<p id="UpdateApiV2_1__p20285175718221">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul528665742216"><li id="UpdateApiV2_1__li928617575228"><strong id="UpdateApiV2_1__b122861157192218">PATH</strong></li><li id="UpdateApiV2_1__li122863573221"><strong id="UpdateApiV2_1__b1628615732213">QUERY</strong></li><li id="UpdateApiV2_1__li52861857132213"><strong id="UpdateApiV2_1__b628685714225">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18688185418222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p11286115712214">default_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p1328619576228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p15286205720225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p628635722212">Default value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14688175418221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1628655742215">sample_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p13286175714222">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p22861157142215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p228685713225">Example value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17688195414221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p11286115722214">required</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p10286125722216">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p11286857122214">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p132861557182218">Indicates whether the parameter is required. 1: yes 2: no</p>
|
||
<p id="UpdateApiV2_1__p228615575224">The value of this parameter is 1 if Location is set to PATH, and 2 if Location is set to another value.</p>
|
||
<p id="UpdateApiV2_1__p132867571229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul72861857182215"><li id="UpdateApiV2_1__li182871357122215"><strong id="UpdateApiV2_1__b228735752216">1</strong></li><li id="UpdateApiV2_1__li10287165715223"><strong id="UpdateApiV2_1__b192871957152219">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row668835414221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p728775718224">valid_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p52871457162214">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p92871657192210">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p1728715574227">Indicates whether validity check is enabled.</p>
|
||
<ul id="UpdateApiV2_1__ul17287145782211"><li id="UpdateApiV2_1__li1628775702215">1: enabled</li><li id="UpdateApiV2_1__li12287165722213">2: disabled</li></ul>
|
||
<p id="UpdateApiV2_1__p17287135720227">Default: <strong id="UpdateApiV2_1__b1128712575222">2</strong></p>
|
||
<p id="UpdateApiV2_1__p1287115714229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul19287185713225"><li id="UpdateApiV2_1__li028712571221"><strong id="UpdateApiV2_1__b192871157202212">1</strong></li><li id="UpdateApiV2_1__li6287557202211"><strong id="UpdateApiV2_1__b72879578224">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1368895482220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1028715571226">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p828785713229">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p1628813579223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p1928855714227">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6688105492218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1728810578223">enumerations</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p0288857132213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p12881557132212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p228875722211">Enumerated value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18689115422219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p6288115715225">min_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p928875714226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p15288195719224">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p828885722213">Minimum value.</p>
|
||
<p id="UpdateApiV2_1__p1028865711227">This parameter is valid when type is set to NUMBER.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14689165442213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1328845792213">max_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p1128835713225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p15288195722219">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p1288105782212">Maximum value.</p>
|
||
<p id="UpdateApiV2_1__p14288157102219">This parameter is valid when type is set to NUMBER.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3689185416225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1428835712225">min_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p182887574223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p0288165711228">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p6289135714224">Minimum length.</p>
|
||
<p id="UpdateApiV2_1__p328935742216">This parameter is valid when type is set to STRING.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row13689115411222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p14289175710228">max_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p92894571223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p15289205715222">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p11289195711228">Maximum length.</p>
|
||
<p id="UpdateApiV2_1__p1628913579226">This parameter is valid when type is set to STRING.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row568914544228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p13289115742211">regular</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p52891570226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p11289195715225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p5289115792215">Regular expression validation rule.</p>
|
||
<p id="UpdateApiV2_1__p1928911577229">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row768955410226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p12898579220">json_schema</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p18289145722213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p9289145702217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p13289257152214">JSON validation rule.</p>
|
||
<p id="UpdateApiV2_1__p152899574227">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row0689754172214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="UpdateApiV2_1__p1328995718225">pass_through</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="UpdateApiV2_1__p122897574229">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="UpdateApiV2_1__p10289157192214">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="UpdateApiV2_1__p82906571222">Indicates whether to transparently transfer the parameter. 1: yes 2: no</p>
|
||
<p id="UpdateApiV2_1__p14290125719224">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul729045712226"><li id="UpdateApiV2_1__li629025722216"><strong id="UpdateApiV2_1__b4290165713224">1</strong></li><li id="UpdateApiV2_1__li10290457152220"><strong id="UpdateApiV2_1__b12290175711221">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiPolicyMockCreate"></a><a name="request_ApiPolicyMockCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiPolicyMockCreate" frame="border" border="1" rules="all"><caption><b>Table 8 </b>ApiPolicyMockCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row20712105413223"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="UpdateApiV2_1__p19290357122218">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="UpdateApiV2_1__p14290125792220">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="UpdateApiV2_1__p329014577223">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="UpdateApiV2_1__p8290135713227">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row117121454102212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p5290657162217">result_content</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p1229020573227">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p1129075722216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p102901857152216">Response.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row171215541223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p172901457192212">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p4290125717220">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p72911757152210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p929155712228">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul19291125718228"><li id="UpdateApiV2_1__li32911657162215">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li16291125782217">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p329112571228">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul129119577221"><li id="UpdateApiV2_1__li202911357102216"><strong id="UpdateApiV2_1__b12291145752215">ALL</strong></li><li id="UpdateApiV2_1__li1729112576224"><strong id="UpdateApiV2_1__b19291135716229">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18712165420227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p132917577225">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p182912057172213">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p229115717221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p1129165732219">Backend name. It must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p22911957112214">Minimum: <strong id="UpdateApiV2_1__b4291185716223">3</strong></p>
|
||
<p id="UpdateApiV2_1__p829175716228">Maximum: <strong id="UpdateApiV2_1__b17291157102217">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17132543221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p92911057182217">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p12292457152213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p2292175712214">Array of <a href="#UpdateApiV2_1__request_BackendParamBase">BackendParamBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p1429215715226">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2714175413223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p1829216571221">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p829218572226">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p16292205717226">Array of <a href="#UpdateApiV2_1__request_ApiConditionBase">ApiConditionBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p172923575229">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row371405422214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="UpdateApiV2_1__p18292165716220">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="UpdateApiV2_1__p329215571225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="UpdateApiV2_1__p629275720229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="UpdateApiV2_1__p1929212579222">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiPolicyFunctionCreate"></a><a name="request_ApiPolicyFunctionCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiPolicyFunctionCreate" frame="border" border="1" rules="all"><caption><b>Table 9 </b>ApiPolicyFunctionCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row87281154162213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="UpdateApiV2_1__p16293145710228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.2"><p id="UpdateApiV2_1__p9293257202217">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.3"><p id="UpdateApiV2_1__p1229385712214">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.9.2.5.1.4"><p id="UpdateApiV2_1__p7293257192220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row107281054132218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p7293185742217">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p7293165732219">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p1329315715221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p122931557202213">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9728205416228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p1129355718222">invocation_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p112935574223">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p182931457152220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p2294957112220">Invocation mode.</p>
|
||
<ul id="UpdateApiV2_1__ul18294155752220"><li id="UpdateApiV2_1__li729410574222">async: asynchronous</li><li id="UpdateApiV2_1__li8294205718220">sync: synchronous</li></ul>
|
||
<p id="UpdateApiV2_1__p142941757132219">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1529405702214"><li id="UpdateApiV2_1__li02941057142219"><strong id="UpdateApiV2_1__b1129410576226">async</strong></li><li id="UpdateApiV2_1__li2294155722216"><strong id="UpdateApiV2_1__b1229418574226">sync</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row97281154192218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p13295185717229">network_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p329595712213">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p17295557122210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p429525718222">Function network architecture.</p>
|
||
<ul id="UpdateApiV2_1__ul7295125712214"><li id="UpdateApiV2_1__li8295057112219">V1: non-VPC</li><li id="UpdateApiV2_1__li14295165717225">V2: VPC</li></ul>
|
||
<p id="UpdateApiV2_1__p1729515715229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul19295857172218"><li id="UpdateApiV2_1__li10295185714221"><strong id="UpdateApiV2_1__b17295157162217">V1</strong></li><li id="UpdateApiV2_1__li5295105772212"><strong id="UpdateApiV2_1__b15295125720224">V2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row473795442215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p1529565716221">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p729525782214">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p152956572228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p12295157132220">Function version.</p>
|
||
<p id="UpdateApiV2_1__p7295145722213">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
<p id="UpdateApiV2_1__p4296155710227">Maximum: <strong id="UpdateApiV2_1__b122961557102211">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row4737125482218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p329613570228">alias_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p20296195715229">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p8296105752218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p4296115714222">Function alias URN.</p>
|
||
<p id="UpdateApiV2_1__p529685762210">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1273785411221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p929625719229">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p929695782217">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p1229615571221">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p132961057182214">Timeout allowed for APIG to request the backend service. If the function network architecture is set to V1, the maximum timeout is 60,000. If the network architecture is set to V2, the maximum timeout is 600,000 and can be modified by using the gateway parameter backend_timeout.</p>
|
||
<p id="UpdateApiV2_1__p32961572221">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p162962057172211">Minimum: <strong id="UpdateApiV2_1__b1729611579223">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row07464547225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p172961257112215">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p15296125782211">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p1529655772217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p52961857142213">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul029716573220"><li id="UpdateApiV2_1__li3297195716220">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li1329713576225">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p13297145717224">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul429719572226"><li id="UpdateApiV2_1__li1029765772212"><strong id="UpdateApiV2_1__b6297157122212">ALL</strong></li><li id="UpdateApiV2_1__li12297757102212"><strong id="UpdateApiV2_1__b629720574227">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15746145413222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p122975578229">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p1529714575228">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p029715712229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p13297105718228">Backend name. It must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p1329710571229">Minimum: <strong id="UpdateApiV2_1__b17297185722213">3</strong></p>
|
||
<p id="UpdateApiV2_1__p629705713222">Maximum: <strong id="UpdateApiV2_1__b15297157182210">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row274655418223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p192971357152218">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p1129715574221">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p12297195772211">Array of <a href="#UpdateApiV2_1__request_BackendParamBase">BackendParamBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p202981057192217">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row674705417229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p12982579224">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p16298125732216">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p192986575222">Array of <a href="#UpdateApiV2_1__request_ApiConditionBase">ApiConditionBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p6298195792211">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row574714548222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="UpdateApiV2_1__p1729810572228">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="UpdateApiV2_1__p1329895715228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="UpdateApiV2_1__p19298175714226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="UpdateApiV2_1__p129895719222">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_BackendApiCreate"></a><a name="request_BackendApiCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_BackendApiCreate" frame="border" border="1" rules="all"><caption><b>Table 10 </b>BackendApiCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row137688548223"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="UpdateApiV2_1__p829995716225">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.2"><p id="UpdateApiV2_1__p1529935718226">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.3"><p id="UpdateApiV2_1__p11299557102215">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.10.2.5.1.4"><p id="UpdateApiV2_1__p7299185710229">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row13768254142217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p329945752217">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p429912578228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p182991257102216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p7299135792218">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row147691954142212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p729910577229">url_domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p11299145711223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p329975762218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p162998576227">Backend service address.</p>
|
||
<p id="UpdateApiV2_1__p1129915717220">A backend service address consists of a domain name or IP address and a port number, with not more than 255 characters. It must be in the format "Host name:Port number", for example, apig.example.com:7443. If the port number is not specified, the default HTTPS port 443 or the default HTTP port 80 is used.</p>
|
||
<p id="UpdateApiV2_1__p2029985782210">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row47691454202219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p142991857132219">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p182991957182214">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p1629913578223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p42991657152211">Request protocol.</p>
|
||
<p id="UpdateApiV2_1__p1529910572227">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul329925722215"><li id="UpdateApiV2_1__li829975712218"><strong id="UpdateApiV2_1__b730045719223">HTTP</strong></li><li id="UpdateApiV2_1__li1030015575228"><strong id="UpdateApiV2_1__b1830045716225">HTTPS</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row167698549220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p630095752216">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p9300957152217">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p43002578227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p9300185782213">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3769155416226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p18300135719220">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p123002057122216">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p1130013576229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p16300157102214">Request method.</p>
|
||
<p id="UpdateApiV2_1__p1030065782216">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul630025716225"><li id="UpdateApiV2_1__li1030075713220"><strong id="UpdateApiV2_1__b6300557172214">GET</strong></li><li id="UpdateApiV2_1__li12300185718220"><strong id="UpdateApiV2_1__b163011357122214">POST</strong></li><li id="UpdateApiV2_1__li173012577223"><strong id="UpdateApiV2_1__b8301165712221">PUT</strong></li><li id="UpdateApiV2_1__li7301115772214"><strong id="UpdateApiV2_1__b163017575222">DELETE</strong></li><li id="UpdateApiV2_1__li19301257112210"><strong id="UpdateApiV2_1__b5301145710228">HEAD</strong></li><li id="UpdateApiV2_1__li1830119575229"><strong id="UpdateApiV2_1__b63016571227">PATCH</strong></li><li id="UpdateApiV2_1__li63011057172210"><strong id="UpdateApiV2_1__b20301195722216">OPTIONS</strong></li><li id="UpdateApiV2_1__li1230115772217"><strong id="UpdateApiV2_1__b163011957112216">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11769145482219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p183011157132213">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p133025579225">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p17302257192214">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p83021257202213">Web backend version, which can contain a maximum of 16 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6770185452218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p83021357132215">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p63021757172210">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p18302185742217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p173028573225">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<p id="UpdateApiV2_1__p18302155792217">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
<div class="note" id="UpdateApiV2_1__note23027573223"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p11302195702219">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
<p id="UpdateApiV2_1__p830245782217"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row577055432210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p1730255716221">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p13302145752215">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p7302557112211">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p73024571224">Timeout allowed for APIG to request the backend service. You can set the maximum timeout using the backend_timeout configuration item. The maximum value is 600,000.</p>
|
||
<p id="UpdateApiV2_1__p17302157102212">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p19302145752219">Minimum: <strong id="UpdateApiV2_1__b1530218576222">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row077035492211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p63021957202219">enable_client_ssl</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p130365742210">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p1530318574224">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p183034572225">Indicates whether to enable two-way authentication.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row167703542229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p153032057202211">retry_count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p430335713228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p1030315715227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p63031757182217">Number of retry attempts to request the backend service. The default value is –1. The value ranges from –1 to 10.</p>
|
||
<p id="UpdateApiV2_1__p1303155772215">–1 indicates that idempotent APIs will retry once and non-idempotent APIs will not retry. POST and PATCH are non-idempotent. GET, HEAD, PUT, OPTIONS, and DELETE are idempotent.</p>
|
||
<p id="UpdateApiV2_1__p2303155712220">Default: <strong id="UpdateApiV2_1__b9303195719225">-1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row477013545220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p1530385762213">vpc_channel_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p43031557142219">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p18303657112217"><a href="#UpdateApiV2_1__request_ApiBackendVpcReq">ApiBackendVpcReq</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p1130385732210">VPC channel details. This parameter is required if vpc_channel_status is set to 1.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row197715540222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="UpdateApiV2_1__p3303195742215">vpc_channel_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="UpdateApiV2_1__p230375719226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="UpdateApiV2_1__p3303105710228">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="UpdateApiV2_1__p3303557132216">Indicates whether to use a VPC channel.</p>
|
||
<ul id="UpdateApiV2_1__ul1330375710225"><li id="UpdateApiV2_1__li16303135762218">1: A VPC channel is used.</li><li id="UpdateApiV2_1__li14304857142211">2: No VPC channel is used.</li></ul>
|
||
<p id="UpdateApiV2_1__p730445772219">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1030495702220"><li id="UpdateApiV2_1__li10304105719223"><strong id="UpdateApiV2_1__b17304105752217">1</strong></li><li id="UpdateApiV2_1__li130495792214"><strong id="UpdateApiV2_1__b130425732214">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiPolicyHttpCreate"></a><a name="request_ApiPolicyHttpCreate"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiPolicyHttpCreate" frame="border" border="1" rules="all"><caption><b>Table 11 </b>ApiPolicyHttpCreate</caption><thead align="left"><tr id="UpdateApiV2_1__row9801155411222"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.1"><p id="UpdateApiV2_1__p1430411571222">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.2"><p id="UpdateApiV2_1__p83042571221">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.3"><p id="UpdateApiV2_1__p17304205718223">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.11.2.5.1.4"><p id="UpdateApiV2_1__p12304857122215">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row580145411228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p17304145713227">url_domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p13304145792215">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p130514573227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p18305757132216">Endpoint of the policy backend.</p>
|
||
<p id="UpdateApiV2_1__p6305105792212">An endpoint consists of a domain name or IP address and a port number, with not more than 255 characters. It must be in the format "Domain name:Port number", for example, apig.example.com:7443. If the port number is not specified, the default HTTPS port 443 or the default HTTP port 80 is used.</p>
|
||
<p id="UpdateApiV2_1__p10305857132212">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row28021354192211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p20305155711226">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p3305115720224">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p830545719221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p430525732214">Request protocol. Options include HTTP, HTTPS.</p>
|
||
<p id="UpdateApiV2_1__p1730520577221">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul103054573224"><li id="UpdateApiV2_1__li330515702217"><strong id="UpdateApiV2_1__b9305175782215">HTTP</strong></li><li id="UpdateApiV2_1__li630575711221"><strong id="UpdateApiV2_1__b53055574222">HTTPS</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1802175422217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p03051577222">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p153052577223">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p730535715229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p33051357122210">Request method. Options include GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS, and ANY. Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1330611579227"><li id="UpdateApiV2_1__li1130645713228"><strong id="UpdateApiV2_1__b2030675712220">GET</strong></li><li id="UpdateApiV2_1__li430625719224"><strong id="UpdateApiV2_1__b193067571226">POST</strong></li><li id="UpdateApiV2_1__li1030635718222"><strong id="UpdateApiV2_1__b12306857122210">PUT</strong></li><li id="UpdateApiV2_1__li4306557192220"><strong id="UpdateApiV2_1__b23061157112210">DELETE</strong></li><li id="UpdateApiV2_1__li103061457132212"><strong id="UpdateApiV2_1__b183061057112219">HEAD</strong></li><li id="UpdateApiV2_1__li13061257112211"><strong id="UpdateApiV2_1__b730685720227">PATCH</strong></li><li id="UpdateApiV2_1__li1330625772219"><strong id="UpdateApiV2_1__b9306857192210">OPTIONS</strong></li><li id="UpdateApiV2_1__li730645792213"><strong id="UpdateApiV2_1__b4306205710226">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1802165462213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p0306175722216">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p1630612573223">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p113071957192219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p53078577223">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<p id="UpdateApiV2_1__p0307155752214">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
<div class="note" id="UpdateApiV2_1__note2307115720221"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p1430755717221">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
<p id="UpdateApiV2_1__p19307185742210"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3802125418226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p1130710573222">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p3307857182213">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p53072572225">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p5307757182215">Timeout allowed for APIG to request the backend service. You can set the maximum timeout using the backend_timeout configuration item. The maximum value is 600,000.</p>
|
||
<p id="UpdateApiV2_1__p113071577222">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p330725762214">Minimum: <strong id="UpdateApiV2_1__b1307115713227">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1880245442215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p14307135782211">retry_count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p1130735722220">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p63071857192212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p4307185717227">Number of retry attempts to request the backend service. The default value is –1. The value ranges from –1 to 10.</p>
|
||
<p id="UpdateApiV2_1__p123071357132218">–1 indicates that idempotent APIs will retry once and non-idempotent APIs will not retry. POST and PATCH are non-idempotent. GET, HEAD, PUT, OPTIONS, and DELETE are idempotent.</p>
|
||
<p id="UpdateApiV2_1__p430765719223">Default: <strong id="UpdateApiV2_1__b10308157132218">-1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14802105452218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p19308757182214">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p830815716221">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p23081657142213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p1330825762212">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul330835702214"><li id="UpdateApiV2_1__li15308175782217">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li130855715229">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p12308205715222">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1330965762218"><li id="UpdateApiV2_1__li17309357192211"><strong id="UpdateApiV2_1__b1230965782216">ALL</strong></li><li id="UpdateApiV2_1__li173091257172213"><strong id="UpdateApiV2_1__b930945752211">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row148031754132219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p17309155714221">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p130975772219">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p1530916577224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p13091057182211">Backend name. It must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p73091757182212">Minimum: <strong id="UpdateApiV2_1__b163091357102220">3</strong></p>
|
||
<p id="UpdateApiV2_1__p18309557162219">Maximum: <strong id="UpdateApiV2_1__b2309125732219">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row4803175422217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p10309135715228">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p8309105717228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p19310175717229">Array of <a href="#UpdateApiV2_1__request_BackendParamBase">BackendParamBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p0310165702217">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18803354192214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p2031095742214">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p531015752220">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p3310155719225">Array of <a href="#UpdateApiV2_1__request_ApiConditionBase">ApiConditionBase</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p11310125717226">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1380345415229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p12310145792212">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p1831015752216">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p1731085782213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p931035715222">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row118031354202211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p1231012573222">vpc_channel_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p2310357152219">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p15310175710223"><a href="#UpdateApiV2_1__request_ApiBackendVpcReq">ApiBackendVpcReq</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p23101957122216">VPC channel details. This parameter is required if vpc_channel_status is set to 1.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row480395432210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="UpdateApiV2_1__p1631055713227">vpc_channel_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="UpdateApiV2_1__p031045715228">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="UpdateApiV2_1__p531025712212">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="UpdateApiV2_1__p14311757132213">Indicates whether to use a VPC channel.</p>
|
||
<ul id="UpdateApiV2_1__ul23111057152210"><li id="UpdateApiV2_1__li73111577222">1: A VPC channel is used.</li><li id="UpdateApiV2_1__li19311857132211">2: No VPC channel is used.</li></ul>
|
||
<p id="UpdateApiV2_1__p931195722212">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul14311115715221"><li id="UpdateApiV2_1__li16311557172211"><strong id="UpdateApiV2_1__b831110571221">1</strong></li><li id="UpdateApiV2_1__li1231115719223"><strong id="UpdateApiV2_1__b5311165710226">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_BackendParamBase"></a><a name="request_BackendParamBase"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_BackendParamBase" frame="border" border="1" rules="all"><caption><b>Table 12 </b>BackendParamBase</caption><thead align="left"><tr id="UpdateApiV2_1__row19853145482213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.1"><p id="UpdateApiV2_1__p5311857192215">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.2"><p id="UpdateApiV2_1__p1231214579225">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.3"><p id="UpdateApiV2_1__p13121457132219">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.12.2.5.1.4"><p id="UpdateApiV2_1__p10312205716221">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row285318546225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="UpdateApiV2_1__p9312857142217">origin</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="UpdateApiV2_1__p93121957132215">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="UpdateApiV2_1__p23121957132216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="UpdateApiV2_1__p16312145772217">Parameter type.</p>
|
||
<ul id="UpdateApiV2_1__ul1831265792216"><li id="UpdateApiV2_1__li1331235772220">REQUEST: backend parameter</li><li id="UpdateApiV2_1__li231217571225">CONSTANT: constant parameter</li><li id="UpdateApiV2_1__li1331285752219">SYSTEM: system parameter</li></ul>
|
||
<p id="UpdateApiV2_1__p831211579229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul3312757112217"><li id="UpdateApiV2_1__li9312205712211"><strong id="UpdateApiV2_1__b113121957172213">REQUEST</strong></li><li id="UpdateApiV2_1__li19312105732216"><strong id="UpdateApiV2_1__b13124572226">CONSTANT</strong></li><li id="UpdateApiV2_1__li93131657192219"><strong id="UpdateApiV2_1__b8313175702213">SYSTEM</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17853155411220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="UpdateApiV2_1__p4313105714220">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="UpdateApiV2_1__p8313135792219">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="UpdateApiV2_1__p1431305722220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="UpdateApiV2_1__p6313125752217">Parameter name.</p>
|
||
<p id="UpdateApiV2_1__p153137574224">The parameter name must start with a letter and can only contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="UpdateApiV2_1__p1931355752217">Minimum: <strong id="UpdateApiV2_1__b131311573228">1</strong></p>
|
||
<p id="UpdateApiV2_1__p8313135702211">Maximum: <strong id="UpdateApiV2_1__b10313115772212">32</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3854155412216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="UpdateApiV2_1__p4313757122213">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="UpdateApiV2_1__p12313145719223">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="UpdateApiV2_1__p163131657102216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="UpdateApiV2_1__p113131757132216">Description, which can contain a maximum of 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1285410544227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="UpdateApiV2_1__p16313155752214">location</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="UpdateApiV2_1__p6313165712220">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="UpdateApiV2_1__p1374318169445">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="UpdateApiV2_1__p123134571227">Parameter location. The value can be PATH, QUERY, or HEADER.</p>
|
||
<p id="UpdateApiV2_1__p163141457192218">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul123142578221"><li id="UpdateApiV2_1__li73141257122215"><strong id="UpdateApiV2_1__b1131415762219">PATH</strong></li><li id="UpdateApiV2_1__li14314105742216"><strong id="UpdateApiV2_1__b123142578224">QUERY</strong></li><li id="UpdateApiV2_1__li1131411570221"><strong id="UpdateApiV2_1__b163141257192210">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row885435412222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="UpdateApiV2_1__p18314195716224">value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="UpdateApiV2_1__p1031455712224">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="UpdateApiV2_1__p73143578221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="UpdateApiV2_1__p193141457112212">Parameter value, which can contain a maximum of 255 characters.</p>
|
||
<p id="UpdateApiV2_1__p143141957152214">If the origin type is REQUEST, the value of this parameter is the parameter name in req_params.</p>
|
||
<p id="UpdateApiV2_1__p1331465772216">If the origin type is CONSTANT, the value is a constant.</p>
|
||
<p id="UpdateApiV2_1__p23147572224">If the origin type is SYSTEM, the value is a system parameter name. System parameters include gateway parameters, frontend authentication parameters, and backend authentication parameters. You can set the frontend or backend authentication parameters after enabling custom frontend or backend authentication.</p>
|
||
<p id="UpdateApiV2_1__p431415752212">The gateway parameters are as follows:</p>
|
||
<ul id="UpdateApiV2_1__ul14314185715229"><li id="UpdateApiV2_1__li731495710222">$context.sourceIp: source IP address of the API caller.</li><li id="UpdateApiV2_1__li931565772212">$context.stage: deployment environment in which the API is called.</li><li id="UpdateApiV2_1__li6315175716221">$context.apiId: API ID.</li><li id="UpdateApiV2_1__li931515792212">$context.appId: ID of the app used by the API caller.</li><li id="UpdateApiV2_1__li7315195718227">$context.requestId: request ID generated when the API is called.</li><li id="UpdateApiV2_1__li1131595742213">$context.serverAddr: address of the gateway server.</li><li id="UpdateApiV2_1__li231515752218">$context.serverName: name of the gateway server.</li><li id="UpdateApiV2_1__li9315165717223">$context.handleTime: time when the API request is processed.</li><li id="UpdateApiV2_1__li19315125720225">$context.providerAppId: ID of the app used by the API owner. This parameter is currently not supported.</li></ul>
|
||
<p id="UpdateApiV2_1__p13315135714221">Frontend authentication parameter: prefixed with "$context.authorizer.frontend.". For example, to return "aaa" upon successful custom authentication, set this parameter to "$context.authorizer.frontend.aaa".</p>
|
||
<p id="UpdateApiV2_1__p63151457122216">Backend authentication parameter: prefixed with "$context.authorizer.backend.". For example, to return "aaa" upon successful custom authentication, set this parameter to "$context.authorizer.backend.aaa".</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiConditionBase"></a><a name="request_ApiConditionBase"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiConditionBase" frame="border" border="1" rules="all"><caption><b>Table 13 </b>ApiConditionBase</caption><thead align="left"><tr id="UpdateApiV2_1__row68687543223"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.1"><p id="UpdateApiV2_1__p17316155772215">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.2"><p id="UpdateApiV2_1__p1531645719224">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.3"><p id="UpdateApiV2_1__p1431615702219">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.13.2.5.1.4"><p id="UpdateApiV2_1__p16316145722212">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row16868155412214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="UpdateApiV2_1__p93165573222">req_param_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="UpdateApiV2_1__p193161957202218">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="UpdateApiV2_1__p931610572224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="UpdateApiV2_1__p831665772215">Input parameter name. This parameter is required if the policy type is param.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row198681254132211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="UpdateApiV2_1__p17316857112219">condition_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="UpdateApiV2_1__p531625742211">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="UpdateApiV2_1__p1531615573221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="UpdateApiV2_1__p1731625714226">Policy condition.</p>
|
||
<ul id="UpdateApiV2_1__ul631635792211"><li id="UpdateApiV2_1__li7316185713226">exact: exact match</li><li id="UpdateApiV2_1__li14316657202213">enum: enumeration</li><li id="UpdateApiV2_1__li1631685717228">pattern: regular expression</li></ul>
|
||
<p id="UpdateApiV2_1__p16317557142219">This parameter is required if the policy type is param.</p>
|
||
<p id="UpdateApiV2_1__p13317175742217">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul831775752218"><li id="UpdateApiV2_1__li831745782219"><strong id="UpdateApiV2_1__b1731795752216">exact</strong></li><li id="UpdateApiV2_1__li1731755710225"><strong id="UpdateApiV2_1__b23179579229">enum</strong></li><li id="UpdateApiV2_1__li231795722212"><strong id="UpdateApiV2_1__b8317757162219">pattern</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row386895492218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="UpdateApiV2_1__p2317155712222">condition_origin</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="UpdateApiV2_1__p133170577227">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="UpdateApiV2_1__p19317145712215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="UpdateApiV2_1__p113171657152213">Policy type.</p>
|
||
<ul id="UpdateApiV2_1__ul23171357122210"><li id="UpdateApiV2_1__li6319757102211">param: input parameter</li><li id="UpdateApiV2_1__li1931975762213">source: source IP address</li></ul>
|
||
<p id="UpdateApiV2_1__p1531905772214">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul3319105722210"><li id="UpdateApiV2_1__li203191457182211"><strong id="UpdateApiV2_1__b13319145713221">param</strong></li><li id="UpdateApiV2_1__li2031985717224"><strong id="UpdateApiV2_1__b17319957182217">source</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1786895492210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="UpdateApiV2_1__p7319557172210">condition_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="UpdateApiV2_1__p2319057152219">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="UpdateApiV2_1__p331917574226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="UpdateApiV2_1__p16319125718222">Condition value.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__request_ApiBackendVpcReq"></a><a name="request_ApiBackendVpcReq"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__request_ApiBackendVpcReq" frame="border" border="1" rules="all"><caption><b>Table 14 </b>ApiBackendVpcReq</caption><thead align="left"><tr id="UpdateApiV2_1__row587855410225"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.1"><p id="UpdateApiV2_1__p43207572228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.2"><p id="UpdateApiV2_1__p19320165712220">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.3"><p id="UpdateApiV2_1__p232075782217">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.14.2.5.1.4"><p id="UpdateApiV2_1__p113201657182217">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row787814541221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.1 "><p id="UpdateApiV2_1__p15320115715224">vpc_channel_proxy_host</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.2 "><p id="UpdateApiV2_1__p63207577226">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.3 "><p id="UpdateApiV2_1__p1932095722214">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.14.2.5.1.4 "><p id="UpdateApiV2_1__p13320457192218">Proxy host.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row4878145482217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.1 "><p id="UpdateApiV2_1__p132055782217">vpc_channel_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.2 "><p id="UpdateApiV2_1__p1532010576223">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.3 "><p id="UpdateApiV2_1__p15320185719223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.14.2.5.1.4 "><p id="UpdateApiV2_1__p932020579228">VPC channel ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section1320155712220"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateApiV2_1__p143217574226"><strong id="UpdateApiV2_1__b8321125713224">Status code: 200</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiInfo" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row9887854112216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateApiV2_1__p123211657142212">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateApiV2_1__p1232115573227">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateApiV2_1__p63211957202212">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row20887654192215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p33219571220">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p183211457152215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1232117575226">API name.</p>
|
||
<p id="UpdateApiV2_1__p1032212571222">It can contain 3 to 255 characters, starting with a letter or digit. Only letters, digits, and these special characters are allowed: -_./:()</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11887854112218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1832225712218">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p53221157122218">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p123221157162215">API type.</p>
|
||
<ul id="UpdateApiV2_1__ul15322105717221"><li id="UpdateApiV2_1__li1032213572229">1: public API</li><li id="UpdateApiV2_1__li153221957102210">2: private API</li></ul>
|
||
<p id="UpdateApiV2_1__p113221657142218">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul0322135712217"><li id="UpdateApiV2_1__li1832295792218"><strong id="UpdateApiV2_1__b1332318570221">1</strong></li><li id="UpdateApiV2_1__li11323135717224"><strong id="UpdateApiV2_1__b183234574221">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row888765472219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p11323857102212">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1932316575223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p13323125712227">API version.</p>
|
||
<p id="UpdateApiV2_1__p14323157192217">Maximum: <strong id="UpdateApiV2_1__b12323757172217">16</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row8887175472211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p193231757142210">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p153234571225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1232335712215">API request protocol:</p>
|
||
<ul id="UpdateApiV2_1__ul9323185742218"><li id="UpdateApiV2_1__li1832415722217">HTTP</li><li id="UpdateApiV2_1__li143241157122211">HTTPS</li><li id="UpdateApiV2_1__li032415717223">BOTH: Both HTTP and HTTPS are supported.</li></ul>
|
||
<p id="UpdateApiV2_1__p1532435712221">Default: <strong id="UpdateApiV2_1__b113249573223">HTTPS</strong></p>
|
||
<p id="UpdateApiV2_1__p1532455715223">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul13242579227"><li id="UpdateApiV2_1__li1932410577225"><strong id="UpdateApiV2_1__b032413572228">HTTP</strong></li><li id="UpdateApiV2_1__li17324155720221"><strong id="UpdateApiV2_1__b43251357122211">HTTPS</strong></li><li id="UpdateApiV2_1__li132585716222"><strong id="UpdateApiV2_1__b1832516579229">BOTH</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row7888165414224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p10325457152220">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p73251757162211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p332575710223">API request method.</p>
|
||
<p id="UpdateApiV2_1__p163252571222">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul11325115782212"><li id="UpdateApiV2_1__li18325657192212"><strong id="UpdateApiV2_1__b8325175772214">GET</strong></li><li id="UpdateApiV2_1__li1432685714228"><strong id="UpdateApiV2_1__b132625716226">POST</strong></li><li id="UpdateApiV2_1__li63264579224"><strong id="UpdateApiV2_1__b1332605717225">PUT</strong></li><li id="UpdateApiV2_1__li1732665710223"><strong id="UpdateApiV2_1__b10326125717226">DELETE</strong></li><li id="UpdateApiV2_1__li103265572223"><strong id="UpdateApiV2_1__b7326157162212">HEAD</strong></li><li id="UpdateApiV2_1__li83261557182220"><strong id="UpdateApiV2_1__b732617577225">PATCH</strong></li><li id="UpdateApiV2_1__li0327115713227"><strong id="UpdateApiV2_1__b14327205713225">OPTIONS</strong></li><li id="UpdateApiV2_1__li1327195713226"><strong id="UpdateApiV2_1__b1232711574227">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row188814542229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p932735742214">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1832735782213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p143273574221">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<div class="note" id="UpdateApiV2_1__note132710575227"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p153271457162218">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row48881854112212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1032718572222">auth_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p132815719224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1532855792213">API authentication mode. Options:</p>
|
||
<ul id="UpdateApiV2_1__ul33288572224"><li id="UpdateApiV2_1__li13328557192215">NONE</li><li id="UpdateApiV2_1__li103281857112210">APP</li><li id="UpdateApiV2_1__li5328105722215">IAM</li><li id="UpdateApiV2_1__li103284577221">AUTHORIZER: custom authentication. When auth_type is set to AUTHORIZER, the authorizer_id field is mandatory.</li></ul>
|
||
<p id="UpdateApiV2_1__p1132811572222"></p>
|
||
<p id="UpdateApiV2_1__p12329657192213">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul17329175712229"><li id="UpdateApiV2_1__li133292057142215"><strong id="UpdateApiV2_1__b8329195712224">NONE</strong></li><li id="UpdateApiV2_1__li23292057192215"><strong id="UpdateApiV2_1__b9329185792211">APP</strong></li><li id="UpdateApiV2_1__li15330155742212"><strong id="UpdateApiV2_1__b183301557172215">IAM</strong></li><li id="UpdateApiV2_1__li933045762210"><strong id="UpdateApiV2_1__b10330165710222">AUTHORIZER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row28881154142217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p15330125742217">auth_opt</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p10330135722216"><a href="#UpdateApiV2_1__response_AuthOpt">AuthOpt</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p8330957202217">Security authentication parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6888195432212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p33301857192216">cors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p33301157142215">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p19330175712223">Indicates whether CORS is supported.</p>
|
||
<ul id="UpdateApiV2_1__ul123312057102214"><li id="UpdateApiV2_1__li133105710223">TRUE: supported</li><li id="UpdateApiV2_1__li18331457132215">FALSE: not supported</li></ul>
|
||
<p id="UpdateApiV2_1__p113317575220">Default: <strong id="UpdateApiV2_1__b233113573221">false</strong></p>
|
||
<p id="UpdateApiV2_1__p163312576226">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul033119574221"><li id="UpdateApiV2_1__li633145752213"><strong id="UpdateApiV2_1__b2331135772213">true</strong></li><li id="UpdateApiV2_1__li4331195752217"><strong id="UpdateApiV2_1__b1133295752216">false</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3888195415226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p17332135792217">match_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p533219572228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1733216572221">API matching mode:</p>
|
||
<ul id="UpdateApiV2_1__ul1233205732218"><li id="UpdateApiV2_1__li1533255713226">SWA: Prefix match</li><li id="UpdateApiV2_1__li1933245742214">NORMAL: Exact match Default value: NORMAL</li></ul>
|
||
<p id="UpdateApiV2_1__p9332165713223">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul13332557162210"><li id="UpdateApiV2_1__li13333195772219"><strong id="UpdateApiV2_1__b11333185718227">SWA</strong></li><li id="UpdateApiV2_1__li1833325792215"><strong id="UpdateApiV2_1__b113331657142214">NORMAL</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9888854142213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p7333155719223">backend_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p233395712213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1433315572223">Backend type. Options:</p>
|
||
<ul id="UpdateApiV2_1__ul033319572229"><li id="UpdateApiV2_1__li233365722214">HTTP: web backend</li><li id="UpdateApiV2_1__li1633312571225">FUNCTION: FunctionGraph backend. When backend_type is set to FUNCTION, the func_info field is mandatory.</li><li id="UpdateApiV2_1__li1334125782217">MOCK: mock backend. When backend_type is set to MOCK, the mock_info field is mandatory.</li></ul>
|
||
<p id="UpdateApiV2_1__p183341957122219">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul183346574224"><li id="UpdateApiV2_1__li1233417578225"><strong id="UpdateApiV2_1__b1833475710221">HTTP</strong></li><li id="UpdateApiV2_1__li333425712225"><strong id="UpdateApiV2_1__b13334757172217">FUNCTION</strong></li><li id="UpdateApiV2_1__li1233565714220"><strong id="UpdateApiV2_1__b1533517572226">MOCK</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row388975402213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p43356577225">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p33351257202210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p633512575229">API description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1288913544225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p123352571227">group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p733545762210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1733515782218">ID of the API group to which the API belongs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6890854192215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p17336155742217">body_remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p17336185715222">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p8336105711221">API request body, which can be an example request body, media type, or parameters. Ensure that the request body does not exceed 20,480 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1389075422210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p10336757172215">result_normal_sample</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p173361557142217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1133613573228">Example response for a successful request. Ensure that the response does not exceed 20,480 characters.</p>
|
||
<p id="UpdateApiV2_1__p14336357112214"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row10890054182215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p17336257152218">result_failure_sample</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p11336135714229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1336957112214">Example response for a failed request. Ensure that the response does not exceed 20,480 characters.</p>
|
||
<p id="UpdateApiV2_1__p203360575225"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1289065418224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p633625710229">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p16337185711227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p63371357182214">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row08901854172213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p13373574221">tags</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1337115782214">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p5337145712213">Tag.</p>
|
||
<p id="UpdateApiV2_1__p18337357102217">Use letters, digits, and special characters (-*#%.:_) and start with a letter.</p>
|
||
<p id="UpdateApiV2_1__p163372576226">By default, 10 tags are supported. To increase the quota, contact technical support to modify the API_TAG_NUM_LIMIT configuration.</p>
|
||
<p id="UpdateApiV2_1__p12337205722218">Minimum: <strong id="UpdateApiV2_1__b1337857182217">1</strong></p>
|
||
<p id="UpdateApiV2_1__p14337185702211">Maximum: <strong id="UpdateApiV2_1__b10337657112217">128</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row118901654132214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p143371057172213">response_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p18337115718225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p10337115792211">Group response ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row108902054192211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p123381557172215">roma_app_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1338145710226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p533825713224">Integration application ID.</p>
|
||
<p id="UpdateApiV2_1__p1533845719221">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11890155442216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p4338135742211">domain_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p19338757102219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p833813574222">Custom domain name bound to the API.</p>
|
||
<p id="UpdateApiV2_1__p10338195713222">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row98916548222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p113381571226">tag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p3338857172217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1733855712227">Tag.</p>
|
||
<p id="UpdateApiV2_1__p123384570229">This field will be deprecated. You can use the tags field instead.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5891175492211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1338957182212">content_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p9338357132217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p033812573224">Request content type:</p>
|
||
<ul id="UpdateApiV2_1__ul033818574220"><li id="UpdateApiV2_1__li1833865718228">application/json</li><li id="UpdateApiV2_1__li9338185714222">application/xml</li><li id="UpdateApiV2_1__li833895772215">multipart/form-data</li><li id="UpdateApiV2_1__li1233965762219">text/plain</li></ul>
|
||
<p id="UpdateApiV2_1__p2339195782213">Coming soon.</p>
|
||
<p id="UpdateApiV2_1__p833912573224">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul20339125712213"><li id="UpdateApiV2_1__li9339155702214"><strong id="UpdateApiV2_1__b1333965712215">application/json</strong></li><li id="UpdateApiV2_1__li17339105762218"><strong id="UpdateApiV2_1__b233915575227">application/xml</strong></li><li id="UpdateApiV2_1__li633975714229"><strong id="UpdateApiV2_1__b1733945711223">multipart/form-data</strong></li><li id="UpdateApiV2_1__li13391757122220"><strong id="UpdateApiV2_1__b9339057132211">text/plain</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row12891155416229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1833945772214">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p14339165711226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p033975752216">API ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row20891145413226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1339195710226">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p5339357172213">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p11339857202216">App status.</p>
|
||
<ul id="UpdateApiV2_1__ul1533945720229"><li id="UpdateApiV2_1__li6339457142218">1: valid</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1189112545222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p15340357142213">arrange_necessary</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p334075720221">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p10340457132212">Indicates whether to enable orchestration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row78913542224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p0340145719226">register_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1134016571226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p8340457102216">Time when the API is registered.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row13892145492213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p4340165717229">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p133402057132218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p934075710225">Time when the API was last modified.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row198921054142212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p193401357172215">group_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1034055718220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p9340105714220">Name of the API group to which the API belongs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row589210542226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p63401057142210">group_version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1334075719224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p7340457152211">Version of the API group to which the API belongs.</p>
|
||
<p id="UpdateApiV2_1__p11340657122218">The default value is V1. Other versions are not supported.</p>
|
||
<p id="UpdateApiV2_1__p634019576225">Default: <strong id="UpdateApiV2_1__b13340145752216">V1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row189220541227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p153405571229">run_env_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p4340185732216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1934075742211">ID of the environment in which the API has been published.</p>
|
||
<p id="UpdateApiV2_1__p18340145711229">Separate multiple environment IDs with vertical bars (|).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row178921154132213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p43411957122219">run_env_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p934114572228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p15341145712210">Name of the environment in which the API has been published.</p>
|
||
<p id="UpdateApiV2_1__p53416573225">Separate multiple environment names with vertical bars (|).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row12892185416222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1534155715223">publish_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p143411557142213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p93411057182211">Publication record ID.</p>
|
||
<p id="UpdateApiV2_1__p334175719221">Separate multiple publication record IDs with vertical bars (|).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15893195462215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p13341175792217">publish_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1334118577229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p034195712213">Publication time.</p>
|
||
<p id="UpdateApiV2_1__p15341195722218">Separate the time of multiple publication records with vertical bars (|).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1989310543221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1134185702215">roma_app_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p33411057112216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1341205719227">Name of the integration application to which the API belongs.</p>
|
||
<p id="UpdateApiV2_1__p134115792220">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row118931542222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1341195772215">ld_api_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p2034195712226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p834115579225">ID of the corresponding custom backend API.</p>
|
||
<p id="UpdateApiV2_1__p5342657102210">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row4893145410228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p134245742212">backend_api</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p73426578229"><a href="#UpdateApiV2_1__response_BackendApi">BackendApi</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p19342105719227">Web backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1589385412219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1934275713228">api_group_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p13342257172212"><a href="#UpdateApiV2_1__response_ApiGroupCommonInfo">ApiGroupCommonInfo</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p113421557172210">API group information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row10893175414227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p134210570220">func_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p934211576225"><a href="#UpdateApiV2_1__response_ApiFunc">ApiFunc</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p934295715225">FunctionGraph backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11893854132218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p1134205716221">mock_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p7342165711223"><a href="#UpdateApiV2_1__response_ApiMock">ApiMock</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p18343105712214">Mock backend details.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row689411548221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p11343165712210">req_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p8343125713225">Array of <a href="#UpdateApiV2_1__response_ReqParam">ReqParam</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p234335702217">Request parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1489465482210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p8343205715228">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p934335719223">Array of <a href="#UpdateApiV2_1__response_BackendParam">BackendParam</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p63439579225">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row15894165419223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p16343157122216">policy_functions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1034315574226">Array of <a href="#UpdateApiV2_1__response_ApiPolicyFunctionResp">ApiPolicyFunctionResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p33431657102214">FunctionGraph backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1889435419226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p434435719220">policy_mocks</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p1344115742219">Array of <a href="#UpdateApiV2_1__response_ApiPolicyMockResp">ApiPolicyMockResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p13344105742212">Mock backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row8894195492217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateApiV2_1__p103441573224">policy_https</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateApiV2_1__p63441357182214">Array of <a href="#UpdateApiV2_1__response_ApiPolicyHttpResp">ApiPolicyHttpResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateApiV2_1__p1134425792216">Web backend policies.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_AuthOpt"></a><a name="response_AuthOpt"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_AuthOpt" frame="border" border="1" rules="all"><caption><b>Table 16 </b>AuthOpt</caption><thead align="left"><tr id="UpdateApiV2_1__row163925511224"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="UpdateApiV2_1__p193451574227">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="UpdateApiV2_1__p93451357122217">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="UpdateApiV2_1__p14345857132214">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row113925519227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="UpdateApiV2_1__p1034585710225">app_code_auth_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="UpdateApiV2_1__p33451357122211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="UpdateApiV2_1__p12345105772215">Indicates whether AppCode authentication is enabled. This parameter is valid only if auth_type is set to App. The default value is DISABLE.</p>
|
||
<ul id="UpdateApiV2_1__ul1234515752215"><li id="UpdateApiV2_1__li1334513571227">DISABLE: AppCode authentication is disabled.</li><li id="UpdateApiV2_1__li434515792219">HEADER: AppCode authentication is enabled and the AppCode is located in the header.</li></ul>
|
||
<p id="UpdateApiV2_1__p163451057162214">Default: <strong id="UpdateApiV2_1__b17345165716223">DISABLE</strong></p>
|
||
<p id="UpdateApiV2_1__p133451257172215">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1134675719221"><li id="UpdateApiV2_1__li734625702214"><strong id="UpdateApiV2_1__b13461557112219">DISABLE</strong></li><li id="UpdateApiV2_1__li13464579224"><strong id="UpdateApiV2_1__b1334625713224">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_BackendApi"></a><a name="response_BackendApi"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_BackendApi" frame="border" border="1" rules="all"><caption><b>Table 17 </b>BackendApi</caption><thead align="left"><tr id="UpdateApiV2_1__row19425550224"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="UpdateApiV2_1__p1034605712213">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="UpdateApiV2_1__p83465579223">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="UpdateApiV2_1__p8346175732220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row11438556220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p1534685702213">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p434675710226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p1434665782214">Custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row144325572213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p133461857152211">url_domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p43461957112217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p13347057152213">Backend service address.</p>
|
||
<p id="UpdateApiV2_1__p123471457122216">A backend service address consists of a domain name or IP address and a port number, with not more than 255 characters. It must be in the format "Host name:Port number", for example, apig.example.com:7443. If the port number is not specified, the default HTTPS port 443 or the default HTTP port 80 is used.</p>
|
||
<p id="UpdateApiV2_1__p334785715223">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14385515220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p234745712218">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p18347155711228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p1347185772216">Request protocol.</p>
|
||
<p id="UpdateApiV2_1__p5347657122211">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul434718574226"><li id="UpdateApiV2_1__li1234713574221"><strong id="UpdateApiV2_1__b3347145722219">HTTP</strong></li><li id="UpdateApiV2_1__li23472578221"><strong id="UpdateApiV2_1__b734725742215">HTTPS</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row94335520220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p1234720570221">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p1834719573223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p12347857152217">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2043655192211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p11347557142214">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p4347757142215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p1534855714221">Request method.</p>
|
||
<p id="UpdateApiV2_1__p934825713226">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul63483574222"><li id="UpdateApiV2_1__li153481557172214"><strong id="UpdateApiV2_1__b834845711223">GET</strong></li><li id="UpdateApiV2_1__li8348175712213"><strong id="UpdateApiV2_1__b73481957172213">POST</strong></li><li id="UpdateApiV2_1__li234875722215"><strong id="UpdateApiV2_1__b1634895719226">PUT</strong></li><li id="UpdateApiV2_1__li93482576222"><strong id="UpdateApiV2_1__b734845752211">DELETE</strong></li><li id="UpdateApiV2_1__li9348155719224"><strong id="UpdateApiV2_1__b4348135722220">HEAD</strong></li><li id="UpdateApiV2_1__li11348155792214"><strong id="UpdateApiV2_1__b23481457132216">PATCH</strong></li><li id="UpdateApiV2_1__li12348185762212"><strong id="UpdateApiV2_1__b18348357172213">OPTIONS</strong></li><li id="UpdateApiV2_1__li53485573225"><strong id="UpdateApiV2_1__b10348175710227">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row24335514224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p14348957102214">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p12348757112219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p2349757112217">Web backend version, which can contain a maximum of 16 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row19432556229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p63490576224">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p034915732210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p12349185719224">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<p id="UpdateApiV2_1__p1734925716225">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
<div class="note" id="UpdateApiV2_1__note4349257142211"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p1334965715223">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
<p id="UpdateApiV2_1__p63494575226"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row443155122211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p4349557122217">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p11349195702212">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p3349175717226">Timeout allowed for APIG to request the backend service. You can set the maximum timeout using the backend_timeout configuration item. The maximum value is 600,000.</p>
|
||
<p id="UpdateApiV2_1__p1349257172216">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p3349157122216">Minimum: <strong id="UpdateApiV2_1__b634945713225">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row164313556225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p5349165732214">enable_client_ssl</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p123493577222">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p173491157132217">Indicates whether to enable two-way authentication.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row74410553221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p7349857132212">retry_count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p63501957142217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p143506570226">Number of retry attempts to request the backend service. The default value is –1. The value ranges from –1 to 10.</p>
|
||
<p id="UpdateApiV2_1__p2035019574226">–1 indicates that idempotent APIs will retry once and non-idempotent APIs will not retry. POST and PATCH are non-idempotent. GET, HEAD, PUT, OPTIONS, and DELETE are idempotent.</p>
|
||
<p id="UpdateApiV2_1__p43505578229">Default: <strong id="UpdateApiV2_1__b83502057192219">-1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row7444550221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p035075717222">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p835085752215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p1235020574228">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row10448550223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p14350057202214">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p935010576222">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p13350357132214">Backend service status.</p>
|
||
<ul id="UpdateApiV2_1__ul8350195716223"><li id="UpdateApiV2_1__li11350145722216">1: valid</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row134485517222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p0350155714225">register_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p1635045792216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p15350155717229">Registration time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row24495542212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p135111574227">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p1335155752215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p17351857122214">Update time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6443553223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p0351115720226">vpc_channel_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p20351135742216"><a href="#UpdateApiV2_1__response_VpcInfo">VpcInfo</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p53511457192213">VPC channel details. This parameter is required if vpc_channel_status is set to 1.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11441555112212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateApiV2_1__p1835116579224">vpc_channel_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateApiV2_1__p1235135720226">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateApiV2_1__p1135145722219">Indicates whether to use a VPC channel.</p>
|
||
<ul id="UpdateApiV2_1__ul135135717223"><li id="UpdateApiV2_1__li13351195712214">1: A VPC channel is used.</li><li id="UpdateApiV2_1__li20351135714228">2: No VPC channel is used.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiGroupCommonInfo"></a><a name="response_ApiGroupCommonInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiGroupCommonInfo" frame="border" border="1" rules="all"><caption><b>Table 18 </b>ApiGroupCommonInfo</caption><thead align="left"><tr id="UpdateApiV2_1__row06185518221"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="UpdateApiV2_1__p535265712214">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="UpdateApiV2_1__p1035215710221">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="UpdateApiV2_1__p1235217573229">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1262185542210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p133521457152216">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p18352165712221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p12352195716224">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row46245512218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p6352125752216">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p435216573227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p17352165715224">API group name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1062355142212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p133521957132210">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p1835265710223">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p1335245782212">Status.</p>
|
||
<ul id="UpdateApiV2_1__ul33523579227"><li id="UpdateApiV2_1__li835217573223">1: valid</li></ul>
|
||
<p id="UpdateApiV2_1__p6352135752212">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul16352125718221"><li id="UpdateApiV2_1__li135375713221"><strong id="UpdateApiV2_1__b6353205710221">1</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17626552229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p7353165719225">sl_domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p133531557152216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p4353135752213">Subdomain name that APIG automatically allocates to the API group.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row762195515222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p235313572224">register_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p183531257112215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p16353145742213">Creation time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row26225522219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p193531657192214">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p10353145762214">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p93532570227">Last modification time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row116211558227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p1635385719224">on_sell_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p635395702212">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p535315782219">Indicates whether the API group has been listed on KooGallery.</p>
|
||
<ul id="UpdateApiV2_1__ul535395712215"><li id="UpdateApiV2_1__li113536578229">1: listed</li><li id="UpdateApiV2_1__li03531357152219">2: not listed</li><li id="UpdateApiV2_1__li93531574223">3: under review</li></ul>
|
||
<p id="UpdateApiV2_1__p2354457122213">Not supported currently.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row863125515221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="UpdateApiV2_1__p16354657122217">url_domains</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="UpdateApiV2_1__p133544578221">Array of <a href="#UpdateApiV2_1__response_UrlDomain">UrlDomain</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="UpdateApiV2_1__p103545576225">Independent domain names bound to the API group.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_UrlDomain"></a><a name="response_UrlDomain"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_UrlDomain" frame="border" border="1" rules="all"><caption><b>Table 19 </b>UrlDomain</caption><thead align="left"><tr id="UpdateApiV2_1__row1471135532220"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="UpdateApiV2_1__p1035418575221">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="UpdateApiV2_1__p635420574221">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="UpdateApiV2_1__p20354857142220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row147105516226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p10354105782218">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p3354205715224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p135414579229">Domain ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1717552224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p19355257122218">domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p18355145716225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p16355105762214">Domain name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row171205520225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p19355195702215">cname_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p11355957102216">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p335525710228">CNAME resolution status of the domain name.</p>
|
||
<ul id="UpdateApiV2_1__ul1435575772216"><li id="UpdateApiV2_1__li2355125732215">1: not resolved</li><li id="UpdateApiV2_1__li1235545752210">2: resolving</li><li id="UpdateApiV2_1__li935505782210">3: resolved</li><li id="UpdateApiV2_1__li1935510573228">4: resolution failed</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row0711755192210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p73552057142217">ssl_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p1035595702210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p19355155717226">SSL certificate ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row87119554228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p935545792215">ssl_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p1535555718225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p2035635715229">SSL certificate name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row117135515228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p535611571224">min_ssl_version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p43561579225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p193561457182211">Minimum SSL version. TLS 1.1 and TLS 1.2 are supported.</p>
|
||
<p id="UpdateApiV2_1__p10356115762213">Default: <strong id="UpdateApiV2_1__b203561957102213">TLSv1.1</strong></p>
|
||
<p id="UpdateApiV2_1__p935614571228">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul19356165716222"><li id="UpdateApiV2_1__li83561157152216"><strong id="UpdateApiV2_1__b4356155772220">TLSv1.1</strong></li><li id="UpdateApiV2_1__li1135616579220"><strong id="UpdateApiV2_1__b6356357162214">TLSv1.2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1071205515228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p63561057102211">verified_client_certificate_enabled</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p3356957112216">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p12356657182219">Whether to enable client certificate verification. This parameter is available only when a certificate is bound. It is enabled by default if trusted_root_ca exists, and disabled if trusted_root_ca does not exist.</p>
|
||
<p id="UpdateApiV2_1__p83561576228">Default: <strong id="UpdateApiV2_1__b6356205716228">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1871195514228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateApiV2_1__p123561657172213">is_has_trusted_root_ca</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateApiV2_1__p1435615578229">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateApiV2_1__p73561557132212">Whether a trusted root certificate (CA) exists. The value is true if trusted_root_ca exists in the bound certificate.</p>
|
||
<p id="UpdateApiV2_1__p43571357172218">Default: <strong id="UpdateApiV2_1__b103571357202210">false</strong></p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiFunc"></a><a name="response_ApiFunc"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiFunc" frame="border" border="1" rules="all"><caption><b>Table 20 </b>ApiFunc</caption><thead align="left"><tr id="UpdateApiV2_1__row678155112212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="UpdateApiV2_1__p4357155712224">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="UpdateApiV2_1__p183581857132214">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="UpdateApiV2_1__p535814576224">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row18783558225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p0358105717229">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p17358357192213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p13358257182210">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row16781955162214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p153581057102211">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p18358457172220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p335895772215">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row13796556223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p33586577222">invocation_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p135825715222">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p20358957142217">Invocation mode.</p>
|
||
<ul id="UpdateApiV2_1__ul16358115713225"><li id="UpdateApiV2_1__li1335812571227">async: asynchronous</li><li id="UpdateApiV2_1__li8358155712219">sync: synchronous</li></ul>
|
||
<p id="UpdateApiV2_1__p635825792219">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul103581957112212"><li id="UpdateApiV2_1__li535865762215"><strong id="UpdateApiV2_1__b13358857132211">async</strong></li><li id="UpdateApiV2_1__li6358557142211"><strong id="UpdateApiV2_1__b15359115722219">sync</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row579145512213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p13359457122212">network_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p18359657162218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p18359135711227">Function network architecture.</p>
|
||
<ul id="UpdateApiV2_1__ul17359105711226"><li id="UpdateApiV2_1__li163597577227">V1: non-VPC</li><li id="UpdateApiV2_1__li193598578222">V2: VPC</li></ul>
|
||
<p id="UpdateApiV2_1__p33591957192218">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul9359145710220"><li id="UpdateApiV2_1__li735916579228"><strong id="UpdateApiV2_1__b4359205717227">V1</strong></li><li id="UpdateApiV2_1__li1359155722220"><strong id="UpdateApiV2_1__b1235915742216">V2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row16791955152218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p635965722216">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p535919575221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p18359557182218">Function version.</p>
|
||
<p id="UpdateApiV2_1__p10359657182210">If both a function alias URN and version are passed, only the alias URN will be used.</p>
|
||
<p id="UpdateApiV2_1__p153597578226">Maximum: <strong id="UpdateApiV2_1__b123591957132218">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row107995515225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p17359195772212">alias_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p23592057112218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p736095732217">Function alias URN.</p>
|
||
<p id="UpdateApiV2_1__p1636015712223">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row779125519229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p0360457142211">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p1936016577227">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p3360657202215">Timeout allowed for APIG to request the backend service. If the function network architecture is set to V1, the maximum timeout is 60,000. If the network architecture is set to V2, the maximum timeout is 600,000 and can be modified by using the gateway parameter backend_timeout.</p>
|
||
<p id="UpdateApiV2_1__p14360145715225">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p15360357122215">Minimum: <strong id="UpdateApiV2_1__b43609574228">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row147925517222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p9360165742212">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p536065752210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p143601857182216">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row12801255102216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p19360657142217">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p13360105713223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p1336035719229">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row168045532215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p43601057192219">register_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p336015575221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p1236014574223">Registration time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3801455102218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p63601757152211">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p33605577225">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p1236035712222">Backend service status.</p>
|
||
<ul id="UpdateApiV2_1__ul17360957162217"><li id="UpdateApiV2_1__li13612575228">1: valid</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row4808553220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="UpdateApiV2_1__p12361185717227">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="UpdateApiV2_1__p15361155715228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="UpdateApiV2_1__p13361125719224">Update time.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiMock"></a><a name="response_ApiMock"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiMock" frame="border" border="1" rules="all"><caption><b>Table 21 </b>ApiMock</caption><thead align="left"><tr id="UpdateApiV2_1__row139125513223"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="UpdateApiV2_1__p2361857122217">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="UpdateApiV2_1__p133611157122215">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="UpdateApiV2_1__p936135711223">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row20911955102210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p18361205732220">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p9361357122218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p13361115792219">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row20911055152215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p9362105720228">result_content</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p1336255752216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p436218573223">Response.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row16911555142212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p1336214578224">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p13362657112213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p836255782220">Function version. It cannot exceed 64 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row8911655162219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p203621157162219">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p1236210578226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p53621157142217">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row199105519224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p6362115712222">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p93621657182217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p17362757132210">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row291155152210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p236275782216">register_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p736275715227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p536285702214">Registration time.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row79135514227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p11362757102218">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p12362135732217">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p33621457112219">Backend service status.</p>
|
||
<ul id="UpdateApiV2_1__ul1436245720228"><li id="UpdateApiV2_1__li136210579225">1: valid</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row99245513224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateApiV2_1__p15363175715229">update_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateApiV2_1__p1936310578221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateApiV2_1__p136315792217">Update time.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ReqParam"></a><a name="response_ReqParam"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ReqParam" frame="border" border="1" rules="all"><caption><b>Table 22 </b>ReqParam</caption><thead align="left"><tr id="UpdateApiV2_1__row59905552220"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="UpdateApiV2_1__p036317578223">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="UpdateApiV2_1__p12363205713221">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="UpdateApiV2_1__p12363165718225">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1991455132218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p1536313577224">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p63631457182216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p136312576227">Parameter name.</p>
|
||
<p id="UpdateApiV2_1__p103631857112219">The parameter name can contain 1 to 32 characters and must start with a letter. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2998553222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p1536325742218">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p3363125712228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p83631057202211">Parameter type.</p>
|
||
<p id="UpdateApiV2_1__p123641657162214">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1336425762217"><li id="UpdateApiV2_1__li143641757132220"><strong id="UpdateApiV2_1__b20364185772211">STRING</strong></li><li id="UpdateApiV2_1__li8364857132214"><strong id="UpdateApiV2_1__b163646578228">NUMBER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row8991755112212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p133641557162211">location</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p13364205713225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p5364195719227">Parameter location.</p>
|
||
<p id="UpdateApiV2_1__p436475732216">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1936455710220"><li id="UpdateApiV2_1__li1936445742216"><strong id="UpdateApiV2_1__b236415712210">PATH</strong></li><li id="UpdateApiV2_1__li536415713223"><strong id="UpdateApiV2_1__b16364957182215">QUERY</strong></li><li id="UpdateApiV2_1__li163649572224"><strong id="UpdateApiV2_1__b5364657152211">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1099155522213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p15364857182213">default_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p15364185713220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p73641357132215">Default value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row119985502217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p173641257102211">sample_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p153641657112213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p436595792211">Example value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5991855152214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p1236505762218">required</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p11365185720229">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p123654579221">Indicates whether the parameter is required. 1: yes 2: no</p>
|
||
<p id="UpdateApiV2_1__p1365757162217">The value of this parameter is 1 if Location is set to PATH, and 2 if Location is set to another value.</p>
|
||
<p id="UpdateApiV2_1__p1336535719226">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1736595732213"><li id="UpdateApiV2_1__li16365357182219"><strong id="UpdateApiV2_1__b43654570228">1</strong></li><li id="UpdateApiV2_1__li1536516579229"><strong id="UpdateApiV2_1__b163655575228">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5999556229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p1936515732214">valid_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p836525742215">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p0365205711222">Indicates whether validity check is enabled.</p>
|
||
<ul id="UpdateApiV2_1__ul1336565710228"><li id="UpdateApiV2_1__li636515792218">1: enabled</li><li id="UpdateApiV2_1__li11365175762210">2: disabled</li></ul>
|
||
<p id="UpdateApiV2_1__p1536635714226">Default: <strong id="UpdateApiV2_1__b736615572228">2</strong></p>
|
||
<p id="UpdateApiV2_1__p143661557122217">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul193661857162215"><li id="UpdateApiV2_1__li1436635742214"><strong id="UpdateApiV2_1__b3366145742220">1</strong></li><li id="UpdateApiV2_1__li1366115712213"><strong id="UpdateApiV2_1__b3366357112213">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row999455172220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p4366185711225">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p536614577228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p123665573221">Description. It cannot exceed 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1610055552210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p133662057182213">enumerations</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p136610573221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p173669577224">Enumerated value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row91001855132217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p153661575222">min_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p73664577223">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p13366557172217">Minimum value.</p>
|
||
<p id="UpdateApiV2_1__p14366205711227">This parameter is valid when type is set to NUMBER.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row201003558222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p9366185782220">max_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p536685717228">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p5367185716225">Maximum value.</p>
|
||
<p id="UpdateApiV2_1__p63673579229">This parameter is valid when type is set to NUMBER.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row410015516224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p18367135711220">min_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p5367165712225">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p4367165715227">Minimum length.</p>
|
||
<p id="UpdateApiV2_1__p1836775715223">This parameter is valid when type is set to STRING.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row111001455172217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p936765716220">max_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p9367205710225">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p14367185732219">Maximum length.</p>
|
||
<p id="UpdateApiV2_1__p183671457142212">This parameter is valid when type is set to STRING.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14100255102219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p18367135782217">regular</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p183670573223">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p193678579224">Regular expression validation rule.</p>
|
||
<p id="UpdateApiV2_1__p13671757182213">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1610075522210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p133671957112217">json_schema</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p1036765742212">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p10367175712211">JSON validation rule.</p>
|
||
<p id="UpdateApiV2_1__p1736745792220">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5100855112213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p636715570226">pass_through</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p5367185762219">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p17368157172212">Indicates whether to transparently transfer the parameter. 1: yes 2: no</p>
|
||
<p id="UpdateApiV2_1__p1536875717224">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul15368105722216"><li id="UpdateApiV2_1__li153681557192212"><strong id="UpdateApiV2_1__b9368155710222">1</strong></li><li id="UpdateApiV2_1__li113681857182211"><strong id="UpdateApiV2_1__b12368195712218">2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1710113554227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="UpdateApiV2_1__p336825714226">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="UpdateApiV2_1__p103681157182210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="UpdateApiV2_1__p1236875716221">Parameter ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiPolicyFunctionResp"></a><a name="response_ApiPolicyFunctionResp"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiPolicyFunctionResp" frame="border" border="1" rules="all"><caption><b>Table 23 </b>ApiPolicyFunctionResp</caption><thead align="left"><tr id="UpdateApiV2_1__row6116175582212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="UpdateApiV2_1__p736916572228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="UpdateApiV2_1__p19369257122210">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="UpdateApiV2_1__p10369185772216">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row17116195517224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p2369145717227">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p19369257192210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p113691357162215">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1911611558224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p33695571226">invocation_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p1936919575225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p8369115715221">Invocation mode.</p>
|
||
<ul id="UpdateApiV2_1__ul113691357162212"><li id="UpdateApiV2_1__li16369115722218">async: asynchronous</li><li id="UpdateApiV2_1__li11369135713222">sync: synchronous</li></ul>
|
||
<p id="UpdateApiV2_1__p12369857172217">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul1736965714225"><li id="UpdateApiV2_1__li2369135712214"><strong id="UpdateApiV2_1__b1037016578227">async</strong></li><li id="UpdateApiV2_1__li1370135720229"><strong id="UpdateApiV2_1__b637075718228">sync</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6117055152218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p183701257142216">network_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p2370175762211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p16370175719221">Function network architecture.</p>
|
||
<ul id="UpdateApiV2_1__ul5370205772214"><li id="UpdateApiV2_1__li143705573228">V1: non-VPC</li><li id="UpdateApiV2_1__li18370125782219">V2: VPC</li></ul>
|
||
<p id="UpdateApiV2_1__p737010572223">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul037014578224"><li id="UpdateApiV2_1__li19370105722213"><strong id="UpdateApiV2_1__b4370145752219">V1</strong></li><li id="UpdateApiV2_1__li337085710226"><strong id="UpdateApiV2_1__b637013571220">V2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14117105516227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p14370175722212">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p137045732211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p1137085762220">Function version.</p>
|
||
<p id="UpdateApiV2_1__p93701857122212">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
<p id="UpdateApiV2_1__p1237016576224">Maximum: <strong id="UpdateApiV2_1__b1437116578227">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row101171555122214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p8371135711221">alias_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p17371135714225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p15371145712216">Function alias URN.</p>
|
||
<p id="UpdateApiV2_1__p163717571221">If both a function alias URN and version are passed, the alias URN will be used and the version will be ignored.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row51176553222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p637115762214">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p937165719226">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p23711257112215">Timeout allowed for APIG to request the backend service. If the function network architecture is set to V1, the maximum timeout is 60,000. If the network architecture is set to V2, the maximum timeout is 600,000 and can be modified by using the gateway parameter backend_timeout.</p>
|
||
<p id="UpdateApiV2_1__p10371105718227">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p10371195711225">Minimum: <strong id="UpdateApiV2_1__b12371057112211">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2011705582212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p163711257122214">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p5371165710220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p15371105722219">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row411714559223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p113711057112218">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p137114571225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p19371145792217">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul7371125762219"><li id="UpdateApiV2_1__li18371757122219">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li23711157162215">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p137235772213">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul3372205715221"><li id="UpdateApiV2_1__li03728578223"><strong id="UpdateApiV2_1__b1372145792211">ALL</strong></li><li id="UpdateApiV2_1__li183721657122212"><strong id="UpdateApiV2_1__b33725573226">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5117155520220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p1337245782210">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p1372205712219">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p03729572224">Backend name, which must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p15372157172220">Minimum: <strong id="UpdateApiV2_1__b11372057142211">3</strong></p>
|
||
<p id="UpdateApiV2_1__p3372057172219">Maximum: <strong id="UpdateApiV2_1__b143728575223">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row81171555192216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p15372115718227">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p8372757182215">Array of <a href="#UpdateApiV2_1__response_BackendParam">BackendParam</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p1237295710224">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1711765517221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p8372157152216">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p937325714228">Array of <a href="#UpdateApiV2_1__response_CoditionResp">CoditionResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p1237319576223">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row171171655162211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="UpdateApiV2_1__p10373165792218">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="UpdateApiV2_1__p1837355719225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="UpdateApiV2_1__p0373175762217">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiPolicyMockResp"></a><a name="response_ApiPolicyMockResp"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiPolicyMockResp" frame="border" border="1" rules="all"><caption><b>Table 24 </b>ApiPolicyMockResp</caption><thead align="left"><tr id="UpdateApiV2_1__row191296552229"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="UpdateApiV2_1__p1737317578228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="UpdateApiV2_1__p1137315722212">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="UpdateApiV2_1__p17373195713220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1812910555222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p19373125712219">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p1437325710227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p937314578221">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row71295550229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p137365752217">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p13747579229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p153741357112220">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul23741157162219"><li id="UpdateApiV2_1__li1437415710229">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li437415578229">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p73749579226">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul2374357162216"><li id="UpdateApiV2_1__li0374105792214"><strong id="UpdateApiV2_1__b7374135782215">ALL</strong></li><li id="UpdateApiV2_1__li8374165716229"><strong id="UpdateApiV2_1__b143747570222">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17129135572217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p203741457112219">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p1737465710228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p237411572228">Backend name, which must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p12374157122213">Minimum: <strong id="UpdateApiV2_1__b113740575224">3</strong></p>
|
||
<p id="UpdateApiV2_1__p16374135717229">Maximum: <strong id="UpdateApiV2_1__b20375125792211">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14129125562217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p133751157172210">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p23751957102210">Array of <a href="#UpdateApiV2_1__response_BackendParam">BackendParam</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p93753577227">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1113017552221"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p6375157112218">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p1375185710220">Array of <a href="#UpdateApiV2_1__response_CoditionResp">CoditionResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p2037535782213">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row513055532217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p937545712214">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p203751957102213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p73757579227">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18130755112218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="UpdateApiV2_1__p193752057132214">result_content</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="UpdateApiV2_1__p10375757192210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="UpdateApiV2_1__p183758576225">Response.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_ApiPolicyHttpResp"></a><a name="response_ApiPolicyHttpResp"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ApiPolicyHttpResp" frame="border" border="1" rules="all"><caption><b>Table 25 </b>ApiPolicyHttpResp</caption><thead align="left"><tr id="UpdateApiV2_1__row1113714555225"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="UpdateApiV2_1__p15376155762216">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.2"><p id="UpdateApiV2_1__p8376205717225">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.13.2.4.1.3"><p id="UpdateApiV2_1__p1537617578228">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row13137105511227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p1376857132216">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p637620573224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p123761257102210">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row19137455162212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p1437605732217">effect_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p1537645722218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p11376257102214">Effective mode of the backend policy.</p>
|
||
<ul id="UpdateApiV2_1__ul1376195752212"><li id="UpdateApiV2_1__li103771457162211">ALL: All conditions are met.</li><li id="UpdateApiV2_1__li637735712221">ANY: Any condition is met.</li></ul>
|
||
<p id="UpdateApiV2_1__p9377195710222">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul3377457122211"><li id="UpdateApiV2_1__li537745772213"><strong id="UpdateApiV2_1__b8377115715226">ALL</strong></li><li id="UpdateApiV2_1__li17377157122210"><strong id="UpdateApiV2_1__b163771257102210">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row0137355142219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p637795712221">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p1837716577228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p1637795772213">Backend name, which must start with a letter and can contain letters, digits, and underscores (_).</p>
|
||
<p id="UpdateApiV2_1__p83770578220">Minimum: <strong id="UpdateApiV2_1__b1637716575220">3</strong></p>
|
||
<p id="UpdateApiV2_1__p12377157182216">Maximum: <strong id="UpdateApiV2_1__b1037755710225">64</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row21371755122214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p337785752210">backend_params</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p15377857182212">Array of <a href="#UpdateApiV2_1__response_BackendParam">BackendParam</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p19377125792217">Backend parameters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11373559224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p1637885732218">conditions</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p11378357132211">Array of <a href="#UpdateApiV2_1__response_CoditionResp">CoditionResp</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p23781357162213">Policy conditions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1613795513225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p637811575223">authorizer_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p20378125717228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p837835742213">Backend custom authorizer ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row313719557223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p1237885713228">url_domain</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p16378185722218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p1378125712219">Endpoint of the policy backend.</p>
|
||
<p id="UpdateApiV2_1__p1337895718226">An endpoint consists of a domain name or IP address and a port number, with not more than 255 characters. It must be in the format "Domain name:Port number", for example, apig.example.com:7443. If the port number is not specified, the default HTTPS port 443 or the default HTTP port 80 is used.</p>
|
||
<p id="UpdateApiV2_1__p17378557162211">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row113725514229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p9378757202213">req_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p1237815718226">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p737814575226">Request protocol. Options include HTTP, HTTPS.</p>
|
||
<p id="UpdateApiV2_1__p73781557182218">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul9378175792213"><li id="UpdateApiV2_1__li16378857182212"><strong id="UpdateApiV2_1__b1337895772210">HTTP</strong></li><li id="UpdateApiV2_1__li1737855715221"><strong id="UpdateApiV2_1__b9378135720229">HTTPS</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1413705517225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p1379185752219">req_method</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p1737985732210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p166494981718">Request method. Options include GET, POST, PUT, DELETE, HEAD, PATCH, OPTIONS, and ANY.</p>
|
||
<p id="UpdateApiV2_1__p1337945717229">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul163795579224"><li id="UpdateApiV2_1__li1437995722213"><strong id="UpdateApiV2_1__b83793577224">GET</strong></li><li id="UpdateApiV2_1__li73792574225"><strong id="UpdateApiV2_1__b103798579222">POST</strong></li><li id="UpdateApiV2_1__li143791057162220"><strong id="UpdateApiV2_1__b93792057142210">PUT</strong></li><li id="UpdateApiV2_1__li1837910572227"><strong id="UpdateApiV2_1__b143791757112217">DELETE</strong></li><li id="UpdateApiV2_1__li1037955792212"><strong id="UpdateApiV2_1__b83791857172215">HEAD</strong></li><li id="UpdateApiV2_1__li237917570221"><strong id="UpdateApiV2_1__b1037935717226">PATCH</strong></li><li id="UpdateApiV2_1__li17379857192213"><strong id="UpdateApiV2_1__b73801757142218">OPTIONS</strong></li><li id="UpdateApiV2_1__li9380175713224"><strong id="UpdateApiV2_1__b438014577220">ANY</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row141381255182210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p438045716228">req_uri</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p138011573221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p53801757162219">Request address, which can contain request parameters enclosed with braces ({}). For example, /getUserInfo/{userId}. Special characters, such as asterisks (*), slashes (/), percent signs (%), hyphens (-), underscores (_), and periods (.), are allowed. It can contain a maximum of 512 characters and must comply with URI specifications.</p>
|
||
<p id="UpdateApiV2_1__p203801757122216">Environment variables are supported. Each must start with a letter and can consist of 3 to 32 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
||
<div class="note" id="UpdateApiV2_1__note16380757202214"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="UpdateApiV2_1__p113801657162212">The address must comply with the URI specifications.</p>
|
||
</div></div>
|
||
<p id="UpdateApiV2_1__p123803571222"></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9138155132218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p738095742213">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p638025752215">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p113804578223">Timeout allowed for APIG to request the backend service. You can set the maximum timeout using the backend_timeout configuration item. The maximum value is 600,000.</p>
|
||
<p id="UpdateApiV2_1__p33807574225">Unit: ms.</p>
|
||
<p id="UpdateApiV2_1__p438065713221">Minimum: <strong id="UpdateApiV2_1__b11380205717223">1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row181384555226"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p15380195792212">retry_count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p7380357192216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p14380185762219">Number of retry attempts to request the backend service. The default value is –1. The value ranges from –1 to 10.</p>
|
||
<p id="UpdateApiV2_1__p33801957182216">–1 indicates that idempotent APIs will retry once and non-idempotent APIs will not retry. POST and PATCH are non-idempotent. GET, HEAD, PUT, OPTIONS, and DELETE are idempotent.</p>
|
||
<p id="UpdateApiV2_1__p18381857192218">Default: <strong id="UpdateApiV2_1__b83811657192216">-1</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3138205552217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p838117572225">vpc_channel_info</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p338135716225"><a href="#UpdateApiV2_1__response_VpcInfo">VpcInfo</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p19381205717221">VPC channel details. This parameter is required if vpc_channel_status is set to 1.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row14138135510224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="UpdateApiV2_1__p143811757152213">vpc_channel_status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="UpdateApiV2_1__p2038175717228">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="UpdateApiV2_1__p1038185722210">Indicates whether to use a VPC channel.</p>
|
||
<ul id="UpdateApiV2_1__ul138111572224"><li id="UpdateApiV2_1__li73811057142213">1: A VPC channel is used.</li><li id="UpdateApiV2_1__li20381135716225">2: No VPC channel is used.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_BackendParam"></a><a name="response_BackendParam"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_BackendParam" frame="border" border="1" rules="all"><caption><b>Table 26 </b>BackendParam</caption><thead align="left"><tr id="UpdateApiV2_1__row17152135592217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="UpdateApiV2_1__p43811578228">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.2"><p id="UpdateApiV2_1__p13382257182210">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.14.2.4.1.3"><p id="UpdateApiV2_1__p63827577227">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row181521655122215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p15382115732211">origin</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p193821057102215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p113821757112219">Parameter type.</p>
|
||
<ul id="UpdateApiV2_1__ul193824571228"><li id="UpdateApiV2_1__li163821857132214">REQUEST: backend parameter</li><li id="UpdateApiV2_1__li13821257172212">CONSTANT: constant parameter</li><li id="UpdateApiV2_1__li138285712216">SYSTEM: system parameter</li></ul>
|
||
<p id="UpdateApiV2_1__p17382125732214">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul12382115762210"><li id="UpdateApiV2_1__li113826576226"><strong id="UpdateApiV2_1__b143829579224">REQUEST</strong></li><li id="UpdateApiV2_1__li17382195772210"><strong id="UpdateApiV2_1__b838212570224">CONSTANT</strong></li><li id="UpdateApiV2_1__li103821572226"><strong id="UpdateApiV2_1__b3382135762210">SYSTEM</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18152205513225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p53824579228">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p8382105722216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p173832579228">Parameter name.</p>
|
||
<p id="UpdateApiV2_1__p5383145772210">The parameter name must start with a letter and can only contain letters, digits, hyphens (-), underscores (_), and periods (.).</p>
|
||
<p id="UpdateApiV2_1__p1383145711224">Minimum: <strong id="UpdateApiV2_1__b2383135762219">1</strong></p>
|
||
<p id="UpdateApiV2_1__p23831578227">Maximum: <strong id="UpdateApiV2_1__b14383357152215">32</strong></p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6152115516225"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p2038315732220">remark</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p83831757182210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p133831457112212">Description, which can contain a maximum of 255 characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row13153555112211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p18383145712215">location</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p103839571224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p2038315719222">Parameter location. The value can be PATH, QUERY, or HEADER.</p>
|
||
<p id="UpdateApiV2_1__p938316579223">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul18383145717222"><li id="UpdateApiV2_1__li15383205711224"><strong id="UpdateApiV2_1__b1338395714227">PATH</strong></li><li id="UpdateApiV2_1__li203836572224"><strong id="UpdateApiV2_1__b133831857112218">QUERY</strong></li><li id="UpdateApiV2_1__li038319572221"><strong id="UpdateApiV2_1__b1238319571223">HEADER</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1115315512223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p19383205722218">value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p143834579227">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p18384165762210">Parameter value, which can contain a maximum of 255 characters.</p>
|
||
<p id="UpdateApiV2_1__p33841757192216">If the origin type is REQUEST, the value of this parameter is the parameter name in req_params.</p>
|
||
<p id="UpdateApiV2_1__p4384175762212">If the origin type is CONSTANT, the value is a constant.</p>
|
||
<p id="UpdateApiV2_1__p15384155792220">If the origin type is SYSTEM, the value is a system parameter name. System parameters include gateway parameters, frontend authentication parameters, and backend authentication parameters. You can set the frontend or backend authentication parameters after enabling custom frontend or backend authentication.</p>
|
||
<p id="UpdateApiV2_1__p15384175720229">The gateway parameters are as follows:</p>
|
||
<ul id="UpdateApiV2_1__ul17384557102214"><li id="UpdateApiV2_1__li18384757122211">$context.sourceIp: source IP address of the API caller.</li><li id="UpdateApiV2_1__li0384957162210">$context.stage: deployment environment in which the API is called.</li><li id="UpdateApiV2_1__li73840577226">$context.apiId: API ID.</li><li id="UpdateApiV2_1__li15384257142214">$context.appId: ID of the app used by the API caller.</li><li id="UpdateApiV2_1__li43840578226">$context.requestId: request ID generated when the API is called.</li><li id="UpdateApiV2_1__li738417571224">$context.serverAddr: address of the gateway server.</li><li id="UpdateApiV2_1__li1038495752215">$context.serverName: name of the gateway server.</li><li id="UpdateApiV2_1__li193846576229">$context.handleTime: time when the API request is processed.</li><li id="UpdateApiV2_1__li173841457192215">$context.providerAppId: ID of the app used by the API owner. This parameter is currently not supported.</li></ul>
|
||
<p id="UpdateApiV2_1__p1238418577223">Frontend authentication parameter: prefixed with "$context.authorizer.frontend.". For example, to return "aaa" upon successful custom authentication, set this parameter to "$context.authorizer.frontend.aaa".</p>
|
||
<p id="UpdateApiV2_1__p13841257172217">Backend authentication parameter: prefixed with "$context.authorizer.backend.". For example, to return "aaa" upon successful custom authentication, set this parameter to "$context.authorizer.backend.aaa".</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row161531655192215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p1038595718223">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p18385135718228">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p538555722215">Parameter ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row415312552229"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="UpdateApiV2_1__p1538514577228">req_param_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="UpdateApiV2_1__p2385115720222">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="UpdateApiV2_1__p43852575228">Request parameter ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_CoditionResp"></a><a name="response_CoditionResp"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_CoditionResp" frame="border" border="1" rules="all"><caption><b>Table 27 </b>CoditionResp</caption><thead align="left"><tr id="UpdateApiV2_1__row516405519224"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.1"><p id="UpdateApiV2_1__p1938595712210">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.2"><p id="UpdateApiV2_1__p14385115720224">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.15.2.4.1.3"><p id="UpdateApiV2_1__p18385175792216">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1116425512214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p2385155717223">req_param_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p638515576229">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p138513571226">Input parameter name. This parameter is required if the policy type is param.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row7164115582210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p16385185718225">condition_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p53861957112220">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p1838675711224">Policy condition.</p>
|
||
<ul id="UpdateApiV2_1__ul11386457122219"><li id="UpdateApiV2_1__li19386957182216">exact: exact match</li><li id="UpdateApiV2_1__li738695710228">enum: enumeration</li><li id="UpdateApiV2_1__li138605716229">pattern: regular expression</li></ul>
|
||
<p id="UpdateApiV2_1__p15386165702211">This parameter is required if the policy type is param.</p>
|
||
<p id="UpdateApiV2_1__p113861157132215">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul3386145711226"><li id="UpdateApiV2_1__li338618577225"><strong id="UpdateApiV2_1__b18386257202218">exact</strong></li><li id="UpdateApiV2_1__li1738685715225"><strong id="UpdateApiV2_1__b8387185752218">enum</strong></li><li id="UpdateApiV2_1__li14387105772214"><strong id="UpdateApiV2_1__b12387145772217">pattern</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row616415517228"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p143872577222">condition_origin</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p1438725782213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p163871657192216">Policy type.</p>
|
||
<ul id="UpdateApiV2_1__ul13387125772218"><li id="UpdateApiV2_1__li33871575220">param: input parameter</li><li id="UpdateApiV2_1__li1387175718226">source: source IP address</li></ul>
|
||
<p id="UpdateApiV2_1__p1387155714223">Enumeration values:</p>
|
||
<ul id="UpdateApiV2_1__ul93871757132220"><li id="UpdateApiV2_1__li438785762212"><strong id="UpdateApiV2_1__b73871557192213">param</strong></li><li id="UpdateApiV2_1__li738745722213"><strong id="UpdateApiV2_1__b11387155742215">source</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row016415562219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p1138795772210">condition_value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p53871957102218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p93878571223">Condition value.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row10164755172213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p1138795762216">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p8387165732211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p1238865717223">ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row51641755112218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p17388125711226">req_param_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p10388205772215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p1538825712223">Input parameter ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row3164175518223"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="UpdateApiV2_1__p738815716227">req_param_location</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="UpdateApiV2_1__p13881757102214">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="UpdateApiV2_1__p10388135752210">Input parameter location.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="UpdateApiV2_1__response_VpcInfo"></a><a name="response_VpcInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_VpcInfo" frame="border" border="1" rules="all"><caption><b>Table 28 </b>VpcInfo</caption><thead align="left"><tr id="UpdateApiV2_1__row10183115572219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="UpdateApiV2_1__p9388185718227">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.2"><p id="UpdateApiV2_1__p1738895752214">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.16.2.4.1.3"><p id="UpdateApiV2_1__p14388175710225">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row101833558227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p1638815742214">ecs_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p173881657122215">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p11388105752212">Cloud server ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17183955172211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p1538965792215">ecs_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p53892572225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p203891157102210">Cloud server name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row6183755162214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p638935713228">cascade_flag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p17389155722218">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p43893571221">Indicates whether to use the cascading mode.</p>
|
||
<p id="UpdateApiV2_1__p2038945718220">Currently, this parameter is not supported.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row91831655162218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p113894572228">vpc_channel_proxy_host</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p14389957202213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p163891757142218">Proxy host.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row11831655152215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p73895572221">vpc_channel_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p43891457172217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p7389125772215">VPC channel ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row17183185522219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="UpdateApiV2_1__p83892057122211">vpc_channel_port</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="UpdateApiV2_1__p153897577223">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="UpdateApiV2_1__p17389157152213">VPC channel port.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="UpdateApiV2_1__p1038955702212"><strong id="UpdateApiV2_1__b1438915719220">Status code: 400</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ErrorMsg" frame="border" border="1" rules="all"><caption><b>Table 29 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row1188555182216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="UpdateApiV2_1__p53901257162210">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.2"><p id="UpdateApiV2_1__p839014579229">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.18.2.4.1.3"><p id="UpdateApiV2_1__p1390145717226">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row18188115592212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="UpdateApiV2_1__p10390105711221">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="UpdateApiV2_1__p13901557202211">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="UpdateApiV2_1__p12390457162215">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row16188855172212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="UpdateApiV2_1__p93908576228">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="UpdateApiV2_1__p19390105742210">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="UpdateApiV2_1__p739017575228">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="UpdateApiV2_1__p203901157132211"><strong id="UpdateApiV2_1__b113908572223">Status code: 401</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ErrorMsg_1" frame="border" border="1" rules="all"><caption><b>Table 30 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row13191195515229"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.1"><p id="UpdateApiV2_1__p4391185742213">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.2"><p id="UpdateApiV2_1__p14391165717222">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.20.2.4.1.3"><p id="UpdateApiV2_1__p139115716220">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row181911255152218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="UpdateApiV2_1__p12391185722211">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="UpdateApiV2_1__p17391175742217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="UpdateApiV2_1__p63911457142217">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row2191165572218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="UpdateApiV2_1__p639118572223">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="UpdateApiV2_1__p13391195782216">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="UpdateApiV2_1__p203911577228">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="UpdateApiV2_1__p20391657162220"><strong id="UpdateApiV2_1__b339111574226">Status code: 403</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ErrorMsg_2" frame="border" border="1" rules="all"><caption><b>Table 31 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row101949557223"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.1"><p id="UpdateApiV2_1__p639255710229">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.2"><p id="UpdateApiV2_1__p12392155732214">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.22.2.4.1.3"><p id="UpdateApiV2_1__p4392357112212">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row019425552218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="UpdateApiV2_1__p639255719224">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="UpdateApiV2_1__p2392657142213">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="UpdateApiV2_1__p839225719221">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row5194135542215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="UpdateApiV2_1__p839217573229">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="UpdateApiV2_1__p43920574225">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="UpdateApiV2_1__p339212575221">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="UpdateApiV2_1__p16392657162218"><strong id="UpdateApiV2_1__b1839225712227">Status code: 404</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ErrorMsg_3" frame="border" border="1" rules="all"><caption><b>Table 32 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row719685512216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.24.2.4.1.1"><p id="UpdateApiV2_1__p4393115782219">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.24.2.4.1.2"><p id="UpdateApiV2_1__p15393157152218">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.24.2.4.1.3"><p id="UpdateApiV2_1__p1239315573224">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row9196185515222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.1 "><p id="UpdateApiV2_1__p039365792220">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.2 "><p id="UpdateApiV2_1__p103938575221">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.24.2.4.1.3 "><p id="UpdateApiV2_1__p103931757192210">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row18196145518220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.1 "><p id="UpdateApiV2_1__p33931157132215">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.2 "><p id="UpdateApiV2_1__p73933575224">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.24.2.4.1.3 "><p id="UpdateApiV2_1__p03931157122217">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="UpdateApiV2_1__p1239313574226"><strong id="UpdateApiV2_1__b11393057182219">Status code: 500</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__response_ErrorMsg_4" frame="border" border="1" rules="all"><caption><b>Table 33 </b>Response body parameters</caption><thead align="left"><tr id="UpdateApiV2_1__row019918551224"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.26.2.4.1.1"><p id="UpdateApiV2_1__p133941457142220">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.26.2.4.1.2"><p id="UpdateApiV2_1__p4394145742220">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.26.2.4.1.3"><p id="UpdateApiV2_1__p1539411570229">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row419918557222"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.26.2.4.1.1 "><p id="UpdateApiV2_1__p83949577225">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.26.2.4.1.2 "><p id="UpdateApiV2_1__p12394857112218">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.26.2.4.1.3 "><p id="UpdateApiV2_1__p83941957192214">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1019915512213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.26.2.4.1.1 "><p id="UpdateApiV2_1__p153941057182212">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.26.2.4.1.2 "><p id="UpdateApiV2_1__p939425712217">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.26.2.4.1.3 "><p id="UpdateApiV2_1__p123941578221">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section1339455716227"><h4 class="sectiontitle">Example Requests</h4><p id="UpdateApiV2_1__p1039425742216">Modifying an API (authentication mode: app; backend: VPC channel)</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen3394165772212">{
|
||
"group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",
|
||
"match_mode" : "NORMAL",
|
||
"name" : "Api_http",
|
||
"auth_type" : "APP",
|
||
"backend_type" : "HTTP",
|
||
"backend_api" : {
|
||
"vpc_channel_status" : 1,
|
||
"vpc_channel_info" : {
|
||
"vpc_channel_id" : "56a7d7358e1b42459c9d730d65b14e59",
|
||
"vpc_channel_proxy_host" : "www.example.com"
|
||
},
|
||
"req_protocol" : "HTTPS",
|
||
"req_method" : "GET",
|
||
"req_uri" : "/test/benchmark",
|
||
"timeout" : 5000,
|
||
"retry_count" : "-1"
|
||
},
|
||
"cors" : false,
|
||
"req_protocol" : "HTTPS",
|
||
"req_uri" : "/test/http",
|
||
"remark" : "Web backend API",
|
||
"type" : 1,
|
||
"req_method" : "GET",
|
||
"result_normal_sample" : "Example success response",
|
||
"result_failure_sample" : "Example failure response",
|
||
"backend_params" : [ {
|
||
"name" : "X-CONSTANT-HEADER",
|
||
"value" : "demo",
|
||
"location" : "HEADER",
|
||
"origin" : "CONSTANT",
|
||
"remark" : "constant_demo"
|
||
}, {
|
||
"name" : "app-id",
|
||
"value" : "$context.appId",
|
||
"location" : "HEADER",
|
||
"origin" : "SYSTEM",
|
||
"remark" : "App ID of the API caller"
|
||
} ],
|
||
"tags" : [ "webApi" ]
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section1139616574224"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateApiV2_1__p53961057192214"><strong id="UpdateApiV2_1__b1939625732210">Status code: 200</strong></p>
|
||
<p id="UpdateApiV2_1__p163966571220">OK</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen1539617578227">{
|
||
"id" : "5f918d104dc84480a75166ba99efff21",
|
||
"tags" : [ "webApi" ],
|
||
"arrange_necessary" : 2,
|
||
"backend_type" : "HTTP",
|
||
"auth_type" : "APP",
|
||
"auth_opt" : {
|
||
"app_code_auth_type" : "DISABLE"
|
||
},
|
||
"backend_api" : {
|
||
"update_time" : "2020-08-02T16:32:47.077028841Z",
|
||
"vpc_channel_status" : 1,
|
||
"vpc_channel_info" : {
|
||
"vpc_channel_id" : "56a7d7358e1b42459c9d730d65b14e59",
|
||
"vpc_channel_proxy_host" : "www.example.com"
|
||
},
|
||
"url_domain" : "56a7d7358e1b42459c9d730d65b14e59",
|
||
"req_protocol" : "HTTPS",
|
||
"id" : "1ce8fda3586d4371bd83c955df37e102",
|
||
"req_method" : "GET",
|
||
"register_time" : "2020-07-31T12:42:51Z",
|
||
"req_uri" : "/test/benchmark",
|
||
"timeout" : 5000,
|
||
"status" : 1,
|
||
"retry_count" : "-1"
|
||
},
|
||
"cors" : false,
|
||
"status" : 1,
|
||
"group_name" : "api_group_001",
|
||
"group_id" : "c77f5e81d9cb4424bf704ef2b0ac7600",
|
||
"group_version" : "V1",
|
||
"match_mode" : "NORMAL",
|
||
"name" : "Api_http",
|
||
"req_protocol" : "HTTPS",
|
||
"req_method" : "GET",
|
||
"req_uri" : "/test/http",
|
||
"type" : 1,
|
||
"version" : "V0.0.1",
|
||
"result_normal_sample" : "Example success response",
|
||
"result_failure_sample" : "Example failure response",
|
||
"register_time" : "2020-07-31T12:42:51Z",
|
||
"update_time" : "2020-08-02T16:32:47.046288842Z",
|
||
"remark" : "Web backend API",
|
||
"backend_params" : [ {
|
||
"name" : "X-CONSTANT-HEADER",
|
||
"value" : "demo",
|
||
"location" : "HEADER",
|
||
"origin" : "CONSTANT",
|
||
"remark" : "constant_demo",
|
||
"id" : "8cb2eba19e7a4423a4e835647a8b8d76"
|
||
}, {
|
||
"name" : "app-id",
|
||
"value" : "$context.appId",
|
||
"location" : "HEADER",
|
||
"origin" : "SYSTEM",
|
||
"remark" : "App ID of the API caller",
|
||
"id" : "216ddda836e74d528f364ff589d9dd21"
|
||
} ]
|
||
}</pre>
|
||
<p id="UpdateApiV2_1__p73981575222"><strong id="UpdateApiV2_1__b039835710223">Status code: 400</strong></p>
|
||
<p id="UpdateApiV2_1__p9398135715220">Bad Request</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen1939815717227">{
|
||
"error_code" : "APIG.2011",
|
||
"error_msg" : "Invalid parameter value,parameterName:name. Please refer to the support documentation"
|
||
}</pre>
|
||
<p id="UpdateApiV2_1__p1339816575225"><strong id="UpdateApiV2_1__b439875714223">Status code: 401</strong></p>
|
||
<p id="UpdateApiV2_1__p7398115717225">Unauthorized</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen1539817579223">{
|
||
"error_code" : "APIG.1002",
|
||
"error_msg" : "Incorrect token or token resolution failed"
|
||
}</pre>
|
||
<p id="UpdateApiV2_1__p16398135718221"><strong id="UpdateApiV2_1__b43987577229">Status code: 403</strong></p>
|
||
<p id="UpdateApiV2_1__p1439815575223">Forbidden</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen103981257172218">{
|
||
"error_code" : "APIG.1005",
|
||
"error_msg" : "No permissions to request this method"
|
||
}</pre>
|
||
<p id="UpdateApiV2_1__p12399957152210"><strong id="UpdateApiV2_1__b239955713221">Status code: 404</strong></p>
|
||
<p id="UpdateApiV2_1__p939985772212">Not Found</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen2399105719226">{
|
||
"error_code" : "APIG.3002",
|
||
"error_msg" : "API 5f918d104dc84480a75166ba99efff21 does not exist"
|
||
}</pre>
|
||
<p id="UpdateApiV2_1__p53992057182219"><strong id="UpdateApiV2_1__b039905752213">Status code: 500</strong></p>
|
||
<p id="UpdateApiV2_1__p83991557132215">Internal Server Error</p>
|
||
<pre class="screen" id="UpdateApiV2_1__screen2399195715228">{
|
||
"error_code" : "APIG.9999",
|
||
"error_msg" : "System error"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section7399165782213"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateApiV2_1__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateApiV2_1__row1421785513228"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateApiV2_1__p1739920574220">Status Code</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateApiV2_1__p93991557132214">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="UpdateApiV2_1__row1221717555228"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p140045716228">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p1740045720228">OK</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row7217255132217"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p240075712210">400</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p11400155717222">Bad Request</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row721755572210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p340065742214">401</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p5400757182213">Unauthorized</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row62177553221"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p940013573225">403</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p440075732219">Forbidden</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row1621735522215"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p124000577229">404</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p10400205712221">Not Found</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="UpdateApiV2_1__row9217205502210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateApiV2_1__p9400757202215">500</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateApiV2_1__p13400105762213">Internal Server Error</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="UpdateApiV2_1__section1540075720229"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateApiV2_1__p54003578225">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="ApiManagement_1.html">API Management</a></div>
|
||
</div>
|
||
</div>
|
||
|