1
1
openapi : 3.1.0
2
2
info :
3
3
title : biosim-server
4
- version : 0.1 .0
4
+ version : 0.2 .0
5
5
paths :
6
6
/ :
7
7
get :
@@ -29,12 +29,12 @@ paths:
29
29
schema :
30
30
type : string
31
31
title : Response Get Version Version Get
32
- /verify_omex :
32
+ /verify/omex :
33
33
post :
34
34
tags :
35
35
- Verification
36
- summary : Request verification report for OMEX/COMBINE archive
37
- operationId : start- verify-omex
36
+ summary : Request verification report for OMEX/COMBINE archive across simulators
37
+ operationId : verify-omex
38
38
parameters :
39
39
- name : workflow_id_prefix
40
40
in : query
@@ -140,26 +140,26 @@ paths:
140
140
content :
141
141
multipart/form-data :
142
142
schema :
143
- $ref : " #/components/schemas/Body_start-verify -omex"
143
+ $ref : " #/components/schemas/Body_verify -omex"
144
144
responses :
145
145
" 200 " :
146
146
description : Successful Response
147
147
content :
148
148
application/json :
149
149
schema :
150
- $ref : " #/components/schemas/OmexVerifyWorkflowOutput "
150
+ $ref : " #/components/schemas/VerifyWorkflowOutput "
151
151
" 422 " :
152
152
description : Validation Error
153
153
content :
154
154
application/json :
155
155
schema :
156
156
$ref : " #/components/schemas/HTTPValidationError"
157
- /verify_omex /{workflow_id} :
157
+ /verify /{workflow_id} :
158
158
get :
159
159
tags :
160
160
- Verification
161
161
summary : Retrieve verification report for OMEX/COMBINE archive
162
- operationId : get-verify-omex
162
+ operationId : get-verify-output
163
163
parameters :
164
164
- name : workflow_id
165
165
in : path
@@ -173,19 +173,19 @@ paths:
173
173
content :
174
174
application/json :
175
175
schema :
176
- $ref : " #/components/schemas/OmexVerifyWorkflowOutput "
176
+ $ref : " #/components/schemas/VerifyWorkflowOutput "
177
177
" 422 " :
178
178
description : Validation Error
179
179
content :
180
180
application/json :
181
181
schema :
182
182
$ref : " #/components/schemas/HTTPValidationError"
183
- /verify_runs :
183
+ /verify/runs :
184
184
post :
185
185
tags :
186
186
- Verification
187
- summary : Request verification report for biosimulation runs
188
- operationId : start- verify-runs
187
+ summary : Request verification report for biosimulation runs by run IDs
188
+ operationId : verify-runs
189
189
parameters :
190
190
- name : workflow_id_prefix
191
191
in : query
@@ -276,33 +276,7 @@ paths:
276
276
content :
277
277
application/json :
278
278
schema :
279
- $ref : " #/components/schemas/RunsVerifyWorkflowOutput"
280
- " 422 " :
281
- description : Validation Error
282
- content :
283
- application/json :
284
- schema :
285
- $ref : " #/components/schemas/HTTPValidationError"
286
- /verify_runs/{workflow_id} :
287
- get :
288
- tags :
289
- - Verification
290
- summary : Get verification report for biosimulation runs
291
- operationId : get-verify-runs
292
- parameters :
293
- - name : workflow_id
294
- in : path
295
- required : true
296
- schema :
297
- type : string
298
- title : Workflow Id
299
- responses :
300
- " 200 " :
301
- description : Successful Response
302
- content :
303
- application/json :
304
- schema :
305
- $ref : " #/components/schemas/RunsVerifyWorkflowOutput"
279
+ $ref : " #/components/schemas/VerifyWorkflowOutput"
306
280
" 422 " :
307
281
description : Validation Error
308
282
content :
@@ -382,7 +356,7 @@ components:
382
356
- created
383
357
- updated
384
358
title : BiosimulatorVersion
385
- Body_start-verify -omex :
359
+ Body_verify -omex :
386
360
properties :
387
361
uploaded_file :
388
362
type : string
@@ -392,7 +366,7 @@ components:
392
366
type : object
393
367
required :
394
368
- uploaded_file
395
- title : Body_start-verify -omex
369
+ title : Body_verify -omex
396
370
CompareSettings :
397
371
properties :
398
372
user_description :
@@ -615,47 +589,6 @@ components:
615
589
- shape
616
590
- values
617
591
title : Hdf5DataValues
618
- OmexVerifyWorkflowOutput :
619
- properties :
620
- workflow_id :
621
- type : string
622
- title : Workflow Id
623
- compare_settings :
624
- $ref : " #/components/schemas/CompareSettings"
625
- workflow_status :
626
- $ref : " #/components/schemas/OmexVerifyWorkflowStatus"
627
- timestamp :
628
- type : string
629
- title : Timestamp
630
- workflow_run_id :
631
- anyOf :
632
- - type : string
633
- - type : " null"
634
- title : Workflow Run Id
635
- workflow_error :
636
- anyOf :
637
- - type : string
638
- - type : " null"
639
- title : Workflow Error
640
- workflow_results :
641
- anyOf :
642
- - $ref : " #/components/schemas/GenerateStatisticsActivityOutput"
643
- - type : " null"
644
- type : object
645
- required :
646
- - workflow_id
647
- - compare_settings
648
- - workflow_status
649
- - timestamp
650
- title : OmexVerifyWorkflowOutput
651
- OmexVerifyWorkflowStatus :
652
- type : string
653
- enum :
654
- - PENDING
655
- - IN_PROGRESS
656
- - COMPLETED
657
- - FAILED
658
- title : OmexVerifyWorkflowStatus
659
592
RunData :
660
593
properties :
661
594
run_id :
@@ -678,15 +611,47 @@ components:
678
611
- var_names
679
612
- data
680
613
title : RunData
681
- RunsVerifyWorkflowOutput :
614
+ SimulationRunInfo :
615
+ properties :
616
+ biosim_sim_run :
617
+ $ref : " #/components/schemas/BiosimSimulationRun"
618
+ hdf5_file :
619
+ $ref : " #/components/schemas/HDF5File"
620
+ type : object
621
+ required :
622
+ - biosim_sim_run
623
+ - hdf5_file
624
+ title : SimulationRunInfo
625
+ ValidationError :
626
+ properties :
627
+ loc :
628
+ items :
629
+ anyOf :
630
+ - type : string
631
+ - type : integer
632
+ type : array
633
+ title : Location
634
+ msg :
635
+ type : string
636
+ title : Message
637
+ type :
638
+ type : string
639
+ title : Error Type
640
+ type : object
641
+ required :
642
+ - loc
643
+ - msg
644
+ - type
645
+ title : ValidationError
646
+ VerifyWorkflowOutput :
682
647
properties :
683
648
workflow_id :
684
649
type : string
685
650
title : Workflow Id
686
651
compare_settings :
687
652
$ref : " #/components/schemas/CompareSettings"
688
653
workflow_status :
689
- $ref : " #/components/schemas/RunsVerifyWorkflowStatus "
654
+ $ref : " #/components/schemas/VerifyWorkflowStatus "
690
655
timestamp :
691
656
type : string
692
657
title : Timestamp
@@ -710,45 +675,13 @@ components:
710
675
- compare_settings
711
676
- workflow_status
712
677
- timestamp
713
- title : RunsVerifyWorkflowOutput
714
- RunsVerifyWorkflowStatus :
678
+ title : VerifyWorkflowOutput
679
+ VerifyWorkflowStatus :
715
680
type : string
716
681
enum :
717
682
- PENDING
718
683
- IN_PROGRESS
719
684
- COMPLETED
720
685
- FAILED
721
686
- RUN_ID_NOT_FOUND
722
- title : RunsVerifyWorkflowStatus
723
- SimulationRunInfo :
724
- properties :
725
- biosim_sim_run :
726
- $ref : " #/components/schemas/BiosimSimulationRun"
727
- hdf5_file :
728
- $ref : " #/components/schemas/HDF5File"
729
- type : object
730
- required :
731
- - biosim_sim_run
732
- - hdf5_file
733
- title : SimulationRunInfo
734
- ValidationError :
735
- properties :
736
- loc :
737
- items :
738
- anyOf :
739
- - type : string
740
- - type : integer
741
- type : array
742
- title : Location
743
- msg :
744
- type : string
745
- title : Message
746
- type :
747
- type : string
748
- title : Error Type
749
- type : object
750
- required :
751
- - loc
752
- - msg
753
- - type
754
- title : ValidationError
687
+ title : VerifyWorkflowStatus
0 commit comments