GET 查询模型步骤类型列表
GET /loom/v1/modelStepTypes 查询模型步骤类型列表
所属分组:Models · 可执行模型
Lists every public model-driven TemplateSpec step type and its current authoring counts.
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
GET/loom/v1/modelStepTypesList model step types
Lists every public model-driven TemplateSpec step type and its current authoring counts.
请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/modelStepTypes' \
-H 'Authorization: Bearer YOUR_API_KEY'响应
200 OK
application/json
| 字段 | 类型 | 说明 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
schemaVersion | string | |||||||||||||||||||
stepTypes | array | 展开结构
数组元素
|
{
"schemaVersion": "string",
"stepTypes": [
{
"authoringContractCount": 0,
"authoringModelCount": 0,
"authoringModes": [
"string"
],
"capability": "string",
"stepType": "string"
}
]
}400 Bad Request
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}401 Unauthorized
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}500 Internal Server Error
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}