函数工作流 FUNCTIONGRAPH-导入函数:请求示例

时间:2025-05-28 09:46:56

请求示例

导入函数,文件名为"test.zip",类型为zip,文件base64编码为"xxx"。

POST https://{Endpoint}/v2/{project_id}/fgs/functions/import

{
  "func_name" : "test",
  "file_name" : "test.zip",
  "file_type" : "zip",
  "file_code" : "xxxxxxxxxxxxxxxxxxxxx"
}
support.huaweicloud.com/api-functiongraph/functiongraph_06_0108_0.html