forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
183 lines
14 KiB
HTML
183 lines
14 KiB
HTML
<a name="swr_02_0122"></a><a name="swr_02_0122"></a>
|
|
|
|
<h1 class="topictitle1">Querying Service Feature Status</h1>
|
|
<div id="body8662426"><div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section143381679156"><h4 class="sectiontitle">Description</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p203380714158">Query service feature status.</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section10338177181520"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p173385771515">None</p>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section93397741510"><h4 class="sectiontitle">URI</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p113397718156">GET /v2/manage/projects/{project_id}/feature-gates</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0122__en-us_topic_0000002131352261_table153401979159" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameter</caption><thead align="left"><tr id="swr_02_0122__en-us_topic_0000002131352261_row1833937111512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0122__en-us_topic_0000002131352261_p16340279158">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="swr_02_0122__en-us_topic_0000002131352261_p1234012710153">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="swr_02_0122__en-us_topic_0000002131352261_p234037141515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="swr_02_0122__en-us_topic_0000002131352261_p23402713153">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0122__en-us_topic_0000002131352261_row19339577159"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p18340774157">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1534017751514">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p193410761517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0122__en-us_topic_0000002131352261_p334115781512">Project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section193411172157"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0122__en-us_topic_0000002131352261_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0122__en-us_topic_0000002131352261_row834120741512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0122__en-us_topic_0000002131352261_p12342575157">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="swr_02_0122__en-us_topic_0000002131352261_p1434247151517">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="swr_02_0122__en-us_topic_0000002131352261_p9342187121512">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="swr_02_0122__en-us_topic_0000002131352261_p12342207201512">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0122__en-us_topic_0000002131352261_row1634119718157"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p163421375151">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p83438711159">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p183434716155">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0122__en-us_topic_0000002131352261_p93431751515">User token.</p>
|
|
<p id="swr_02_0122__en-us_topic_0000002131352261_p1034320781510">It can be obtained by calling the IAM API (value of <strong id="swr_02_0122__en-us_topic_0000002131352261_b99289985543444">X-Subject-Token</strong> in the response header).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section163431872151"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p23431573154"><strong id="swr_02_0122__en-us_topic_0000002131352261_b208465870444845">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0122__en-us_topic_0000002131352261_response_GetFeatureGatesResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="swr_02_0122__en-us_topic_0000002131352261_row17344127191516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="swr_02_0122__en-us_topic_0000002131352261_p734516741510">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="swr_02_0122__en-us_topic_0000002131352261_p1034519711513">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="swr_02_0122__en-us_topic_0000002131352261_p334517171519">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0122__en-us_topic_0000002131352261_row334447101513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p113453791513">enable_experience</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p13452075150">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p3345127171517">Whether the experience center is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row63443761513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p634611731517">enable_hss_service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p163461374152">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p8346973156">Whether interconnection with HSS is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row134420716151"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p33461579157">enable_image_scan</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p534627101517">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p16346875155">Whether image scanning is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row123441577151"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p83469718158">enable_sm3</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p153461572155">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1434713741516">Whether SM algorithms are enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row203441072156"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1634718710154">enable_image_sync</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p163475741512">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p234718710157">Whether image synchronization is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row1034410711519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p173472076157">enable_cci_service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p153471373153">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1534816781514">Whether interconnection with CCI is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row134414713153"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1334857121518">enable_image_label</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p33482718158">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p43482721518">Whether image tagging is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row13458344161611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1502823181510">enable_pipeline</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p195023236153">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0122__en-us_topic_0000002131352261_p12502162381519">Whether the pipeline service is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section334910717151"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0122__en-us_topic_0000002131352261_screen15349275158">GET https://{endpoint}/v2/manage/projects/{project_id}/feature-gates</pre>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section13491479154"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p1570317294193"><strong id="swr_02_0122__en-us_topic_0000002131352261_b837231153915">Status code: 200</strong></p>
|
|
<p id="swr_02_0122__en-us_topic_0000002131352261_p370362910198">Query service feature status.</p>
|
|
<pre class="screen" id="swr_02_0122__en-us_topic_0000002131352261_screen57041029111914">{
|
|
"enable_experience" : true,
|
|
"enable_hss_service" : true,
|
|
"enable_image_scan" : true,
|
|
"enable_sm3" : true,
|
|
"enable_image_sync" : true,
|
|
"enable_cci_service" : true,
|
|
"enable_image_label" : false,
|
|
"enable_pipeline" : false,
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section1035018715155"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0122__en-us_topic_0000002131352261_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0122__en-us_topic_0000002131352261_row535011741515"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0122__en-us_topic_0000002131352261_p1635114712152">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="swr_02_0122__en-us_topic_0000002131352261_p11351774156">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="swr_02_0122__en-us_topic_0000002131352261_row13350187161517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1735115714152">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p143512074151">Succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row63504761516"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1235127141512">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p2352157191519">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row12350147101515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p133521371158">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p1335257101515">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="swr_02_0122__en-us_topic_0000002131352261_row1835017711516"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0122__en-us_topic_0000002131352261_p103521376155">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0122__en-us_topic_0000002131352261_p735217781515">Internal error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="swr_02_0122__en-us_topic_0000002131352261_section63538791511"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0122__en-us_topic_0000002131352261_p535318721517">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_02_0119.html">Other</a></div>
|
|
</div>
|
|
</div>
|
|
|