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

556 lines
45 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="functiongraph_06_0107"></a><a name="functiongraph_06_0107"></a>
<h1 class="topictitle1">Querying the Code of a Function</h1>
<div id="body133591250161711"><div class="section" id="functiongraph_06_0107__section136045011710"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0107__p1536014500177">This API is used to query the code of a function.</p>
</div>
<div class="section" id="functiongraph_06_0107__section14361850181719"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0107__p43671850111712">GET /v2/{project_id}/fgs/functions/{function_urn}/code</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__table1436905014174" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row1036718507178"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0107__p1737013502170">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_0107__p123701450181720">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_0107__p2371135021711">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_0107__p14382105081719">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row3368250111711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0107__p23821250181710">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0107__p1238305061716">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0107__p163831750181716">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0107__p1038415503175">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row143681950101715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0107__p3384185031713">function_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0107__p11385155081717">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0107__p13385105021711">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0107__p12385105061713">Function URN. For details, see the function model description.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0107__section1338685061719"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row1394115031710"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0107__p163951050121714">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_0107__p1339565014179">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_0107__p18396850191711">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_0107__p33970507173">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row1939415508176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0107__p23979505175">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_0107__p43971050181714">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0107__p1440325081717">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0107__p44031650101715">User token.</p>
<p id="functiongraph_06_0107__p1440405011177">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_0107__row839445013172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0107__p1240485014173">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0107__p540435051715">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0107__p184051950191711">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0107__p240513509174">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0107__section1240610505179"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0107__p1640635016172"><strong id="functiongraph_06_0107__b1340685001719">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__response_ShowFunctionCodeResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row17412105011714"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0107__p84221350191713">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_0107__p342218509175">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_0107__p2042312502174">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row141325014176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p74231750191720">func_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p342411503174">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p1342945018171">Function URN.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row741395018176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p1543055051720">func_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p1543013507175">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p1043116505179">Function name.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row741312500175"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p3431155013171">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p943110503176">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p643215010177">Domain ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row4413185001718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p14325509175">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p6432135031712">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p12433115021719">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_0107__p743315041710">Enumeration values:</p>
<ul id="functiongraph_06_0107__ul14439135091712"><li id="functiongraph_06_0107__li1243911506174"><strong id="functiongraph_06_0107__b1443918502172">Java8</strong></li><li id="functiongraph_06_0107__li1043918501171"><strong id="functiongraph_06_0107__b8439450191720">Java11</strong></li><li id="functiongraph_06_0107__li34394502176"><strong id="functiongraph_06_0107__b144045013177">Node.js6.10</strong></li><li id="functiongraph_06_0107__li1944045021717"><strong id="functiongraph_06_0107__b124401550191716">Node.js8.10</strong></li><li id="functiongraph_06_0107__li184409501175"><strong id="functiongraph_06_0107__b10440115017175">Node.js10.16</strong></li><li id="functiongraph_06_0107__li5440155041710"><strong id="functiongraph_06_0107__b2044114509175">Node.js12.13</strong></li><li id="functiongraph_06_0107__li1644175014178"><strong id="functiongraph_06_0107__b16441850181711">Node.js14.18</strong></li><li id="functiongraph_06_0107__li844117507172"><strong id="functiongraph_06_0107__b174417503179">Python2.7</strong></li><li id="functiongraph_06_0107__li1944185011719"><strong id="functiongraph_06_0107__b104429507172">Python3.6</strong></li><li id="functiongraph_06_0107__li16442165081715"><strong id="functiongraph_06_0107__b13448145051713">Go1.8</strong></li><li id="functiongraph_06_0107__li164488509175"><strong id="functiongraph_06_0107__b644818509176">Go1.x</strong></li><li id="functiongraph_06_0107__li14484502174"><strong id="functiongraph_06_0107__b544885061717">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0107__li344814507177"><strong id="functiongraph_06_0107__b1944919502178">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0107__li944945013178"><strong id="functiongraph_06_0107__b1844965051716">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0107__li3449050121717"><strong id="functiongraph_06_0107__b1844945014176">PHP7.3</strong></li><li id="functiongraph_06_0107__li3449950201713"><strong id="functiongraph_06_0107__b1345045061711">Python3.9</strong></li><li id="functiongraph_06_0107__li18450105091714"><strong id="functiongraph_06_0107__b154501750101715">http</strong></li><li id="functiongraph_06_0107__li645015013172"><strong id="functiongraph_06_0107__b1245045016178">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0107__row17413155051720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p114511750161710">code_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p7453105017172">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p16459135019173">Function code type. Options: inline: inline code zip: ZIP file obs: function code stored in an OBS bucket jar: JAR file, mainly for Java functions. Custom-Image-Swr: The function code comes from the SWR custom image.</p>
<p id="functiongraph_06_0107__p1045935061718">Enumeration values:</p>
<ul id="functiongraph_06_0107__ul1546095014175"><li id="functiongraph_06_0107__li1460650181712"><strong id="functiongraph_06_0107__b164603509173">inline</strong></li><li id="functiongraph_06_0107__li1246025013179"><strong id="functiongraph_06_0107__b14601509178">zip</strong></li><li id="functiongraph_06_0107__li446095010172"><strong id="functiongraph_06_0107__b114614502176">obs</strong></li><li id="functiongraph_06_0107__li3461155001714"><strong id="functiongraph_06_0107__b1446114500177">jar</strong></li><li id="functiongraph_06_0107__li142555121426"><strong id="functiongraph_06_0107__b19240417114218">Custom-Image-Swr</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0107__row124134509176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p1246275031716">code_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p11462950111710">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p54842050181714">If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row34136502179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p449025012174">code_filename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p649045051719">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p1149014509176">Name of a function file. This parameter is mandatory only when code_type is set to jar or zip.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row941355019174"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p64911350141713">code_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p1049145071719">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p8492105021716">Code size in bytes.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row941905031718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p18492165014174">digest</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p7493250131713">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p949345014174">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row34192050191714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p5494950171719">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p2049435011714">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p1499105020171">Time when the function was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row1541935016179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p850095071716">func_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p10500115031720"><a href="#functiongraph_06_0107__response_FuncCode">FuncCode</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p11501250201712">Response body of the FuncCode struct.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row5420950201719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p45026509173">depend_version_list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p7503205015171">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p850335010179">Dependency version IDs.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row134207501174"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p16503650121713">strategy_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p1150945013178"><a href="#functiongraph_06_0107__response_StrategyConfig">StrategyConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p6510105021719">Function policy configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row34201550141715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0107__p1651011500171">dependencies</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0107__p165111450141717">Array of <a href="#functiongraph_06_0107__response_Dependency">Dependency</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0107__p3511950181717">Dependency packages.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0107__response_FuncCode"></a><a name="response_FuncCode"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__response_FuncCode" frame="border" border="1" rules="all"><caption><b>Table 4 </b>FuncCode</caption><thead align="left"><tr id="functiongraph_06_0107__row13512115021713"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0107__p9518115061720">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_0107__p18519105061716">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_0107__p11519185018176">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row851245012179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0107__p105201950101718">file</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0107__p45221950151715">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0107__p17522165081719">Function code, which must be encoded using Base64. If this parameter is left blank, the default code is used.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row10512115061714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0107__p105234507178">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0107__p1852418502179">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0107__p11524105061716">Function code URL.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0107__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 5 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0107__row1753035013177"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0107__p1753115507176">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_0107__p1653112502175">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_0107__p85322050151713">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row1530195011719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0107__p65328500177">concurrency</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0107__p1053312505173">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0107__p553355041717">Maximum number of instances for a single function. For v1, the value can be 0 or 1; for v2, it ranges from 1 to 1000.</p>
<ul id="functiongraph_06_0107__ul1953365081719"><li id="functiongraph_06_0107__li165341950141717">-1: The function has unlimited instances.</li><li id="functiongraph_06_0107__li553995015177">0: The function is disabled.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0107__row1753055081710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0107__p2054012502177">concurrent_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0107__p45401250141713">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0107__p7540115021715">Number of concurrent requests per instance. This parameter is supported only by v2. The value ranges from 1 to 1,000.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0107__response_Dependency"></a><a name="response_Dependency"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__response_Dependency" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Dependency</caption><thead align="left"><tr id="functiongraph_06_0107__row8542155081713"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0107__p25491950161716">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_0107__p855025061718">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_0107__p3555145011177">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row9542750181711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p1655685013173">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p18556155014173">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p55571050131716">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row7547115071718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p175575509175">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p7560145010174">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p856011504173">Domain ID of the dependency owner.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row5547750101720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p95601450201715">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p1856114504178">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p125615506178">URL of the dependency on OBS.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row354775071719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p11566105012171">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p856685016173">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p11567050171718">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_0107__p1456735014177">Enumeration values:</p>
<ul id="functiongraph_06_0107__ul1956716500178"><li id="functiongraph_06_0107__li19568205091714"><strong id="functiongraph_06_0107__b4568185017177">Java8</strong></li><li id="functiongraph_06_0107__li356875015171"><strong id="functiongraph_06_0107__b3569135071710">Java11</strong></li><li id="functiongraph_06_0107__li1156995019179"><strong id="functiongraph_06_0107__b1657017506178">Node.js6.10</strong></li><li id="functiongraph_06_0107__li1857011506177"><strong id="functiongraph_06_0107__b1571135061711">Node.js8.10</strong></li><li id="functiongraph_06_0107__li15715502174"><strong id="functiongraph_06_0107__b1857185041719">Node.js10.16</strong></li><li id="functiongraph_06_0107__li1457135015179"><strong id="functiongraph_06_0107__b1157195041712">Node.js12.13</strong></li><li id="functiongraph_06_0107__li19571150141711"><strong id="functiongraph_06_0107__b1622995113176">Node.js14.18</strong></li><li id="functiongraph_06_0107__li6230145161710"><strong id="functiongraph_06_0107__b12311151121715">Python2.7</strong></li><li id="functiongraph_06_0107__li12231155114179"><strong id="functiongraph_06_0107__b12231155131716">Python3.6</strong></li><li id="functiongraph_06_0107__li42311651161710"><strong id="functiongraph_06_0107__b6231185119173">Go1.8</strong></li><li id="functiongraph_06_0107__li162311451181716"><strong id="functiongraph_06_0107__b9232451171717">Go1.x</strong></li><li id="functiongraph_06_0107__li323235141718"><strong id="functiongraph_06_0107__b132321851121720">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0107__li123214512178"><strong id="functiongraph_06_0107__b7232135131717">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0107__li723219519172"><strong id="functiongraph_06_0107__b13232165191715">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0107__li1623255101711"><strong id="functiongraph_06_0107__b18233151181716">Custom</strong></li><li id="functiongraph_06_0107__li13233451171713"><strong id="functiongraph_06_0107__b72333515174">PHP7.3</strong></li><li id="functiongraph_06_0107__li18233195115174"><strong id="functiongraph_06_0107__b1923305161714">Python3.9</strong></li><li id="functiongraph_06_0107__li923335121716"><strong id="functiongraph_06_0107__b11234135118175">http</strong></li><li id="functiongraph_06_0107__li82341651161719"><strong id="functiongraph_06_0107__b1523425116175">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0107__row18547125091710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p12341751181717">etag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p323565121720">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p11235155151718">MD5 value of a dependency.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row85473505176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p172361051161719">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p1023619511174">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p10236185110174">Dependency size.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row175471850141715"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p112366513175">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p182379510176">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p7237175111716">Dependence name.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row1254835012176"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p823855118171">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p16238651131719">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p4239105191718">Dependency description.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row15481950181720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p1523917516179">file_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p112398516179">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p024015118172">File name of a dependency package (ZIP).</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row054814506178"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p824085151717">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p10240135181716">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p15241851121711">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row6548550111717"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p19241151191715">dep_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p624155117178">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p7241165131712">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row165481250131719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0107__p1324245114179">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0107__p12242125181710">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0107__p11242105113173">Time when the function was last updated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0107__p42421951151717"><strong id="functiongraph_06_0107__b182441351151713">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row424555171713"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0107__p1296414526175">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_0107__p996415216177">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_0107__p12964125216179">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row1724575110179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0107__p296418524175">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0107__p5964205215178">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0107__p896410527170">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row17245175114171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0107__p496455213179">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0107__p12964105218179">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0107__p1996411526178">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0107__p1896510525177"><strong id="functiongraph_06_0107__b1596535211170">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__table14247105151710" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row1124835119178"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0107__p99651752161716">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_0107__p179656527174">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_0107__p1596525261717">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row19248195131712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0107__p1965152151712">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0107__p14965352101718">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0107__p796595291713">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row142482516179"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0107__p496535261713">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0107__p0965115251711">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0107__p129661752191714">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0107__p396635213177"><strong id="functiongraph_06_0107__b6966155211173">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__table92507518179" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row10251251201716"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0107__p396611520170">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_0107__p1966115271712">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_0107__p096625221720">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row925135131711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0107__p18966155291712">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0107__p896665221716">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0107__p796665218176">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row9251051111714"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0107__p3966145241716">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0107__p2966185231710">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0107__p149671752131712">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0107__p1496716521176"><strong id="functiongraph_06_0107__b1967105218179">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__table132544516173" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row19255115161718"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="functiongraph_06_0107__p2967152111717">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.2"><p id="functiongraph_06_0107__p9967152181715">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.14.2.4.1.3"><p id="functiongraph_06_0107__p12967125214171">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row13255051191711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0107__p209672052141712">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0107__p1896715529177">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0107__p1996725217176">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row112561651151718"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0107__p6967195216171">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0107__p1796775212171">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0107__p1396835271719">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0107__p16968352161715"><strong id="functiongraph_06_0107__b1196895231719">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__table17258651191717" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0107__row192591251141711"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="functiongraph_06_0107__p896813525176">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.2"><p id="functiongraph_06_0107__p6968652201714">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.16.2.4.1.3"><p id="functiongraph_06_0107__p19968135231717">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row1259135151719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0107__p196811528173">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0107__p0968145219173">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0107__p1496885281713">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row4259251101710"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0107__p596816527176">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0107__p18968105212173">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0107__p596911520177">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0107__section69693524173"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0107__p11969105210174">Query the code of a function.</p>
<pre class="screen" id="functiongraph_06_0107__screen189698527172">GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/code</pre>
</div>
<div class="section" id="functiongraph_06_0107__section1696919523175"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0107__p17969185218176"><strong id="functiongraph_06_0107__b2096905291711">Status code: 200</strong></p>
<p id="functiongraph_06_0107__p109691452191717">OK</p>
<pre class="screen" id="functiongraph_06_0107__screen3969652121715">{
"func_urn" : "urn:fss:xxxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test:latest",
"func_name" : "test",
"domain_id" : "14ee2e3501124efcbca7998baa24xxxx",
"runtime" : "Node.js6.10",
"code_type" : "inline",
"code_filename" : "index.zip",
"code_size" : 245,
"digest" : "39d51ae334ffb239037e194159f4cc9cec31086719aa73db7d0a608343121a290f7115693e008bd01cb12b99a803856e83aa96173b26c528c41cfed18267e08f",
"last_modified" : "2019-10-31 11:37:58",
"func_code" : {
"file" : "",
"link" : ""
},
"strategy_config" : {
"concurrency" : -1
}
}</pre>
<p id="functiongraph_06_0107__p6971165261718"><strong id="functiongraph_06_0107__b7971165251714">Status code: 404</strong></p>
<p id="functiongraph_06_0107__p12971452161719">Not found.</p>
<pre class="screen" id="functiongraph_06_0107__screen1097135221715">{
"error_code" : "FSS.1052",
"error_msg" : "Not found the function version"
}</pre>
</div>
<div class="section" id="functiongraph_06_0107__section209711352181716"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0107__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0107__row02671451141715"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0107__p1897120528171">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_0107__p1397120528174">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0107__row14268551111714"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p19971125220178">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p997295221712">OK</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row8268145131720"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p199727522173">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p09721452141713">Bad request.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row126805111717"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p397219524175">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p11972205216179">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row226835114176"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p169728527177">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p1497205217176">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row526812511177"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p13972125210179">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p4973185212176">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0107__row102681351161714"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0107__p1797345231711">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0107__p20973165214179">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0107__section297355219172"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0107__p9973252101714">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="FunctionLifecycleManagement.html">Function Lifecycle Management</a></div>
</div>
</div>