2024-07-11 11:40:11 +02:00
|
|
|
{
|
|
|
|
"swagger": "2.0",
|
|
|
|
"info": {
|
2024-09-04 17:23:11 +02:00
|
|
|
"title": "oc-scheduler",
|
|
|
|
"description": "Manage workflows booking\n",
|
2024-07-11 11:40:11 +02:00
|
|
|
"version": "1.0.0",
|
2024-09-04 17:23:11 +02:00
|
|
|
"termsOfService": "http://cloud.o-forge.io/",
|
2024-07-11 11:40:11 +02:00
|
|
|
"contact": {
|
2024-09-04 17:23:11 +02:00
|
|
|
"email": "admin@o-cloud.io"
|
2024-07-11 11:40:11 +02:00
|
|
|
},
|
|
|
|
"license": {
|
2024-09-05 09:33:57 +02:00
|
|
|
"name": "MIT",
|
|
|
|
"url": "https://opensource.org/license/mit"
|
2024-07-11 11:40:11 +02:00
|
|
|
}
|
|
|
|
},
|
2024-07-24 10:25:08 +02:00
|
|
|
"basePath": "/oc/",
|
2024-07-11 11:40:11 +02:00
|
|
|
"paths": {
|
2024-10-15 10:55:07 +02:00
|
|
|
"/": {
|
2024-07-24 10:25:08 +02:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-10-15 10:55:07 +02:00
|
|
|
"oc-scheduler/controllersWorkflowExecutionController"
|
2024-07-24 10:25:08 +02:00
|
|
|
],
|
|
|
|
"description": "find workflow by workflowid\n\u003cbr\u003e",
|
2024-08-08 17:31:17 +02:00
|
|
|
"operationId": "WorkflowExecutionController.GetAll",
|
2024-07-24 10:25:08 +02:00
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "{workflow} models.workflow"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-10-15 10:55:07 +02:00
|
|
|
"/search/{start_date}/{end_date}": {
|
2024-08-06 11:09:38 +02:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-10-15 10:55:07 +02:00
|
|
|
"oc-scheduler/controllersWorkflowExecutionController"
|
2024-08-06 11:09:38 +02:00
|
|
|
],
|
|
|
|
"description": "search workspace\n\u003cbr\u003e",
|
|
|
|
"operationId": "WorkflowExecutionController.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"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "{workspace} models.workspace"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-10-15 10:55:07 +02:00
|
|
|
"/version/": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"version"
|
|
|
|
],
|
|
|
|
"description": "get version\n\u003cbr\u003e",
|
|
|
|
"operationId": "VersionController.GetAll",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/version/status": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"version"
|
|
|
|
],
|
|
|
|
"description": "get status\n\u003cbr\u003e",
|
|
|
|
"operationId": "VersionController.Status",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/{id}": {
|
2024-08-06 11:09:38 +02:00
|
|
|
"get": {
|
|
|
|
"tags": [
|
2024-10-15 10:55:07 +02:00
|
|
|
"oc-scheduler/controllersWorkflowExecutionController"
|
2024-08-06 11:09:38 +02:00
|
|
|
],
|
|
|
|
"description": "find workflow by workflowid\n\u003cbr\u003e",
|
|
|
|
"operationId": "WorkflowExecutionController.Get",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"in": "path",
|
|
|
|
"name": "id",
|
|
|
|
"description": "the workflowid you want to get",
|
|
|
|
"required": true,
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "{workflow} models.workflow"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-07-11 11:40:11 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": [
|
2024-08-06 11:09:38 +02:00
|
|
|
{
|
2024-10-15 10:55:07 +02:00
|
|
|
"name": "oc-scheduler/controllersWorkflowExecutionController",
|
2024-08-06 11:09:38 +02:00
|
|
|
"description": "Operations about workflow\n"
|
|
|
|
},
|
2024-07-11 11:40:11 +02:00
|
|
|
{
|
|
|
|
"name": "version",
|
|
|
|
"description": "VersionController operations for Version\n"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|