j9九游会登录/ 函数工作流 functiongraph/ api参考/ / / 获取指定元数据constraints列表 - showmetaconstraints
更新时间:2025-10-31 gmt 08:00

获取指定元数据constraints列表 -j9九游会登录

功能介绍

获取指定元数据constraints列表

调用方法

请参见。

授权信息

账号具备所有api的调用权限,如果使用账号下的iam用户调用当前api,该iam用户需具备调用api所需的权限,具体权限要求请参见权限和授权项

uri

get /v1/{project_id}/ffs/metadata/constraints

表1 路径参数

参数

是否必选

参数类型

描述

project_id

string

参数解释:

租户项目 id,获取方式请参见获取项目id

约束限制:

不涉及。

取值范围:

只能由英文字母、数字组成,且长度为32个字符

默认取值:

不涉及。

表2 query参数

参数

是否必选

参数类型

描述

locale

string

locale

请求参数

响应参数

状态码:200

表3 响应body参数

参数

参数类型

描述

constraints

object

约束元素

表4 constraintsitem

参数

参数类型

描述

type

string

类型

description

string

描述

error_msg

string

错误信息

disabled

boolean

是否启用

configuration

object

约束配置信息

initialize_validation

string

初始化校验

状态码:400

表5 响应body参数

参数

参数类型

描述

error_code

string

错误码

error_msg

string

错误描述

request_id

string

请求id

状态码:500

表6 响应body参数

参数

参数类型

描述

error_code

string

错误码

error_msg

string

错误描述

request_id

string

请求id

请求示例

响应示例

状态码:200

指定元数据constraints列表

{
  "constraints" : [ {
    "type" : "standalone_node_check",
    "description" : "all nodes in the graph should have at least one edge to the other node, and can not be standalone by itself",
    "error_msg" : "{0} is a standalone node",
    "disabled" : true,
    "tags" : [ "api_flow" ],
    "configuration" : { }
  } ]
}

状态码

状态码

描述

200

指定元数据constraints列表

400

bad request

500

internal server error

错误码

请参见错误码

相关文档

网站地图