POST 运行官方模板行
POST /loom/v1/officialTemplates/{officialTemplate}:runRows 运行官方模板行
所属分组:Official Templates · 官方模板
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
POST/loom/v1/officialTemplates/{officialTemplate}:runRowsRun official template rows
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
officialTemplate必填 | path / any | Official template ID |
请求体 · 必填
Rows run request
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
callbackUrl | string | |
clientRequestId | string | |
rows | array | 展开结构
数组元素
|
{
"callbackUrl": "string",
"clientRequestId": "string",
"rows": [
{}
]
}请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X POST 'https://loomloom.shengsuanyun.com/loom/v1/officialTemplates/{officialTemplate}:runRows' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data '{
"callbackUrl": "string",
"clientRequestId": "string",
"rows": [
{}
]
}'响应
201 Created
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
acceptedAtUnix | integer | |
runId | string | |
status | string |
{
"acceptedAtUnix": 0,
"runId": "string",
"status": "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"
}