函数工作流 FunctionGraph-获取依赖包版本列表:响应参数

时间:2023-11-01 16:25:44

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

dependencies

Array of ListDependenciesResult objects

依赖包列表

next_marker

Long

下次读取位置

count

Long

依赖包总数

表5 ListDependenciesResult

参数

参数类型

描述

id

String

依赖包ID

owner

String

依赖包拥有者,public标识为公共依赖包

link

String

依赖包在obs的存储地址

runtime

String

FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本。 http: HTTP函数。

枚举值:

  • Java8

  • Java11

  • Node.js6.10

  • Node.js8.10

  • Node.js10.16

  • Node.js12.13

  • Node.js14.18

  • Python2.7

  • Python3.6

  • Go1.8

  • Go1.x

  • C#(.NET Core 2.0)

  • C#(.NET Core 2.1)

  • C#(.NET Core 3.1)

  • Custom

  • PHP7.3

  • Python3.9

  • http

etag

String

依赖包唯一标志

size

Long

依赖包大小

name

String

依赖包名

file_name

String

依赖包文件名

description

String

依赖包描述。

version

Long

依赖包版本号

last_modified

Long

依赖包更新时间

状态码: 401

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

状态码: 403

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

状态码: 404

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

状态码: 500

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

support.huaweicloud.com/api-functiongraph/functiongraph_06_0153.html