GET
/
api
/
workflows
/
{workflowName}
/
embed
读取 Embed 配置
curl --request GET \
  --url https://wfapi.yuhe.space/api/workflows/{workflowName}/embed \
  --header 'Authorization: Bearer <token>'
{
  "errCode": 123,
  "errMessage": "<string>",
  "data": {
    "workflowId": "<string>",
    "workflowName": "<string>",
    "enabled": true,
    "token": "<string>",
    "title": "<string>",
    "description": "<string>",
    "target": "<string>",
    "resolvedTarget": "<string>",
    "publicUrl": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。

Path Parameters

workflowName
string
required

Response

200 - application/json

Embed 配置。

errCode
integer
required
errMessage
string
required
Allowed value: ""
data
object
required