doc-exports/docs/fg/api-ref/functiongraph_06_0154.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

360 lines
28 KiB
HTML

<a name="functiongraph_06_0154"></a><a name="functiongraph_06_0154"></a>
<h1 class="topictitle1">Querying a Dependency Version</h1>
<div id="body64181318153817"><div class="section" id="functiongraph_06_0154__section14183182387"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0154__p1141991863819">This API is used to query the details about a dependency version.</p>
</div>
<div class="section" id="functiongraph_06_0154__section12420161816383"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0154__p2042118183387">GET /v2/{project_id}/fgs/dependencies/{depend_id}/version/{version}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__table1642461853813" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row8422111863810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0154__p6424201820383">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_0154__p1442513181387">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_0154__p5425181814385">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_0154__p1042691817380">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row17422121843812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0154__p9426161803815">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0154__p14271518173816">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0154__p642731853816">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0154__p54286185385">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1142341818382"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0154__p4429181823812">depend_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0154__p743021815388">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0154__p124301818133816">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0154__p243141853815">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row18423121853820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0154__p144314188380">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0154__p3434111811388">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0154__p1043415183381">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0154__p1343551819382">Dependence version.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0154__section143511186382"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row443661818383"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0154__p1043801803818">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_0154__p943941893811">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_0154__p2439151817384">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_0154__p244001833817">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row104371618123813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0154__p164401818153816">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_0154__p84417182386">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0154__p174411318123816">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0154__p1644261863820">User token.</p>
<p id="functiongraph_06_0154__p74421118193816">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>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0154__section14443151833815"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0154__p10443818123815"><strong id="functiongraph_06_0154__b644471823820">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__response_ShowDependencyVersionResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row10445418193810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0154__p1044820188384">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_0154__p044861853813">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_0154__p11449111810387">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row3445818123820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p3449121811385">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p4450718153818">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p144512185387">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1644571819385"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p3451151883820">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p145271813386">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p15452141813820">Dependency owner.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1344551817383"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p11453111814385">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p184535183384">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p8454181814386">URL of the dependency in OBS.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row44461318183816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p44554188381">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p17455181813813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p1845671863819">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_0154__p20456618153813">Enumeration values:</p>
<ul id="functiongraph_06_0154__ul145711181388"><li id="functiongraph_06_0154__li7457618143811"><strong id="functiongraph_06_0154__b1945819186388">Java8</strong></li><li id="functiongraph_06_0154__li54585181385"><strong id="functiongraph_06_0154__b17458118203810">Java11</strong></li><li id="functiongraph_06_0154__li1459141815380"><strong id="functiongraph_06_0154__b174591518163813">Node.js6.10</strong></li><li id="functiongraph_06_0154__li6459141883819"><strong id="functiongraph_06_0154__b8460718123811">Node.js8.10</strong></li><li id="functiongraph_06_0154__li1046061816382"><strong id="functiongraph_06_0154__b7460418193814">Node.js10.16</strong></li><li id="functiongraph_06_0154__li146011816386"><strong id="functiongraph_06_0154__b14460818163817">Node.js12.13</strong></li><li id="functiongraph_06_0154__li5461518113817"><strong id="functiongraph_06_0154__b1046171819385">Node.js14.18</strong></li><li id="functiongraph_06_0154__li146191823810"><strong id="functiongraph_06_0154__b346191818385">Python2.7</strong></li><li id="functiongraph_06_0154__li84622018103811"><strong id="functiongraph_06_0154__b164621818173815">Python3.6</strong></li><li id="functiongraph_06_0154__li2462418153815"><strong id="functiongraph_06_0154__b946371823812">Go1.8</strong></li><li id="functiongraph_06_0154__li4463141893813"><strong id="functiongraph_06_0154__b13463141818383">Go1.x</strong></li><li id="functiongraph_06_0154__li15463518113811"><strong id="functiongraph_06_0154__b14464151811388">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0154__li13464718193818"><strong id="functiongraph_06_0154__b94651518143817">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0154__li14465111813812"><strong id="functiongraph_06_0154__b546617181386">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0154__li846671813386"><strong id="functiongraph_06_0154__b64661118163817">Custom</strong></li><li id="functiongraph_06_0154__li246641811387"><strong id="functiongraph_06_0154__b12467101813818">PHP7.3</strong></li><li id="functiongraph_06_0154__li646781803816"><strong id="functiongraph_06_0154__b1346791818387">Python3.9</strong></li><li id="functiongraph_06_0154__li4467201883814"><strong id="functiongraph_06_0154__b14468101853811">http</strong></li><li id="functiongraph_06_0154__li144681186382"><strong id="functiongraph_06_0154__b7468141823817">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0154__row7446151823814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p1446841883814">etag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p1646911811381">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p1246912185388">Unique identifier of the dependency (MD5 verification value).</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row744651817387"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p124702187388">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p547051818383">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p164710182383">Dependency size.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1544691813382"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p13471191833815">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p124727182388">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p7473318193814">Dependency name.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row5446118203819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p84734182387">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p15474141893820">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p16474161843811">Dependency description.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row744681814381"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p1547518188388">file_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p54756181383">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p17476181813382">Dependency file name.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row114462189385"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p10476141833814">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p154771818103812">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p1947812186381">Dependency version.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row134461718153811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p9479151818389">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p174791418123819">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p348019187389">Time when the dependency was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row34471318113813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p124802184386">dep_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p1248031818385">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p164811418163819">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1447161833810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p10481718143819">download_link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p84824187387">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p144837184384">Temporary download link of a dependency file.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row2797247113915"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0154__p1479784793911">is_shared</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0154__p07972479394">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0154__p8798164710391">Whether to share the dependency version. (discarded)</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0154__p648318183386"><strong id="functiongraph_06_0154__b44831218173811">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row20484161816384"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0154__p1348531863813">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="functiongraph_06_0154__p748561863817">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="functiongraph_06_0154__p34863187387">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row248491803811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0154__p44877184384">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0154__p16487111873812">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0154__p948831818380">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row54841518183818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0154__p16488111823813">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0154__p114891418163810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0154__p5489161833820">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0154__p114909187389"><strong id="functiongraph_06_0154__b144902018153813">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__table1949091820384" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row20491121893819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0154__p1649261817381">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="functiongraph_06_0154__p12493818113815">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="functiongraph_06_0154__p149381819383">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row1949114180380"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0154__p194940187384">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0154__p1749513182387">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0154__p1549501811381">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row649141813813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0154__p149671820388">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0154__p1249712187383">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0154__p749731883819">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0154__p1449818180389"><strong id="functiongraph_06_0154__b184987186386">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__table154981318143819" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row19498181811389"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0154__p18500171819389">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="functiongraph_06_0154__p85001218153815">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="functiongraph_06_0154__p1250131812386">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row15498201833811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0154__p350171810380">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0154__p16501618173813">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0154__p0502171815381">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1449821816388"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0154__p145021318193813">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0154__p45031518153817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0154__p175031618113816">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0154__p1450421820381"><strong id="functiongraph_06_0154__b1950431823820">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__table6504131820389" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0154__row1150491823819"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0154__p17507151863813">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="functiongraph_06_0154__p1750791893813">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="functiongraph_06_0154__p12508121816381">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row16504618143812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0154__p185081818133819">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0154__p185091018183811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0154__p6509718103813">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row1505171814385"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0154__p051031883814">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0154__p0511418113810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0154__p651171803810">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0154__section175121186384"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0154__p651312181381">Query dependencies of the current tenant.</p>
<pre class="screen" id="functiongraph_06_0154__screen165137189381">GET https://{Endpoint}/v2/{project_id}/fgs/dependencies/{depend_id}/version/{version}</pre>
</div>
<div class="section" id="functiongraph_06_0154__section151421810385"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0154__p10515201823811"><strong id="functiongraph_06_0154__b151521818389">Status code: 200</strong></p>
<p id="functiongraph_06_0154__p1651631810384">OK</p>
<pre class="screen" id="functiongraph_06_0154__screen35171187387">{
"id" : "4f4ae4eb-dcdc-4dd3-bffd-79600bd972b3",
"owner" : "*****",
"link" : "https://{bucket}.{obs_endpoint}/depends/****/4f4ae4eb-dcdc-4dd3-bffd-79600bd972b3.zip",
"runtime" : "Python3.6",
"etag" : "83863be4b6c3a86aef995dbc83aae68f",
"size" : 577118,
"name" : "python-kafka",
"description" : "Python library for Kafka operations.",
"file_name" : "python-kafka.zip",
"version" : 0,
"last_modified" : 1660029887
}</pre>
</div>
<div class="section" id="functiongraph_06_0154__section135211218153816"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0154__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0154__row1652381863814"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0154__p452481810385">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_0154__p25244183388">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0154__row1652361883812"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0154__p20525181816384">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0154__p10526171816387">OK</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row155234180386"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0154__p95261618183811">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0154__p1452741843818">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row852371893813"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0154__p10527191863814">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0154__p1952811833817">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row05239187387"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0154__p252951814385">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0154__p10529151823810">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0154__row11523718133816"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0154__p953091815387">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0154__p13530418163812">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0154__section175311018153816"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0154__p19531151873818">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>