MCPcopy Create free account
hub / github.com/astercloud/aster / create

Method create

client-sdks/client-js/src/resources/workflow.ts:40–45  ·  view source on GitHub ↗

* 创建 Workflow * @param definition Workflow 定义 * @returns Workflow 信息

(definition: WorkflowDefinition)

Source from the content-addressed store, hash-verified

38 * @returns Workflow 信息
39 */
40 async create(definition: WorkflowDefinition): Promise<WorkflowInfo> {
41 return this.request<WorkflowInfo>("/v1/workflows", {
42 method: "POST",
43 body: definition,
44 });
45 }
46
47 /**
48 * 获取 Workflow 详情

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected