test
This commit is contained in:
@@ -12,10 +12,72 @@ info:
|
||||
url: https://www.gnu.org/licenses/agpl-3.0.html
|
||||
basePath: /oc/
|
||||
paths:
|
||||
/:
|
||||
/{id}:
|
||||
post:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowSchedulerController
|
||||
description: |-
|
||||
schedule workflow
|
||||
<br>
|
||||
operationId: WorkflowSchedulerController.Schedule
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: id execution
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The compute content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.compute'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
delete:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowSchedulerController
|
||||
description: |-
|
||||
schedule workflow
|
||||
<br>
|
||||
operationId: WorkflowSchedulerController.UnSchedule
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: id execution
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The compute content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.compute'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/{id}/order:
|
||||
get:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowExecutionController
|
||||
- oc-scheduler/controllersWorkflowSchedulerController
|
||||
description: |-
|
||||
schedule workflow
|
||||
<br>
|
||||
operationId: WorkflowSchedulerController.SearchScheduledDraftOrder
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: id execution
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
/execution/:
|
||||
get:
|
||||
tags:
|
||||
- execution
|
||||
description: |-
|
||||
find workflow by workflowid
|
||||
<br>
|
||||
@@ -28,10 +90,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
/{id}:
|
||||
/execution/{id}:
|
||||
get:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowExecutionController
|
||||
- execution
|
||||
description: |-
|
||||
find workflow by workflowid
|
||||
<br>
|
||||
@@ -45,10 +107,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
/search/{search}:
|
||||
/execution/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowExecutionController
|
||||
- execution
|
||||
description: |-
|
||||
find compute by key word
|
||||
<br>
|
||||
@@ -66,10 +128,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{compute} models.compute'
|
||||
/search/{start_date}/{end_date}:
|
||||
/execution/search/{start_date}/{end_date}:
|
||||
get:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowExecutionController
|
||||
- execution
|
||||
description: |-
|
||||
search workspace
|
||||
<br>
|
||||
@@ -114,35 +176,15 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
/workflow/{id}:
|
||||
post:
|
||||
tags:
|
||||
- oc-scheduler/controllersWorkflowExecutionController
|
||||
description: |-
|
||||
schedule workflow
|
||||
<br>
|
||||
operationId: WorkflowExecutionController.ScheduleWorkflow
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: id execution
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The compute content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.compute'
|
||||
responses:
|
||||
"200":
|
||||
description: '{workspace} models.workspace'
|
||||
definitions:
|
||||
models.compute:
|
||||
title: compute
|
||||
type: object
|
||||
tags:
|
||||
- name: oc-scheduler/controllersWorkflowExecutionController
|
||||
- name: oc-scheduler/controllersWorkflowSchedulerController
|
||||
description: |
|
||||
Operations about workflow
|
||||
- name: execution
|
||||
description: |
|
||||
Operations about workflow
|
||||
- name: version
|
||||
|
||||
Reference in New Issue
Block a user