Files
doc-exports/docs/fg/api-ref/functiongraph_06_0127.html
chenjunjie 3b66ea69c4 FG API 20241106 version
Reviewed-by: Topchii, Maria <mtopchii@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2025-06-25 09:46:34 +00:00

441 lines
35 KiB
HTML

<a name="functiongraph_06_0127"></a><a name="functiongraph_06_0127"></a>
<h1 class="topictitle1">Querying Dependencies</h1>
<div id="body18941855164415"><div class="section" id="functiongraph_06_0127__section19418557444"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0127__p794118558441">This API is used to query all dependencies.</p>
</div>
<div class="section" id="functiongraph_06_0127__section79427551443"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0127__p4942755124418">GET /v2/{project_id}/fgs/dependencies</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__table149482055184417" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row994255584413"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0127__p09532055124418">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_0127__p11954355184412">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_0127__p14954115574414">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_0127__p79541855144410">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row5943205524415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0127__p495420552447">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0127__p1195405517446">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0127__p395545534412">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0127__p3955135574416">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__table7962155518443" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row1796111551442"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="functiongraph_06_0127__p9962145504411">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_0127__p17967855174412">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_0127__p396765518448">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_0127__p1196875513441">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row1961255174412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p11968155544411">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p1196885504418">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p5968755114411">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p1968855144411">Final record queried last time. Default value: 0.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row39611855104410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p1896945518442">maxitems</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p17969055174417">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p096905594415">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p1497725524416">Maximum number of items to return in a request.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row396165510449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p139771455134414">ispublic</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p19978115544419">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p5983125513449">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p7983955134415">Whether a dependency is public.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row19961255144415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p179831556445">dependency_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p199831955204419">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p3984135517443">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p9984155174410">Dependency type. Options: public, private, and all. Default value: all.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row79614559446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p698416557442">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p598415594415">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p159849553445">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p2098519559443">Environment in which a FunctionGraph function is executed. Options:</p>
<ul id="functiongraph_06_0127__ul109851855164416"><li id="functiongraph_06_0127__li149851855124410">Python 2.7</li><li id="functiongraph_06_0127__li89851255114417">Python 3.6</li><li id="functiongraph_06_0127__li2991105554420">Python 3.9</li><li id="functiongraph_06_0127__li183061827870">Python 3.10</li><li id="functiongraph_06_0127__li29911553441">Go 1.x</li><li id="functiongraph_06_0127__li1599212552443">Java 8</li><li id="functiongraph_06_0127__li7992205511441">Java 11</li><li id="functiongraph_06_0127__li59922055104416">Node.js 6.10</li><li id="functiongraph_06_0127__li299335516445">Node.js 8.10</li><li id="functiongraph_06_0127__li18993555144412">Node.js 10.16</li><li id="functiongraph_06_0127__li699313551448">Node.js 12.13</li><li id="functiongraph_06_0127__li9993125514416">Node.js 14.18</li><li id="functiongraph_06_0127__li13237653122517">Node.js16.17</li><li id="functiongraph_06_0127__li177176542259">Node.js18.15</li><li id="functiongraph_06_0127__li1799445515447">C# (.NET Core 2.1)</li><li id="functiongraph_06_0127__li14999175514417">C# (.NET Core 3.1)</li><li id="functiongraph_06_0127__li18999135504418">Custom</li><li id="functiongraph_06_0127__li169991955104413">PHP 7.3</li><li id="functiongraph_06_0127__li00956114415">HTTP</li><li id="functiongraph_06_0127__li6182414886">Custom Image</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0127__row18961205574419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p80956194418">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p13025614416">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p601556164412">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p161115674418">Dependence name.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row2096114558449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0127__p8155618443">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0127__p6175619441">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0127__p1112568449">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0127__p8155654412">Maximum number of dependencies that can be obtained in a query. Default value: 400.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0127__section9218564443"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row1812145616443"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0127__p813656104419">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_0127__p71355610444">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_0127__p114165612441">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_0127__p1714256154420">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row14126563448"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0127__p1514145610442">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_0127__p12065614413">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0127__p202075664415">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0127__p1920856174420">User token.</p>
<p id="functiongraph_06_0127__p2201456154419">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_0127__row16135565447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0127__p13217561444">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0127__p1421656174410">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0127__p1921115614443">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0127__p1421105624410">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0127__section1422656104417"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0127__p12221356184413"><strong id="functiongraph_06_0127__b922175684416">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__response_ListDependenciesResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row522145674417"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0127__p128256164417">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_0127__p528195617448">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_0127__p1428185611448">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row92735612444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0127__p1429155684416">dependencies</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0127__p0297566446">Array of <a href="#functiongraph_06_0127__response_ListDependenciesResult">ListDependenciesResult</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0127__p102945619445">Dependency list.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row12271756154415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0127__p32915613449">next_marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0127__p83718569443">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0127__p942056184412">Next read location.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row728105611449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0127__p542956164410">count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0127__p14217561444">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0127__p174335634415">Total number of dependencies.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0127__response_ListDependenciesResult"></a><a name="response_ListDependenciesResult"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__response_ListDependenciesResult" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ListDependenciesResult</caption><thead align="left"><tr id="functiongraph_06_0127__row3432563441"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0127__p1650185618441">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_0127__p15505566442">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_0127__p11501256124413">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row13431756194415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p1651175694412">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p13512565448">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p13565569449">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row13441256124420"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p165710562448">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p357756144414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p20571356154419">Dependency owner. public indicates a public dependency.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row174415674420"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p1357125619441">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p1157175624420">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p458135614413">URL of the dependency in the OBS console.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row749195611441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p11581656144416">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p658156134414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p145811569446">Environment for executing a function. Options: Python2.7 Python 3.6 Python 3.9 Python 3.10 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 Node.js 16.17 Node.js 18.15 C# (.NET Core 2.1) C# (.NET Core 3.1) Custom PHP 7.3 HTTP Custom image-based functions</p>
<p id="functiongraph_06_0127__p358185634411">Enumeration values:</p>
<ul id="functiongraph_06_0127__ul75817568443"><li id="functiongraph_06_0127__li125985610448"><strong id="functiongraph_06_0127__b3591956164415">Java8</strong></li><li id="functiongraph_06_0127__li125965616443"><strong id="functiongraph_06_0127__b1764155611443">Java11</strong></li><li id="functiongraph_06_0127__li1164105694411"><strong id="functiongraph_06_0127__b264115634415">Node.js6.10</strong></li><li id="functiongraph_06_0127__li19641856134416"><strong id="functiongraph_06_0127__b1269156144416">Node.js8.10</strong></li><li id="functiongraph_06_0127__li169175614418"><strong id="functiongraph_06_0127__b1970125611448">Node.js10.16</strong></li><li id="functiongraph_06_0127__li187025616448"><strong id="functiongraph_06_0127__b177012565444">Node.js12.13</strong></li><li id="functiongraph_06_0127__li870656134416"><strong id="functiongraph_06_0127__b571135615448">Node.js14.18</strong></li><li id="functiongraph_06_0127__li123611520101416"><strong id="functiongraph_06_0127__b3790142015147">Node.js16.17</strong></li><li id="functiongraph_06_0127__li21112718149"><strong id="functiongraph_06_0127__b43705277145">Node.js18.15</strong></li><li id="functiongraph_06_0127__li9719568440"><strong id="functiongraph_06_0127__b1372125614413">Python2.7</strong></li><li id="functiongraph_06_0127__li1572185614416"><strong id="functiongraph_06_0127__b67285644415">Python3.6</strong></li><li id="functiongraph_06_0127__li124382438142"><strong id="functiongraph_06_0127__b3848243121417">Python3.10</strong></li><li id="functiongraph_06_0127__li147245684414"><strong id="functiongraph_06_0127__b1272155664420">Go1.x</strong></li><li id="functiongraph_06_0127__li117820561443"><strong id="functiongraph_06_0127__b1378756164419">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0127__li57895614446"><strong id="functiongraph_06_0127__b778175617448">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0127__li117845634415"><strong id="functiongraph_06_0127__b47825634413">Custom</strong></li><li id="functiongraph_06_0127__li97885634414"><strong id="functiongraph_06_0127__b1978145620447">PHP7.3</strong></li><li id="functiongraph_06_0127__li578155615447"><strong id="functiongraph_06_0127__b1278155610443">Python3.9</strong></li><li id="functiongraph_06_0127__li9791956144413"><strong id="functiongraph_06_0127__b179356154420">http</strong></li><li id="functiongraph_06_0127__li1679135619449"><strong id="functiongraph_06_0127__b17797563443">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0127__row64905614417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p1979105634419">etag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p1279556114410">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p1079165617444">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row16496563441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p4794567448">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p1785856204414">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p2850561442">Dependency size.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row124985684411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p1886356134411">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p19861956144418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p9861356154415">Dependency name.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row184905611444"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p18871856114420">file_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p487156144411">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p18871567441">Dependency file name.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row0492561442"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p148785613442">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p168795614419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p187656204416">Dependency description.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row64935620446"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p18825613445">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p18881456124413">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p4939567442">Dependence version.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row649165612447"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0127__p109305674414">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0127__p109485610444">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0127__p199425684418">Time when the dependency was last updated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0127__p094145624415"><strong id="functiongraph_06_0127__b17941256194413">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row18102185604413"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0127__p510310566444">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_0127__p1910835684411">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_0127__p12108125684416">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row15102165624419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0127__p410885610447">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0127__p201081756174412">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0127__p3109105613449">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row810255612442"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0127__p91091756114417">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0127__p1810912568446">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0127__p14109656104411">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0127__p1610917564444"><strong id="functiongraph_06_0127__b12109656114412">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__table1210955664419" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row11107564442"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0127__p2116256194418">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_0127__p13116205617441">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_0127__p11117456184412">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row0110456134416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0127__p311785604416">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0127__p51171356144411">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0127__p11173563441">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row19110856124412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0127__p20118356184416">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0127__p1118156124415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0127__p15118145610445">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0127__p511865664410"><strong id="functiongraph_06_0127__b171181956114412">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__table141181856114413" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row5124155664411"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0127__p1813020561441">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_0127__p151301856164417">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_0127__p71303562443">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row2124195611440"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0127__p3131185644413">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0127__p141311656144415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0127__p19131656104418">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row512475674417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0127__p1913214561445">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0127__p1137156164411">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0127__p14137175684419">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0127__p1213845664420"><strong id="functiongraph_06_0127__b20138155634414">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__table10138145612449" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0127__row20138145614448"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0127__p18139135615441">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_0127__p151391856104413">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_0127__p1011535784420">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row1013811562441"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0127__p201151571444">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0127__p1411595794414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0127__p01151357174410">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row813815611449"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0127__p12115115711447">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0127__p19116257184418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0127__p1611665711441">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0127__section14116657154417"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0127__p191164575445">Dependencies of the current tenant.</p>
<pre class="screen" id="functiongraph_06_0127__screen1611619572447">GET https://{Endpoint}/v2/{project_id}/fgs/dependencies?marker=0&amp;maxitems=400</pre>
</div>
<div class="section" id="functiongraph_06_0127__section21168579442"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0127__p1011619573447"><strong id="functiongraph_06_0127__b1711675711440">Status code: 200</strong></p>
<p id="functiongraph_06_0127__p18116657174416">ok</p>
<pre class="screen" id="functiongraph_06_0127__screen161161757144412">{
"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_0127__section211655764412"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0127__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0127__row61616568446"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0127__p811605714441">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_0127__p2116185719444">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0127__row19162756114410"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0127__p211619578446">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0127__p1511725704419">ok</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row18162185654416"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0127__p161171157184414">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0127__p1611735794410">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row916265684411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0127__p161176578441">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0127__p51175576440">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row19162165624418"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0127__p111735794415">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0127__p1611711579440">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0127__row71624563448"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0127__p19117657174415">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0127__p16117757134417">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0127__section11117175734418"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0127__p1111745711442">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>