doc-exports/docs/fg/api-ref/functiongraph_06_0153.html
Chen, Junjie cb4b0ade33 FG API 20240924 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-10-28 18:55:02 +00:00

418 lines
32 KiB
HTML

<a name="functiongraph_06_0153"></a><a name="functiongraph_06_0153"></a>
<h1 class="topictitle1">Querying Dependency Versions</h1>
<div id="body650793283418"><div class="section" id="functiongraph_06_0153__section155071432133413"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0153__p1750716322345">This API is used to query dependency versions.</p>
</div>
<div class="section" id="functiongraph_06_0153__section165081932113418"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0153__p150803211344">GET /v2/{project_id}/fgs/dependencies/{depend_id}/version</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__table2051073217348" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row45095325343"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0153__p115105329341">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="functiongraph_06_0153__p18510173214340">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="functiongraph_06_0153__p851083210347">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="functiongraph_06_0153__p1251219327342">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row16509133217343"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0153__p6513163273420">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0153__p10514133293414">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0153__p1351423211342">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0153__p165141132203410">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row15509173220344"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0153__p14515143233419">depend_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0153__p145154326343">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0153__p115162032203410">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0153__p155161832133415">Dependency ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__table11518232123412" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row1051733212344"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="functiongraph_06_0153__p2518432103420">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="functiongraph_06_0153__p951913218344">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="functiongraph_06_0153__p251923293417">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="functiongraph_06_0153__p1051923243419">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row151743213412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0153__p11520123211343">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0153__p152193273410">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0153__p15521532173412">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0153__p052143273418">Final record queried last time. Default value: 0.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row6517133283419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0153__p252217328345">maxitems</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0153__p15522183263410">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0153__p5522103210342">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0153__p1552213323347">Maximum number of items to return in a request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0153__section9523153263412"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row1523193217347"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0153__p195241932133410">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="functiongraph_06_0153__p1252410327343">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="functiongraph_06_0153__p652419324345">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="functiongraph_06_0153__p1052543293415">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row35231232143419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0153__p18525113212348">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0153__p15525032183419">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0153__p17526532193417">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0153__p12526332153410">User token.</p>
<p id="functiongraph_06_0153__p5526113223410">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 the user token.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row165231832163413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0153__p15271632163411">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0153__p652715323347">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0153__p145272324344">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0153__p3527732133419">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0153__section352863214347"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0153__p12528103253416"><strong id="functiongraph_06_0153__b1352811323346">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__response_ListDependencyVersionsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row8528432123414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0153__p45298328346">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="functiongraph_06_0153__p10529163253419">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="functiongraph_06_0153__p1353043216348">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row95283320341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0153__p853043243416">dependencies</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0153__p453013220346">Array of <a href="#functiongraph_06_0153__response_ListDependencyVersionsResult">ListDependencyVersionsResult</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0153__p15308326341">Dependency list.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row155281732103416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0153__p1053114325346">next_marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0153__p6531113293414">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0153__p1553193283410">Next read position.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row1752873215344"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0153__p10531032183416">count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0153__p5531193263410">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0153__p11532113213420">Total number of dependencies.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0153__response_ListDependencyVersionsResult"></a><a name="response_ListDependencyVersionsResult"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__response_ListDependencyVersionsResult" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ListDependencyVersionsResult</caption><thead align="left"><tr id="functiongraph_06_0153__row353343220346"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0153__p653414325346">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="functiongraph_06_0153__p253573223419">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="functiongraph_06_0153__p15535832203410">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row125333329342"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p25353326345">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p95351032123413">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p7535932133420">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row65331432153418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p165365323348">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p1753618320346">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p2536123213417">Dependency owner. public indicates that the dependency is public.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row153319326340"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p1153653216340">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p0536123216348">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p185379322346">URL of the dependency in OBS.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row14533232163411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p18537183203418">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p185371032183415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p105376321340">Environment for executing a function. Options: Python2.7 Python 3.6 Python 3.9 Go 1.8 Go 1.x Java 8 Java 11 Node.js 6.10 Node.js 8.10 Node.js 10.16 Node.js 12.13 Node.js 14.18 C# (.NET Core 2.0) C# (.NET Core 2.1) C# (.NET Core 3.1) Custom PHP 7.3 HTTP Custom image-based functions</p>
<p id="functiongraph_06_0153__p2537103213415">Enumeration values:</p>
<ul id="functiongraph_06_0153__ul16538163253415"><li id="functiongraph_06_0153__li4538232123413"><strong id="functiongraph_06_0153__b16538193203412">Java8</strong></li><li id="functiongraph_06_0153__li7538123263420"><strong id="functiongraph_06_0153__b7538153243416">Java11</strong></li><li id="functiongraph_06_0153__li453803253417"><strong id="functiongraph_06_0153__b853833223412">Node.js6.10</strong></li><li id="functiongraph_06_0153__li1953863253410"><strong id="functiongraph_06_0153__b1453813212343">Node.js8.10</strong></li><li id="functiongraph_06_0153__li7538183253411"><strong id="functiongraph_06_0153__b953923283414">Node.js10.16</strong></li><li id="functiongraph_06_0153__li155398328349"><strong id="functiongraph_06_0153__b2539153215346">Node.js12.13</strong></li><li id="functiongraph_06_0153__li1953912328346"><strong id="functiongraph_06_0153__b753917328342">Node.js14.18</strong></li><li id="functiongraph_06_0153__li85391232153419"><strong id="functiongraph_06_0153__b1853916326348">Python2.7</strong></li><li id="functiongraph_06_0153__li453963213413"><strong id="functiongraph_06_0153__b85392032123415">Python3.6</strong></li><li id="functiongraph_06_0153__li7539132113411"><strong id="functiongraph_06_0153__b13540143233413">Go1.8</strong></li><li id="functiongraph_06_0153__li1754043210344"><strong id="functiongraph_06_0153__b1054023233418">Go1.x</strong></li><li id="functiongraph_06_0153__li135401632193412"><strong id="functiongraph_06_0153__b35407326344">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0153__li7540532133410"><strong id="functiongraph_06_0153__b654063213411">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0153__li954083253411"><strong id="functiongraph_06_0153__b2540183218344">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0153__li1254017322343"><strong id="functiongraph_06_0153__b195411732173413">Custom</strong></li><li id="functiongraph_06_0153__li165412032123411"><strong id="functiongraph_06_0153__b16541103217343">PHP7.3</strong></li><li id="functiongraph_06_0153__li20541153203411"><strong id="functiongraph_06_0153__b1541133216348">Python3.9</strong></li><li id="functiongraph_06_0153__li20541132103410"><strong id="functiongraph_06_0153__b1754143213347">http</strong></li><li id="functiongraph_06_0153__li13541173215341"><strong id="functiongraph_06_0153__b754212326345">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0153__row17533632123410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p1154273223413">etag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p1754283253418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p1854293223420">Unique identifier of the dependency (MD5 verification value).</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row253353253420"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p20542113213346">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p205433326341">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p115431932103415">Size of the dependency.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row953319328341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p75431532103419">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p3543103263418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p054373217342">Dependency name.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row2053313273414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p14544183216347">file_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p11544732143419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p054443218344">Dependency file name.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row2053373213415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p155443327344">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p2545143253414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p9545432103412">Dependency description.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row17533183217343"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p13545132113415">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p954563293420">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p154543218342">Dependency version.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row953319326344"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p1954619328342">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p105461832173411">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p754633273420">Time when the dependency was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row553483216349"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p135461432183410">dep_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p354623283412">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p1954733213411">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row113831729103811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0153__p6384192918384">is_shared</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0153__p1038410293384">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0153__p83847293388">Whether to share the dependency version. (discarded)</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0153__p15547432193414"><strong id="functiongraph_06_0153__b754713212349">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row125482032133414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0153__p254812327343">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="functiongraph_06_0153__p10549632143411">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="functiongraph_06_0153__p145498328347">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row12548183273415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0153__p454918329345">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0153__p1054920321348">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0153__p13550103211342">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row35488326344"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0153__p185501032163414">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0153__p755023215349">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0153__p13550203243419">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0153__p11551193211348"><strong id="functiongraph_06_0153__b255119324340">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__table15551123263415" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row8551153215344"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0153__p12552143263410">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="functiongraph_06_0153__p955218327344">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="functiongraph_06_0153__p10553832113413">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row555123217347"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0153__p15553632133419">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0153__p45531032133415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0153__p9554153216346">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row95518328345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0153__p125543327343">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0153__p1955463253418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0153__p555493213343">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0153__p155416328343"><strong id="functiongraph_06_0153__b1955463213411">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__table19555193263420" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row755573215349"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0153__p4556113233411">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="functiongraph_06_0153__p5556173214342">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="functiongraph_06_0153__p1055633263418">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row135551632103419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0153__p1855719329343">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0153__p2557173213342">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0153__p0557183219345">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row65551032113419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0153__p4557203283412">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0153__p15582032203419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0153__p1155813218348">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0153__p5558103263418"><strong id="functiongraph_06_0153__b10558232183418">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__table855873214349" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0153__row15559173253420"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0153__p1055993283411">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="functiongraph_06_0153__p15560133214340">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="functiongraph_06_0153__p11560163215342">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row8559032163410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0153__p85601632123416">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0153__p1756133283417">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0153__p1356183215346">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row18559143223411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0153__p10561133219343">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0153__p656133212347">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0153__p656118327344">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0153__section1456283217342"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0153__p1256223220343">Query dependencies of the current tenant.</p>
<pre class="screen" id="functiongraph_06_0153__screen17562183213344">GET /v2/{project_id}/fgs/dependencies/{depend_id}/version?marker=0&amp;maxitems=400</pre>
</div>
<div class="section" id="functiongraph_06_0153__section556323223412"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0153__p8563193216344"><strong id="functiongraph_06_0153__b256323212341">Status code: 200</strong></p>
<p id="functiongraph_06_0153__p55631732173416">ok</p>
<pre class="screen" id="functiongraph_06_0153__screen175641432123415">{
"dependencies" : [ {
"id" : "6578de50-9a18-48fa-b84e-b2d36636e433",
"owner" : "public",
"link" : "https://{obs_endpoint}/functionstage-examples/fg_test_pandas_1.1.3.zip",
"runtime" : "Python3.6",
"etag" : "35a893d9495b3e22259b2773996bc94d-6",
"size" : 31009808,
"name" : "panda1.1.3"
} ],
"next_marker" : 43,
"count" : 43
}</pre>
</div>
<div class="section" id="functiongraph_06_0153__section1565232143418"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0153__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0153__row135661132203410"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0153__p1956713213343">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="functiongraph_06_0153__p1156793233418">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0153__row19566103233416"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0153__p12746732113414">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0153__p167471432123418">ok</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row2566532103411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0153__p1574712324348">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0153__p1374853218342">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row175661332193417"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0153__p0748113263415">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0153__p974820326348">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row165668326341"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0153__p187488328348">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0153__p27491532193420">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0153__row14566183213349"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0153__p14749103214349">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0153__p19749832103412">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0153__section1074973215347"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0153__p12749123212347">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="Dependencies.html">Dependencies</a></div>
</div>
</div>