draft by
This commit is contained in:
@@ -57,6 +57,31 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/{id}/check:
|
||||
get:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowSchedulerController
|
||||
description: |-
|
||||
WebSocket stream of slot availability for a workflow.
|
||||
<br>
|
||||
operationId: WorkflowSchedulerController.CheckStream
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: workflow id
|
||||
required: true
|
||||
type: string
|
||||
- in: query
|
||||
name: as_possible
|
||||
description: find nearest free slot from now
|
||||
type: boolean
|
||||
- in: query
|
||||
name: preemption
|
||||
description: validate anyway, raise warnings
|
||||
type: boolean
|
||||
responses:
|
||||
"101":
|
||||
description: ""
|
||||
/{id}/order:
|
||||
get:
|
||||
tags:
|
||||
@@ -74,6 +99,86 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/booking/:
|
||||
get:
|
||||
tags:
|
||||
- booking
|
||||
description: |-
|
||||
find booking by id
|
||||
<br>
|
||||
operationId: BookingController.GetAll
|
||||
parameters:
|
||||
- in: query
|
||||
name: is_draft
|
||||
description: draft wished
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{booking} models.booking'
|
||||
/booking/{id}:
|
||||
get:
|
||||
tags:
|
||||
- booking
|
||||
description: |-
|
||||
find booking by id
|
||||
<br>
|
||||
operationId: BookingController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{booking} models.booking'
|
||||
/booking/search/{start_date}/{end_date}:
|
||||
get:
|
||||
tags:
|
||||
- booking
|
||||
description: |-
|
||||
search bookings
|
||||
<br>
|
||||
operationId: BookingController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: start_date
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: path
|
||||
name: end_date
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: query
|
||||
name: is_draft
|
||||
description: draft wished
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/booking/search/execution/{id}:
|
||||
get:
|
||||
tags:
|
||||
- booking
|
||||
description: |-
|
||||
search bookings by execution
|
||||
<br>
|
||||
operationId: BookingController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: id execution
|
||||
required: true
|
||||
type: string
|
||||
- in: query
|
||||
name: is_draft
|
||||
description: draft wished
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/execution/:
|
||||
get:
|
||||
tags:
|
||||
@@ -205,6 +310,9 @@ tags:
|
||||
- name: loki
|
||||
description: |
|
||||
Operations about workflow
|
||||
- name: booking
|
||||
description: |
|
||||
Operations about workspace
|
||||
- name: execution
|
||||
description: |
|
||||
Operations about workflow
|
||||
|
||||
Reference in New Issue
Block a user