forked from laiweijian4/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
310 lines
23 KiB
HTML
310 lines
23 KiB
HTML
<a name="ListSearch"></a><a name="ListSearch"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Sample Search Condition</h1>
|
|
<div id="body0000001296628200"><div class="section" id="ListSearch__section0537269582"><h4 class="sectiontitle">Function</h4><p id="ListSearch__p1860326135814">This API is used to obtain sample search condition.</p>
|
|
</div>
|
|
<div class="section" id="ListSearch__section5841626165810"><h4 class="sectiontitle">URI</h4><p id="ListSearch__p19914263580">GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/search-condition</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__table1510622615587" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ListSearch__row209892615810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="ListSearch__p12108426105813">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="ListSearch__p411592610585">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="ListSearch__p111222263589">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="ListSearch__p01308267582">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row1981926145810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListSearch__p4137192645820">dataset_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListSearch__p8143132625814">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListSearch__p214992614587">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListSearch__p715412675810">Dataset ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row149942615580"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="ListSearch__p9161426105812">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="ListSearch__p616612675813">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="ListSearch__p51730266588">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="ListSearch__p41801826105816">Project ID. For details about how to obtain the project ID, see <a href="modelarts_03_0147.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSearch__section6187172625812"><h4 class="sectiontitle">Request Parameters</h4><p id="ListSearch__p6198112611581">None</p>
|
|
</div>
|
|
<div class="section" id="ListSearch__section62070268585"><h4 class="sectiontitle">Response Parameters</h4><p id="ListSearch__p5215526135819"><strong id="ListSearch__b1121872635819">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__response_ListSearchResp" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response body parameters</caption><thead align="left"><tr id="ListSearch__row1722015265583"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="ListSearch__p92307261585">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="ListSearch__p1423622612581">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="ListSearch__p192422026195813">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row722042615582"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListSearch__p11248102635816">labelers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListSearch__p11254122695817">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListSearch__p192621726185815">List of labeling team members.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row92201268580"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListSearch__p3268112685811">labels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListSearch__p20277192612586">Array of <a href="#ListSearch__response_Label">Label</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListSearch__p928592619587">Label list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row18220122620583"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="ListSearch__p92938261587">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="ListSearch__p103001926205810">Map<String,Array<String>></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="ListSearch__p2030715268583">Attribute key-value pair of a dataset.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListSearch__response_Label"></a><a name="response_Label"></a><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__response_Label" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Label</caption><thead align="left"><tr id="ListSearch__row10313326165810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="ListSearch__p103231726185810">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="ListSearch__p1932992617588">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="ListSearch__p83353269587">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row1131322675816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListSearch__p16342172675816">attributes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListSearch__p9350142655816">Array of <a href="#ListSearch__response_LabelAttribute">LabelAttribute</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListSearch__p1735612263586">Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row731342655818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListSearch__p17362026205820">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListSearch__p1836712605812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListSearch__p1937352665816">Label name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row16314926155819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListSearch__p038562625810">property</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListSearch__p1239322675815"><a href="#ListSearch__response_LabelProperty">LabelProperty</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListSearch__p1440112625820">Basic attribute key-value pair of a label, such as color and shortcut keys.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row20314102605817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="ListSearch__p14070268581">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="ListSearch__p1141432695814">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="ListSearch__p11422172635814">Label type. The options are as follows:</p>
|
|
<ul id="ListSearch__ul14435162655815"><li id="ListSearch__li13436152610588"><strong id="ListSearch__b154431926125810">0</strong>: image classification</li><li id="ListSearch__li184461263583"><strong id="ListSearch__b13451122655811">1</strong>: object detection</li><li id="ListSearch__li16454192645811"><strong id="ListSearch__b1461526205811">100</strong>: text classification</li><li id="ListSearch__li74641126115812"><strong id="ListSearch__b1470192665811">101</strong>: named entity recognition</li><li id="ListSearch__li3474726135816"><strong id="ListSearch__b124811326195810">102</strong>: text triplet relationship</li><li id="ListSearch__li104841126145810"><strong id="ListSearch__b3489112616583">103</strong>: text triplet entity</li><li id="ListSearch__li2491226105813"><strong id="ListSearch__b349719262588">200</strong>: speech classification</li><li id="ListSearch__li2500192613584"><strong id="ListSearch__b550512645813">201</strong>: speech content</li><li id="ListSearch__li85081026135815"><strong id="ListSearch__b17516192612584">202</strong>: speech paragraph labeling</li><li id="ListSearch__li351902625820"><strong id="ListSearch__b18526142619588">600</strong>: video classification</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListSearch__response_LabelAttribute"></a><a name="response_LabelAttribute"></a><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__response_LabelAttribute" frame="border" border="1" rules="all"><caption><b>Table 4 </b>LabelAttribute</caption><thead align="left"><tr id="ListSearch__row1452822665810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="ListSearch__p19539826165813">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="ListSearch__p15547182655820">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="ListSearch__p105531226105816">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row18528112620582"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListSearch__p8561726205813">default_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListSearch__p4568152614589">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListSearch__p10576182615818">Default value of a label attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row1352852605819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListSearch__p2583162615819">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListSearch__p95901726105820">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListSearch__p1159732625811">Label attribute ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row65299263586"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListSearch__p19604102612582">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListSearch__p2061122655811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListSearch__p06171226115815">Label attribute name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row6529626205818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListSearch__p3623132619584">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListSearch__p76301226105815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListSearch__p1638826175815">Label attribute type. The options are as follows:</p>
|
|
<ul id="ListSearch__ul3644326105819"><li id="ListSearch__li564662616585"><strong id="ListSearch__b865192616582">text</strong>: text</li><li id="ListSearch__li14654112605815"><strong id="ListSearch__b1566132619584">select</strong>: single-choice drop-down list</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row552982645810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="ListSearch__p15666132605819">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="ListSearch__p5674226155819">Array of <a href="#ListSearch__response_LabelAttributeValue">LabelAttributeValue</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="ListSearch__p1768222619583">List of label attribute values.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListSearch__response_LabelAttributeValue"></a><a name="response_LabelAttributeValue"></a><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__response_LabelAttributeValue" frame="border" border="1" rules="all"><caption><b>Table 5 </b>LabelAttributeValue</caption><thead align="left"><tr id="ListSearch__row26871526115810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="ListSearch__p12696122635819">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="ListSearch__p870282665811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="ListSearch__p1708926195810">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row3687102625810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListSearch__p1871582612582">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListSearch__p57212026195813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListSearch__p13728152613582">Label attribute value ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row12687152613583"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="ListSearch__p1473422645811">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="ListSearch__p374118265587">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="ListSearch__p18748132620582">Label attribute value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListSearch__response_LabelProperty"></a><a name="response_LabelProperty"></a><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__response_LabelProperty" frame="border" border="1" rules="all"><caption><b>Table 6 </b>LabelProperty</caption><thead align="left"><tr id="ListSearch__row16755826105820"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="ListSearch__p7765162619584">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="ListSearch__p12772192617587">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="ListSearch__p1477913266586">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row47551126165819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p1378622675816">@modelarts:color</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p179362614582">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p7800162612587">Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: <strong id="ListSearch__b11804726115815">#FFFFF0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row375510262588"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p4809142605816">@modelarts:default_shape</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p1881619261589">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p38231526135818">Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:</p>
|
|
<ul id="ListSearch__ul12833826175818"><li id="ListSearch__li168351826105811"><strong id="ListSearch__b12840102695813">bndbox</strong>: rectangle</li><li id="ListSearch__li12843326125811"><strong id="ListSearch__b1849102615584">polygon</strong>: polygon</li><li id="ListSearch__li685217263586"><strong id="ListSearch__b1585712267588">circle</strong>: circle</li><li id="ListSearch__li14860132695813"><strong id="ListSearch__b12866926115820">line</strong>: straight line</li><li id="ListSearch__li58699262580"><strong id="ListSearch__b16874826115818">dashed</strong>: dotted line</li><li id="ListSearch__li1987882615813"><strong id="ListSearch__b7883426175815">point</strong>: point</li><li id="ListSearch__li888614265588"><strong id="ListSearch__b158911626145811">polyline</strong>: polyline</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row2755132685815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p289772615819">@modelarts:from_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p1903142695811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p189110265580">Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row9755426195813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p1991972625810">@modelarts:rename_to</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p179265268587">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p89331726135811">Default attribute: The new name of the label.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row11755626125811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p169407263588">@modelarts:shortcut</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p09511326195814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p195852655815">Default attribute: Label shortcut key. By default, this parameter is left blank. For example: <strong id="ListSearch__b199611626125812">D</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row19755826205817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="ListSearch__p5966142605817">@modelarts:to_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="ListSearch__p19972326135818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="ListSearch__p6980132675819">Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSearch__section99871626125813"><h4 class="sectiontitle">Example Requests</h4><p id="ListSearch__p17995132614583">Obtaining Sample Search Condition</p>
|
|
<pre class="screen" id="ListSearch__screen19242715580">GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/data-annotations/search-condition</pre>
|
|
</div>
|
|
<div class="section" id="ListSearch__section121302715811"><h4 class="sectiontitle">Example Responses</h4><p id="ListSearch__p1420327195816"><strong id="ListSearch__b5231277581">Status code: 200</strong></p>
|
|
<p id="ListSearch__p1825112718587">OK</p>
|
|
<pre class="screen" id="ListSearch__screen84372712589">{
|
|
"labels" : [ {
|
|
"name" : "Cat",
|
|
"type" : 0,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
}, {
|
|
"name" : "Rabbit",
|
|
"type" : 0,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
} ],
|
|
"metadata" : { },
|
|
"labelers" : [ "human/test_123/test_123", "human/xxx@xxx.com", "human/xxx@xxx.com" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ListSearch__section111371527195814"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListSearch__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListSearch__row3143132735814"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="ListSearch__p1315052716589">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="ListSearch__p5155182775810">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListSearch__row314382765812"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListSearch__p10163727115813">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListSearch__p151681127175812">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row1414382765814"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListSearch__p31741827155817">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListSearch__p10180227105817">Unauthorized</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row71435275585"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListSearch__p218612735816">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListSearch__p719316275586">Forbidden</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListSearch__row18143142775814"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="ListSearch__p719972710581">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="ListSearch__p4205192735819">Not Found</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListSearch__section421102795817"><h4 class="sectiontitle">Error Codes</h4><p id="ListSearch__p172181727125811">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="sample_management.html">Sample Management</a></div>
|
|
</div>
|
|
</div>
|
|
|