Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .postman/api_ed3ea5f7-995a-4255-914e-5b12f7b8f03f
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ files[] = {"path":"API/workflow/workflowIdConfigure.json","metaData":{}}
files[] = {"path":"API/workflowExecutionMatrix/workflowExecutionMatrix.json","metaData":{}}
files[] = {"path":"API/workflowExecutionMatrix/workflowExecutionMatrixId.json","metaData":{}}
files[] = {"path":"API/workflowExecutionMatrix/workflowExecutionMatrixIdAction.json","metaData":{}}
files[] = {"path":"API/workflowExecutionMatrix/workflowExecutionMatrixIdGlobalAction.json","metaData":{}}
files[] = {"path":"center.schema.json","metaData":{}}
files[] = {"path":"cohort.schema.json","metaData":{}}
files[] = {"path":"core.schema.json","metaData":{}}
Expand All @@ -48,6 +49,10 @@ files[] = {"path":"helpPanel.schema.json","metaData":{}}
files[] = {"path":"imageFilter.schema.json","metaData":{}}
files[] = {"path":"imageFilterAttribute.schema.json","metaData":{}}
files[] = {"path":"imageFilterSnapshot.schema.json","metaData":{}}
files[] = {"path":"import.schema.json","metaData":{}}
files[] = {"path":"importSeries.schema.json","metaData":{}}
files[] = {"path":"importSubject.schema.json","metaData":{}}
files[] = {"path":"importVisit.schema.json","metaData":{}}
files[] = {"path":"livePresenterExperiment.schema.json","metaData":{}}
files[] = {"path":"livePresenterExperimentResult.schema.json","metaData":{}}
files[] = {"path":"materializedTask.schema.json","metaData":{}}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"workflow"
],
"description": "Set of JSON schemas for the SPINE Virtual Laboratory",
"version": "3.1.0",
"version": "3.2.0",
"dependencies": {
"ajv": "^6.12.2"
},
Expand Down
5 changes: 4 additions & 1 deletion schemas/API/index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"version": "0.2",
"version": "0.2.3-dev",
"title": "SPINE API",
"description": "SPINE API"
},
Expand Down Expand Up @@ -29,6 +29,9 @@
"/workflow-execution-matrix/{workflowExecutionMatrixId}/action": {
"$ref": "./workflowExecutionMatrix/workflowExecutionMatrixIdAction.json"
},
"/workflow-execution-matrix/{workflowExecutionMatrixId}/global-action": {
"$ref": "./workflowExecutionMatrix/workflowExecutionMatrixIdGlobalAction.json"
},
"/filter/{filterId}": {
"$ref": "./filter/filterId.json"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": [
{
"name": "workflowExecutionMatrixId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"post": {
"security": [
{
"bearerAuth": []
}
],
"tags": [
"workflow execution matrix"
],
"summary": "/api/workflow-execution-matrix/workflowExecutionMatrixId/global-action",
"description": "This API is used to post an action (launch, ...) to all the case of a wf exec plan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../../workflowExecutionMatrix.schema.json#/definitions/postWorkflowExecutionMatrixGlobalActionBody"
},
"examples": {
"1": {
"value": {
"actionType": "LAUNCH"
}
}
}
}
}
},
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {

}
}
},
"500": {
"description": "Unexpected error"
}
}
}
}
Loading