Acces to workflow execution

This commit is contained in:
mr
2024-08-06 11:09:38 +02:00
parent 4bb98f028b
commit 273fc878f7
11 changed files with 377 additions and 6 deletions

View File

@@ -12,6 +12,18 @@ type WorkflowController struct {
beego.Controller
}
// @Title Search
// @Description search workspace
// @Param search path string true "the word search you want to get"
// @Success 200 {workspace} models.workspace
// @router /search/:search [get]
func (o *WorkflowController) Search() {
// store and return Id or post with UUID
search := o.Ctx.Input.Param(":search")
o.Data["json"] = oclib.Search(nil, search, oclib.LibDataEnum(oclib.WORKFLOW))
o.ServeJSON()
}
// @Title Update
// @Description create workflows
// @Param id path string true "the workflowid you want to get"