forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
265 lines
21 KiB
HTML
265 lines
21 KiB
HTML
<a name="drs_api_0150"></a><a name="drs_api_0150"></a>
|
|
|
|
<h1 class="topictitle1">Querying Task Statuses in Batches</h1>
|
|
<div id="body183231221142710"><div class="section" id="drs_api_0150__section7323132119279"><h4 class="sectiontitle">Function</h4><p id="drs_api_0150__p53242214273">This API is used to query task statuses in batches by task ID.</p>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section13243211274"><h4 class="sectiontitle">URI</h4><p id="drs_api_0150__p173251721132718">POST /v3/{project_id}/jobs/batch-status</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__table632722110279" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="drs_api_0150__row1932611219274"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="drs_api_0150__p732752114277">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="drs_api_0150__p53281221182719">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="drs_api_0150__p143281021172713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="drs_api_0150__p13292021132715">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row13326142115272"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="drs_api_0150__p1333052192718">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="drs_api_0150__p123311221112712">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="drs_api_0150__p633192119279">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="drs_api_0150__p533232122714">Project ID of a tenant in a region</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section18333172122718"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="drs_api_0150__row133472118273"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="drs_api_0150__p173361321132719">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="drs_api_0150__p33372021122718">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="drs_api_0150__p15338521142715">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="drs_api_0150__p1133832120272">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row73351521202714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_api_0150__p1533922152719">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_api_0150__p14340172142715">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_api_0150__p03401421192713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_api_0150__p1597251791217">The content type.</p>
|
|
<p id="drs_api_0150__p123256415450">The default value is <strong id="drs_api_0150__b16545221131214">application/json</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row1333552172716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_api_0150__p234192110279">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_api_0150__p5342112112270">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_api_0150__p15342192119271">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_api_0150__p6342162112274">User token obtained from IAM.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row143359214277"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="drs_api_0150__p7343102112277">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="drs_api_0150__p1634392132718">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="drs_api_0150__p7344162172713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="drs_api_0150__p4869125616598">Request language type</p>
|
|
<p id="drs_api_0150__p68691956125917">Default value: <strong id="drs_api_0150__b1786912566599">en-us</strong></p>
|
|
<p id="drs_api_0150__p1386915625912">Values:</p>
|
|
<ul id="drs_api_0150__ul1586965613591"><li id="drs_api_0150__li1886915655910"><strong id="drs_api_0150__b158691656145912">en-us</strong></li><li id="drs_api_0150__li17869125685916"><strong id="drs_api_0150__b12869175615914">zh-cn</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__requestParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="drs_api_0150__row934742111270"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="drs_api_0150__p18349121182719">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="drs_api_0150__p534913216271">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="drs_api_0150__p12350192152713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="drs_api_0150__p3351821102715">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row6348621142717"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_api_0150__p83521721172710">jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_api_0150__p835217211271">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_api_0150__p12353182192711">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_api_0150__p1835342112711">Querying task details in batches</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row123481921122711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="drs_api_0150__p13354821112715">page_req</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="drs_api_0150__p10354421162718">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="drs_api_0150__p14355142112277"><a href="#drs_api_0150__request_PageReq">PageReq</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="drs_api_0150__p035552112719">Pagination information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_api_0150__request_PageReq"></a><a name="request_PageReq"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__request_PageReq" frame="border" border="1" rules="all"><caption><b>Table 4 </b>PageReq</caption><thead align="left"><tr id="drs_api_0150__row15356122172720"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="drs_api_0150__p7357921142718">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="drs_api_0150__p123584219274">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="drs_api_0150__p6358202114279">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="drs_api_0150__p1235882111273">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row1535632113278"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="drs_api_0150__p16359621112711">cur_page</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="drs_api_0150__p19359521182710">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="drs_api_0150__p1736092116277">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="drs_api_0150__p136132162714">Current page number, which cannot exceed the maximum number of pages. (Number of pages = Number of transferred job IDs/Number of tasks on each page)</p>
|
|
<ul id="drs_api_0150__ul151821013438"><li id="drs_api_0150__li6182100114310">Minimum value: <strong id="drs_api_0150__b153963033284623">1</strong>.</li><li id="drs_api_0150__li171827034315">Default value: <strong id="drs_api_0150__b129312970784623">1</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row17356172119270"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="drs_api_0150__p136292112277">per_page</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="drs_api_0150__p17362152142717">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="drs_api_0150__p11363152152712">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="drs_api_0150__p43641721132716">Number of items on each page. If this parameter is set to <strong id="drs_api_0150__b144353273515">0</strong>, all items are obtained.</p>
|
|
<ul id="drs_api_0150__ul1288315451585"><li id="drs_api_0150__li1988412451886">Minimum value: <strong id="drs_api_0150__b4365421152719">0</strong></li><li id="drs_api_0150__li68848451482">Maximum value: <strong id="drs_api_0150__b93651218275">100</strong></li><li id="drs_api_0150__li688484515813">Default value: <strong id="drs_api_0150__b297111319517">5</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section83665212273"><h4 class="sectiontitle">Response Parameters</h4><p id="drs_api_0150__p7367621102719"><strong id="drs_api_0150__b1436792113273">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__responseParameter" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="drs_api_0150__row17368192182716"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="drs_api_0150__p93691821112716">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="drs_api_0150__p113702216272">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="drs_api_0150__p93701021152717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row10368202115272"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_api_0150__p14371152132711">results</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_api_0150__p16372122116277">Array of <a href="#drs_api_0150__response_QueryJobStatusResp">QueryJobStatusResp</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_api_0150__p14373172114272">Task status information</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row4368122192713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="drs_api_0150__p12374172122710">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="drs_api_0150__p10375021132715">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="drs_api_0150__p3375202114278">Number of returned tasks.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="drs_api_0150__response_QueryJobStatusResp"></a><a name="response_QueryJobStatusResp"></a><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__response_QueryJobStatusResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>QueryJobStatusResp</caption><thead align="left"><tr id="drs_api_0150__row93761621122715"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="drs_api_0150__p11377182115272">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="drs_api_0150__p1837892132716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="drs_api_0150__p437816213274">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row17376172142715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_api_0150__p1237952114278">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_api_0150__p1837922112715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_api_0150__p1838052172715">Task ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row9376132115278"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_api_0150__p938012215278">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_api_0150__p16381192142710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_api_0150__p1638222132719">Task status. Values:</p>
|
|
<ul id="drs_api_0150__ul1938312213271"><li id="drs_api_0150__li78814241408"><strong id="drs_api_0150__b18333165214511">CREATING</strong>: The task is being created.</li><li id="drs_api_0150__li188810241011"><strong id="drs_api_0150__b77751155552">CREATE_FAILED</strong>: The task fails to be created.</li><li id="drs_api_0150__li158810248011"><strong id="drs_api_0150__b10931858754">CONFIGURATION</strong>: The task is being configured.</li><li id="drs_api_0150__li78817241401"><strong id="drs_api_0150__b18821611166">STARTJOBING</strong>: The task is being started.</li><li id="drs_api_0150__li38814243011"><strong id="drs_api_0150__b16309204663">WAITING_FOR_START</strong>: The task is waiting to be started.</li><li id="drs_api_0150__li8889241508"><strong id="drs_api_0150__b5415272611">START_JOB_FAILED</strong>: The task fails to be started.</li><li id="drs_api_0150__li740211454153"><strong id="drs_api_0150__b02563437340">PAUSEING</strong>: The task is being paused.</li><li id="drs_api_0150__li13889243012"><strong id="drs_api_0150__b9562498612">FULL_TRANSFER_STARTED</strong>: Full migration is in progress, and the DR scenario is initialized.</li><li id="drs_api_0150__li138819245016"><strong id="drs_api_0150__b17900171513617">FULL_TRANSFER_FAILED</strong>: Full migration failed. Initialization failed in the DR scenario.</li><li id="drs_api_0150__li1588124202"><strong id="drs_api_0150__b090571714618">FULL_TRANSFER_COMPLETE</strong>: Full migration is complete, and the initialization is complete in the DR scenario.</li><li id="drs_api_0150__li98811247020"><strong id="drs_api_0150__b166616208613">INCRE_TRANSFER_STARTED</strong>: Incremental migration is being performed, and the DR task is in progress.</li><li id="drs_api_0150__li128872418019"><strong id="drs_api_0150__b185591723763">INCRE_TRANSFER_FAILED</strong>: Incremental migration fails and a DR exception occurs.</li><li id="drs_api_0150__li168916244016"><strong id="drs_api_0150__b272262616612">RELEASE_RESOURCE_STARTED</strong>: The task is being stopped.</li><li id="drs_api_0150__li1989924904"><strong id="drs_api_0150__b1391782910615">RELEASE_RESOURCE_FAILED</strong>: Stop task failed.</li><li id="drs_api_0150__li189624605"><strong id="drs_api_0150__b12687336666">RELEASE_RESOURCE_COMPLETE</strong>: The task is stopped.</li><li id="drs_api_0150__li7892243020"><strong id="drs_api_0150__b59881239064">CHANGE_JOB_STARTED</strong>: The task is being changed.</li><li id="drs_api_0150__li6891242012"><strong id="drs_api_0150__b1551610466618">CHANGE_JOB_FAILED</strong>: Change task failed.</li><li id="drs_api_0150__li1389192419018"><strong id="drs_api_0150__b36908521766">CHILD_TRANSFER_STARTING</strong>: The subtask is being started.</li><li id="drs_api_0150__li6893240013"><strong id="drs_api_0150__b79581155261">CHILD_TRANSFER_STARTED</strong>: The subtask is being migrated.</li><li id="drs_api_0150__li1891424501"><strong id="drs_api_0150__b1848516589615">CHILD_TRANSFER_COMPLETE</strong>: The subtask migration is complete.</li><li id="drs_api_0150__li17891624707"><strong id="drs_api_0150__b15907117710">CHILD_TRANSFER_FAILED</strong>: Migrate subtask failed.</li><li id="drs_api_0150__li12893241705"><strong id="drs_api_0150__b12174243717">RELEASE_CHILD_TRANSFER_STARTED</strong>: The subtask is being stopped.</li><li id="drs_api_0150__li11899244016"><strong id="drs_api_0150__b125181362077">RELEASE_CHILD_TRANSFER_COMPLETE</strong>: The subtask is complete.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row1437642142710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_api_0150__p739413211273">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_api_0150__p739582111274">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_api_0150__p9396122111276">Error code, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row5376102172710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="drs_api_0150__p63969217276">error_message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="drs_api_0150__p13977213273">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="drs_api_0150__p1939892116271">Error message, which is optional and indicates the returned information about the failure status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section1739816215275"><h4 class="sectiontitle">Example Request</h4><p id="drs_api_0150__p1139922118270">Example of querying task statuses in batches:</p>
|
|
<pre class="screen" id="drs_api_0150__screen691212436102">https://{EndPoint}/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-status</pre>
|
|
<pre class="screen" id="drs_api_0150__screen28089051112">{
|
|
"jobs" : [ "9a470239-2308-4bb5-a6bc-1040402fjb21", "dc67695a-ee3e-49b8-a022-a099bd81jb21" ],
|
|
"page_req" : {
|
|
"cur_page" : 1,
|
|
"per_page" : 10
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section12404112132710"><h4 class="sectiontitle">Example Response</h4><p id="drs_api_0150__p44048212276"><strong id="drs_api_0150__b174043217277">Status code: 200</strong></p>
|
|
<p id="drs_api_0150__p940492114270">OK</p>
|
|
<pre class="screen" id="drs_api_0150__screen640516213274">{
|
|
"results" : [ {
|
|
"id" : "9a470239-2308-4bb5-a6bc-1040402fjb21",
|
|
"status" : "INCRE_TRANSFER_STARTED"
|
|
}, {
|
|
"id" : "dc67695a-ee3e-49b8-a022-a099bd81jb21",
|
|
"status" : "INCRE_TRANSFER_FAILED"
|
|
} ],
|
|
"count" : 2
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section1940911219274"><h4 class="sectiontitle">Status Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_api_0150__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="drs_api_0150__row1841013215275"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="drs_api_0150__p84101921152714">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="drs_api_0150__p7412021122716">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="drs_api_0150__row10410182162711"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_api_0150__p741213219274">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_api_0150__p141382122714">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="drs_api_0150__row141032119276"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="drs_api_0150__p141315219273">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="drs_api_0150__p164143211275">Bad Request</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="drs_api_0150__section10414221152718"><h4 class="sectiontitle">Error Code</h4><p id="drs_api_0150__p10415132122716">For details, see <a href="drs_05_0004.html">Error Code</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0101.html">Public API Management</a></div>
|
|
</div>
|
|
</div>
|
|
|