GET Get an authenticated workbench link for a fixed private version
GET /loom/v1/users/me/templates/{template}/versions/{version}/viewLink
所属分组:Workflow viewer ·
Checks ownership and exact version identity without loading authoring or contract snapshots. Older Core instances without the identity RPC return 503 template_version_unavailable.
BASE URL
https://router.shengsuanyun.com/api认证方式
Authorization: Bearer YOUR_API_KEY端点列表
GET/loom/v1/users/me/templates/{template}/versions/{version}/viewLinkGet an authenticated workbench link for a fixed private version
Checks ownership and exact version identity without loading authoring or contract snapshots. Older Core instances without the identity RPC return 503 template_version_unavailable.
请求参数
| 参数 | 位置 / 类型 | 说明 |
|---|---|---|
template必填 | path / any | Private template ID |
version必填 | path / any | Exact version ID |
请求示例
参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。
curl -X GET 'https://loomloom.shengsuanyun.com/loom/v1/users/me/templates/{template}/versions/{version}/viewLink' \
-H 'Authorization: Bearer YOUR_API_KEY'响应
200 OK
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
templateId | string | |
versionId | string | |
viewUrl | string |
{
"templateId": "string",
"versionId": "string",
"viewUrl": "string"
}401 Unauthorized
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}404 Not Found
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}503 Service Unavailable
application/json
| 字段 | 类型 | 说明 |
|---|---|---|
code | string | |
error | string |
{
"code": "string",
"error": "string"
}