9
9
⭐ = item recently added or updated, 🚧 = items under construction, ❗ = items to review and validate
10
10
11
11
12
- version : " 1.0"
12
+ version : " 1.0-202209 "
13
13
contact :
14
14
name : the OpenFLUID team
15
15
url : https://www.openfluid-project.org/who/
@@ -364,7 +364,7 @@ paths:
364
364
200 :
365
365
description : ' OK'
366
366
367
- /account/requests/access :
367
+ /account/requests/referential/ access :
368
368
post :
369
369
tags :
370
370
- account
@@ -415,7 +415,7 @@ paths:
415
415
401 :
416
416
$ref : ' #/components/responses/Unauthenticated'
417
417
418
- /account/requests/creation :
418
+ /account/requests/referential/ creation :
419
419
post :
420
420
tags :
421
421
- account
@@ -444,7 +444,7 @@ paths:
444
444
id :
445
445
type : string
446
446
example : " my.obs.43"
447
- shortdesc :
447
+ description :
448
448
type : string
449
449
example : " the observer 43"
450
450
- type : object
@@ -457,7 +457,7 @@ paths:
457
457
name :
458
458
type : string
459
459
example : " DataX"
460
- shortdesc :
460
+ description :
461
461
type : string
462
462
example : " a great dataset"
463
463
responses :
@@ -480,14 +480,18 @@ paths:
480
480
schema :
481
481
type : object
482
482
properties :
483
- new_password :
483
+ old_password :
484
+ description : " user input"
485
+ type : string
486
+ example : " my_old_secret_password"
487
+ password :
484
488
description : " user input"
485
489
type : string
486
- example : " my_secret_password "
487
- new_password_confirm :
490
+ example : " my_new_secret_password "
491
+ confirmed_password :
488
492
description : " user input"
489
493
type : string
490
- example : " my_secret_password "
494
+ example : " my_new_secret_password "
491
495
required :
492
496
- new_password
493
497
- new_password_confirm
@@ -849,7 +853,7 @@ paths:
849
853
schema :
850
854
type : object
851
855
properties :
852
- shortdesc :
856
+ description :
853
857
type : string
854
858
example : " a new description ..."
855
859
responses :
@@ -863,6 +867,47 @@ paths:
863
867
$ref : ' #/components/responses/NotFound'
864
868
865
869
870
+ /wares/{waretype}/{wareid}/branches/{branchid} :
871
+ parameters :
872
+ - in : path
873
+ required : true
874
+ name : waretype
875
+ description : type of wares
876
+ schema :
877
+ type : string
878
+ enum : ['simulators','observers','builderexts']
879
+ example : simulators
880
+ - in : path
881
+ name : wareid
882
+ required : true
883
+ schema :
884
+ type : string
885
+ example : " my.simulator"
886
+ - in : path
887
+ name : branchid
888
+ required : true
889
+ schema :
890
+ type : string
891
+ example : " openfluid-2.1"
892
+
893
+ get :
894
+ summary : Get details of branch on ware ⭐
895
+ description : >
896
+ Details of branch include commits, tags and other information related to given branch
897
+ tags :
898
+ - reference wares
899
+ responses :
900
+ 200 :
901
+ description : ' OK'
902
+ content :
903
+ application/json :
904
+ schema :
905
+ $ref : ' #/components/schemas/ElementGitBranch'
906
+ 404 :
907
+ $ref : ' #/components/responses/NotFound'
908
+
909
+
910
+
866
911
# #########################################################################
867
912
868
913
@@ -931,7 +976,7 @@ paths:
931
976
schema :
932
977
type : object
933
978
properties :
934
- shortdesc :
979
+ description :
935
980
type : string
936
981
example : " a new description ..."
937
982
responses :
@@ -944,6 +989,38 @@ paths:
944
989
404 :
945
990
$ref : ' #/components/responses/NotFound'
946
991
992
+ /datasets/{dataname}/branches/{branchid} :
993
+
994
+ parameters :
995
+ - in : path
996
+ name : dataname
997
+ required : true
998
+ schema :
999
+ type : string
1000
+ example : " my_dataset"
1001
+ - in : path
1002
+ name : branchid
1003
+ required : true
1004
+ schema :
1005
+ type : string
1006
+ example : " openfluid-2.1"
1007
+
1008
+ get :
1009
+ summary : Get details of branch on dataset ⭐
1010
+ description : >
1011
+ Details of branch include commits, tags and other information related to given branch
1012
+ tags :
1013
+ - reference datasets
1014
+ responses :
1015
+ 200 :
1016
+ description : ' OK'
1017
+ content :
1018
+ application/json :
1019
+ schema :
1020
+ $ref : ' #/components/schemas/ElementGitBranch'
1021
+ 404 :
1022
+ $ref : ' #/components/responses/NotFound'
1023
+
947
1024
948
1025
# ############################################################################
949
1026
@@ -2315,6 +2392,8 @@ components:
2315
2392
type : string
2316
2393
organization :
2317
2394
type : string
2395
+ unixname :
2396
+ type : string
2318
2397
2319
2398
UserItem :
2320
2399
allOf :
@@ -2440,10 +2519,10 @@ components:
2440
2519
sha :
2441
2520
type : string
2442
2521
example : ' 11d8394e7ad3ddcbd76a6fdbc2226510e6a438cc'
2443
- author-name :
2522
+ author_name :
2444
2523
type : string
2445
2524
example : ' Zoe'
2446
- author-email :
2525
+ author_email :
2447
2526
type : string
2448
2527
example : ' zoe@people.org'
2449
2528
date :
@@ -2492,7 +2571,7 @@ components:
2492
2571
id :
2493
2572
type : string
2494
2573
example : " my.sim.example97"
2495
- shortdesc :
2574
+ description :
2496
2575
type : string
2497
2576
example : ' This is a new simulator'
2498
2577
contributors :
@@ -2517,32 +2596,40 @@ components:
2517
2596
type : string
2518
2597
example : ' https://my.fluidhub.org/git/simulators/sim.example.7'
2519
2598
git_branches :
2599
+ $ref : ' #/components/schemas/GitBranches'
2600
+
2601
+ ElementGitBranch :
2602
+ type : object
2603
+ properties :
2604
+ name :
2605
+ type : string
2606
+ details :
2607
+ $ref : ' #/components/schemas/ElementGitBranchDetails'
2608
+ commits :
2520
2609
type : array
2521
2610
items :
2522
- $ref : ' #/components/schemas/WareGitBranchDetails '
2611
+ $ref : ' #/components/schemas/GitCommitDetails '
2523
2612
2524
- WareGitBranchDetails :
2525
- allOf :
2526
- - $ref : ' #/components/schemas/GitBranchDetails'
2527
- - type : object
2528
- properties :
2529
- tags :
2530
- type : array
2531
- items :
2532
- type : string
2533
- example : ['water','atmosphere','surface']
2534
- contacts :
2535
- type : array
2536
- items :
2537
- type : string
2538
- example : ['pierre@people.org','marianne@users.org']
2539
- license :
2540
- type : string
2541
- example : ' GPL-3.0'
2542
- issues :
2543
- type : array
2544
- items :
2545
- $ref : ' #/components/schemas/WareGitIssueDetails'
2613
+ ElementGitBranchDetails :
2614
+ type : object
2615
+ properties :
2616
+ tags :
2617
+ type : array
2618
+ items :
2619
+ type : string
2620
+ example : ['water','atmosphere','surface']
2621
+ contacts :
2622
+ type : array
2623
+ items :
2624
+ type : string
2625
+ example : ['pierre@people.org','marianne@users.org']
2626
+ license :
2627
+ type : string
2628
+ example : ' GPL-3.0'
2629
+ issues :
2630
+ type : array
2631
+ items :
2632
+ $ref : ' #/components/schemas/WareGitIssueDetails'
2546
2633
2547
2634
WareGitIssueDetails :
2548
2635
type : object
@@ -2553,7 +2640,7 @@ components:
2553
2640
title :
2554
2641
type : string
2555
2642
example : ' Important feature'
2556
- creator-name :
2643
+ creator :
2557
2644
type : string
2558
2645
example : ' Maxime'
2559
2646
date :
@@ -2604,7 +2691,7 @@ components:
2604
2691
type : string
2605
2692
example :
2606
2693
my.obs.example42 :
2607
- shortdesc : " my observer as an example"
2694
+ description : " my observer as an example"
2608
2695
git_url : " "
2609
2696
ware_url : " "
2610
2697
git_branches : ["openfluid-2.0","openfluid-2.1"]
@@ -2616,7 +2703,7 @@ components:
2616
2703
users-rw : []
2617
2704
2618
2705
my.obs.example123 :
2619
- shortdesc : " my observer as another example"
2706
+ description : " my observer as another example"
2620
2707
ware_url : " "
2621
2708
git_url : " "
2622
2709
git_branches : ["openfluid-2.1"]
@@ -2645,7 +2732,7 @@ components:
2645
2732
DatasetInfo :
2646
2733
type : object
2647
2734
properties :
2648
- shortdesc :
2735
+ description :
2649
2736
type : string
2650
2737
example : " This dataset ..."
2651
2738
@@ -2656,10 +2743,8 @@ components:
2656
2743
$ref : ' #/components/schemas/UsersROlist'
2657
2744
users-rw :
2658
2745
$ref : ' #/components/schemas/UsersRWlist'
2659
- git-branches :
2660
- type : array
2661
- items :
2662
- $ref : ' #/components/schemas/GitBranchDetails'
2746
+ git_branches :
2747
+ $ref : ' #/components/schemas/GitBranches'
2663
2748
2664
2749
2665
2750
Workspace :
@@ -2886,6 +2971,3 @@ components:
2886
2971
# schema:
2887
2972
# $ref: '#/components/schemas/Dataset'
2888
2973
2889
-
2890
-
2891
-
0 commit comments