Merge branch 'homepage/add-workflow' into 'master'

add workflow on widget homepage

See merge request Chill-Projet/chill-bundles!343
This commit is contained in:
2022-02-17 22:19:25 +00:00
12 changed files with 308 additions and 21 deletions

View File

@@ -125,6 +125,11 @@ components:
type: object
type:
type: string
Workflow:
type: object
properties:
id:
type: integer
paths:
/1.0/search.json:
@@ -795,4 +800,20 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/UserJob'
/1.0/main/workflow/my:
get:
tags:
- workflow
summary: Return a list of workflows awaiting for user's action
responses:
200:
description: "ok"
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Workflow'
403:
description: "Unauthorized"