|
Lines 32-38
Link Here
|
| 32 |
], |
32 |
], |
| 33 |
"security": [ |
33 |
"security": [ |
| 34 |
{ |
34 |
{ |
| 35 |
"user": [], |
35 |
"user": [] |
|
|
36 |
}, |
| 37 |
{ |
| 36 |
"token": [] |
38 |
"token": [] |
| 37 |
} |
39 |
} |
| 38 |
], |
40 |
], |
|
Lines 77-82
Link Here
|
| 77 |
}, |
79 |
}, |
| 78 |
"default": { |
80 |
"default": { |
| 79 |
"description": "Unable to find job" |
81 |
"description": "Unable to find job" |
|
|
82 |
}, |
| 83 |
"400": { |
| 84 |
"description": "Invalid Request", |
| 85 |
"content": { |
| 86 |
"application/json": { |
| 87 |
"schema": { |
| 88 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 89 |
} |
| 90 |
}, |
| 91 |
"application/x-yaml": { |
| 92 |
"schema": { |
| 93 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 94 |
} |
| 95 |
} |
| 96 |
} |
| 97 |
}, |
| 98 |
"500": { |
| 99 |
"description": "Internal Error", |
| 100 |
"content": { |
| 101 |
"application/json": { |
| 102 |
"schema": { |
| 103 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 104 |
} |
| 105 |
}, |
| 106 |
"application/x-yaml": { |
| 107 |
"schema": { |
| 108 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 109 |
} |
| 110 |
} |
| 111 |
} |
| 80 |
} |
112 |
} |
| 81 |
} |
113 |
} |
| 82 |
} |
114 |
} |
|
Lines 106-111
Link Here
|
| 106 |
}, |
138 |
}, |
| 107 |
"default": { |
139 |
"default": { |
| 108 |
"description": "Unable to dump config" |
140 |
"description": "Unable to dump config" |
|
|
141 |
}, |
| 142 |
"400": { |
| 143 |
"description": "Invalid Request", |
| 144 |
"content": { |
| 145 |
"application/json": { |
| 146 |
"schema": { |
| 147 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 148 |
} |
| 149 |
}, |
| 150 |
"application/x-yaml": { |
| 151 |
"schema": { |
| 152 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 153 |
} |
| 154 |
} |
| 155 |
} |
| 156 |
}, |
| 157 |
"500": { |
| 158 |
"description": "Internal Error", |
| 159 |
"content": { |
| 160 |
"application/json": { |
| 161 |
"schema": { |
| 162 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 163 |
} |
| 164 |
}, |
| 165 |
"application/x-yaml": { |
| 166 |
"schema": { |
| 167 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 168 |
} |
| 169 |
} |
| 170 |
} |
| 109 |
} |
171 |
} |
| 110 |
} |
172 |
} |
| 111 |
}, |
173 |
}, |
|
Lines 133-138
Link Here
|
| 133 |
}, |
195 |
}, |
| 134 |
"default": { |
196 |
"default": { |
| 135 |
"description": "Unable to set config" |
197 |
"description": "Unable to set config" |
|
|
198 |
}, |
| 199 |
"400": { |
| 200 |
"description": "Invalid Request", |
| 201 |
"content": { |
| 202 |
"application/json": { |
| 203 |
"schema": { |
| 204 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 205 |
} |
| 206 |
}, |
| 207 |
"application/x-yaml": { |
| 208 |
"schema": { |
| 209 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 210 |
} |
| 211 |
} |
| 212 |
} |
| 213 |
}, |
| 214 |
"500": { |
| 215 |
"description": "Internal Error", |
| 216 |
"content": { |
| 217 |
"application/json": { |
| 218 |
"schema": { |
| 219 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 220 |
} |
| 221 |
}, |
| 222 |
"application/x-yaml": { |
| 223 |
"schema": { |
| 224 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 225 |
} |
| 226 |
} |
| 227 |
} |
| 136 |
} |
228 |
} |
| 137 |
} |
229 |
} |
| 138 |
} |
230 |
} |
|
Lines 161-166
Link Here
|
| 161 |
}, |
253 |
}, |
| 162 |
"default": { |
254 |
"default": { |
| 163 |
"description": "Unable to update TRES" |
255 |
"description": "Unable to update TRES" |
|
|
256 |
}, |
| 257 |
"400": { |
| 258 |
"description": "Invalid Request", |
| 259 |
"content": { |
| 260 |
"application/json": { |
| 261 |
"schema": { |
| 262 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 263 |
} |
| 264 |
}, |
| 265 |
"application/x-yaml": { |
| 266 |
"schema": { |
| 267 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 268 |
} |
| 269 |
} |
| 270 |
} |
| 271 |
}, |
| 272 |
"500": { |
| 273 |
"description": "Internal Error", |
| 274 |
"content": { |
| 275 |
"application/json": { |
| 276 |
"schema": { |
| 277 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 278 |
} |
| 279 |
}, |
| 280 |
"application/x-yaml": { |
| 281 |
"schema": { |
| 282 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 283 |
} |
| 284 |
} |
| 285 |
} |
| 164 |
} |
286 |
} |
| 165 |
}, |
287 |
}, |
| 166 |
"summary": "Set TRES info" |
288 |
"summary": "Set TRES info" |
|
Lines 188-193
Link Here
|
| 188 |
}, |
310 |
}, |
| 189 |
"default": { |
311 |
"default": { |
| 190 |
"description": "Unable to retrieve TRES" |
312 |
"description": "Unable to retrieve TRES" |
|
|
313 |
}, |
| 314 |
"400": { |
| 315 |
"description": "Invalid Request", |
| 316 |
"content": { |
| 317 |
"application/json": { |
| 318 |
"schema": { |
| 319 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 320 |
} |
| 321 |
}, |
| 322 |
"application/x-yaml": { |
| 323 |
"schema": { |
| 324 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 325 |
} |
| 326 |
} |
| 327 |
} |
| 328 |
}, |
| 329 |
"500": { |
| 330 |
"description": "Internal Error", |
| 331 |
"content": { |
| 332 |
"application/json": { |
| 333 |
"schema": { |
| 334 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 335 |
} |
| 336 |
}, |
| 337 |
"application/x-yaml": { |
| 338 |
"schema": { |
| 339 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 340 |
} |
| 341 |
} |
| 342 |
} |
| 191 |
} |
343 |
} |
| 192 |
}, |
344 |
}, |
| 193 |
"summary": "Get TRES info" |
345 |
"summary": "Get TRES info" |
|
Lines 218-223
Link Here
|
| 218 |
}, |
370 |
}, |
| 219 |
"default": { |
371 |
"default": { |
| 220 |
"description": "Unable to delete QOS" |
372 |
"description": "Unable to delete QOS" |
|
|
373 |
}, |
| 374 |
"400": { |
| 375 |
"description": "Invalid Request", |
| 376 |
"content": { |
| 377 |
"application/json": { |
| 378 |
"schema": { |
| 379 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 380 |
} |
| 381 |
}, |
| 382 |
"application/x-yaml": { |
| 383 |
"schema": { |
| 384 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 385 |
} |
| 386 |
} |
| 387 |
} |
| 388 |
}, |
| 389 |
"500": { |
| 390 |
"description": "Internal Error", |
| 391 |
"content": { |
| 392 |
"application/json": { |
| 393 |
"schema": { |
| 394 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 395 |
} |
| 396 |
}, |
| 397 |
"application/x-yaml": { |
| 398 |
"schema": { |
| 399 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 400 |
} |
| 401 |
} |
| 402 |
} |
| 221 |
} |
403 |
} |
| 222 |
}, |
404 |
}, |
| 223 |
"parameters": [ |
405 |
"parameters": [ |
|
Lines 258-263
Link Here
|
| 258 |
}, |
440 |
}, |
| 259 |
"default": { |
441 |
"default": { |
| 260 |
"description": "QOS not found" |
442 |
"description": "QOS not found" |
|
|
443 |
}, |
| 444 |
"400": { |
| 445 |
"description": "Invalid Request", |
| 446 |
"content": { |
| 447 |
"application/json": { |
| 448 |
"schema": { |
| 449 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 450 |
} |
| 451 |
}, |
| 452 |
"application/x-yaml": { |
| 453 |
"schema": { |
| 454 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 455 |
} |
| 456 |
} |
| 457 |
} |
| 458 |
}, |
| 459 |
"500": { |
| 460 |
"description": "Internal Error", |
| 461 |
"content": { |
| 462 |
"application/json": { |
| 463 |
"schema": { |
| 464 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 465 |
} |
| 466 |
}, |
| 467 |
"application/x-yaml": { |
| 468 |
"schema": { |
| 469 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 470 |
} |
| 471 |
} |
| 472 |
} |
| 261 |
} |
473 |
} |
| 262 |
}, |
474 |
}, |
| 263 |
"parameters": [ |
475 |
"parameters": [ |
|
Lines 299-304
Link Here
|
| 299 |
}, |
511 |
}, |
| 300 |
"default": { |
512 |
"default": { |
| 301 |
"description": "QOS not found" |
513 |
"description": "QOS not found" |
|
|
514 |
}, |
| 515 |
"400": { |
| 516 |
"description": "Invalid Request", |
| 517 |
"content": { |
| 518 |
"application/json": { |
| 519 |
"schema": { |
| 520 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 521 |
} |
| 522 |
}, |
| 523 |
"application/x-yaml": { |
| 524 |
"schema": { |
| 525 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 526 |
} |
| 527 |
} |
| 528 |
} |
| 529 |
}, |
| 530 |
"500": { |
| 531 |
"description": "Internal Error", |
| 532 |
"content": { |
| 533 |
"application/json": { |
| 534 |
"schema": { |
| 535 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 536 |
} |
| 537 |
}, |
| 538 |
"application/x-yaml": { |
| 539 |
"schema": { |
| 540 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 541 |
} |
| 542 |
} |
| 543 |
} |
| 302 |
} |
544 |
} |
| 303 |
}, |
545 |
}, |
| 304 |
"summary": "Get QOS list" |
546 |
"summary": "Get QOS list" |
|
Lines 328-333
Link Here
|
| 328 |
}, |
570 |
}, |
| 329 |
"default": { |
571 |
"default": { |
| 330 |
"description": "Unable to update associations" |
572 |
"description": "Unable to update associations" |
|
|
573 |
}, |
| 574 |
"400": { |
| 575 |
"description": "Invalid Request", |
| 576 |
"content": { |
| 577 |
"application/json": { |
| 578 |
"schema": { |
| 579 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 580 |
} |
| 581 |
}, |
| 582 |
"application/x-yaml": { |
| 583 |
"schema": { |
| 584 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 585 |
} |
| 586 |
} |
| 587 |
} |
| 588 |
}, |
| 589 |
"500": { |
| 590 |
"description": "Internal Error", |
| 591 |
"content": { |
| 592 |
"application/json": { |
| 593 |
"schema": { |
| 594 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 595 |
} |
| 596 |
}, |
| 597 |
"application/x-yaml": { |
| 598 |
"schema": { |
| 599 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 600 |
} |
| 601 |
} |
| 602 |
} |
| 331 |
} |
603 |
} |
| 332 |
}, |
604 |
}, |
| 333 |
"summary": "Set associations info" |
605 |
"summary": "Set associations info" |
|
Lines 355-360
Link Here
|
| 355 |
}, |
627 |
}, |
| 356 |
"default": { |
628 |
"default": { |
| 357 |
"description": "Association not found" |
629 |
"description": "Association not found" |
|
|
630 |
}, |
| 631 |
"400": { |
| 632 |
"description": "Invalid Request", |
| 633 |
"content": { |
| 634 |
"application/json": { |
| 635 |
"schema": { |
| 636 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 637 |
} |
| 638 |
}, |
| 639 |
"application/x-yaml": { |
| 640 |
"schema": { |
| 641 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 642 |
} |
| 643 |
} |
| 644 |
} |
| 645 |
}, |
| 646 |
"500": { |
| 647 |
"description": "Internal Error", |
| 648 |
"content": { |
| 649 |
"application/json": { |
| 650 |
"schema": { |
| 651 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 652 |
} |
| 653 |
}, |
| 654 |
"application/x-yaml": { |
| 655 |
"schema": { |
| 656 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 657 |
} |
| 658 |
} |
| 659 |
} |
| 358 |
} |
660 |
} |
| 359 |
}, |
661 |
}, |
| 360 |
"summary": "Get association list" |
662 |
"summary": "Get association list" |
|
Lines 430-435
Link Here
|
| 430 |
}, |
732 |
}, |
| 431 |
"default": { |
733 |
"default": { |
| 432 |
"description": "Association not found" |
734 |
"description": "Association not found" |
|
|
735 |
}, |
| 736 |
"400": { |
| 737 |
"description": "Invalid Request", |
| 738 |
"content": { |
| 739 |
"application/json": { |
| 740 |
"schema": { |
| 741 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 742 |
} |
| 743 |
}, |
| 744 |
"application/x-yaml": { |
| 745 |
"schema": { |
| 746 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 747 |
} |
| 748 |
} |
| 749 |
} |
| 750 |
}, |
| 751 |
"500": { |
| 752 |
"description": "Internal Error", |
| 753 |
"content": { |
| 754 |
"application/json": { |
| 755 |
"schema": { |
| 756 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 757 |
} |
| 758 |
}, |
| 759 |
"application/x-yaml": { |
| 760 |
"schema": { |
| 761 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 762 |
} |
| 763 |
} |
| 764 |
} |
| 433 |
} |
765 |
} |
| 434 |
}, |
766 |
}, |
| 435 |
"summary": "Get association info" |
767 |
"summary": "Get association info" |
|
Lines 503-520
Link Here
|
| 503 |
}, |
835 |
}, |
| 504 |
"default": { |
836 |
"default": { |
| 505 |
"description": "Association not found or unable to delete association" |
837 |
"description": "Association not found or unable to delete association" |
| 506 |
} |
838 |
}, |
| 507 |
}, |
839 |
"400": { |
| 508 |
"summary": "Delete association" |
840 |
"description": "Invalid Request", |
| 509 |
} |
841 |
"content": { |
| 510 |
}, |
842 |
"application/json": { |
| 511 |
"/user/{user_name}": { |
843 |
"schema": { |
| 512 |
"delete": { |
844 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 513 |
"tags": [ |
845 |
} |
| 514 |
"slurm" |
846 |
}, |
| 515 |
], |
847 |
"application/x-yaml": { |
| 516 |
"summary": "Delete user", |
848 |
"schema": { |
| 517 |
"operationId": "slurmdbd_delete_user", |
849 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
|
|
850 |
} |
| 851 |
} |
| 852 |
} |
| 853 |
}, |
| 854 |
"500": { |
| 855 |
"description": "Internal Error", |
| 856 |
"content": { |
| 857 |
"application/json": { |
| 858 |
"schema": { |
| 859 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 860 |
} |
| 861 |
}, |
| 862 |
"application/x-yaml": { |
| 863 |
"schema": { |
| 864 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 865 |
} |
| 866 |
} |
| 867 |
} |
| 868 |
} |
| 869 |
}, |
| 870 |
"summary": "Delete association" |
| 871 |
} |
| 872 |
}, |
| 873 |
"/user/{user_name}": { |
| 874 |
"delete": { |
| 875 |
"tags": [ |
| 876 |
"slurm" |
| 877 |
], |
| 878 |
"summary": "Delete user", |
| 879 |
"operationId": "slurmdbd_delete_user", |
| 518 |
"responses": { |
880 |
"responses": { |
| 519 |
"200": { |
881 |
"200": { |
| 520 |
"content": { |
882 |
"content": { |
|
Lines 533-538
Link Here
|
| 533 |
}, |
895 |
}, |
| 534 |
"default": { |
896 |
"default": { |
| 535 |
"description": "User not found or unable to delete user" |
897 |
"description": "User not found or unable to delete user" |
|
|
898 |
}, |
| 899 |
"400": { |
| 900 |
"description": "Invalid Request", |
| 901 |
"content": { |
| 902 |
"application/json": { |
| 903 |
"schema": { |
| 904 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 905 |
} |
| 906 |
}, |
| 907 |
"application/x-yaml": { |
| 908 |
"schema": { |
| 909 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 910 |
} |
| 911 |
} |
| 912 |
} |
| 913 |
}, |
| 914 |
"500": { |
| 915 |
"description": "Internal Error", |
| 916 |
"content": { |
| 917 |
"application/json": { |
| 918 |
"schema": { |
| 919 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 920 |
} |
| 921 |
}, |
| 922 |
"application/x-yaml": { |
| 923 |
"schema": { |
| 924 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 925 |
} |
| 926 |
} |
| 927 |
} |
| 536 |
} |
928 |
} |
| 537 |
}, |
929 |
}, |
| 538 |
"parameters": [ |
930 |
"parameters": [ |
|
Lines 573-578
Link Here
|
| 573 |
}, |
965 |
}, |
| 574 |
"default": { |
966 |
"default": { |
| 575 |
"description": "User not found" |
967 |
"description": "User not found" |
|
|
968 |
}, |
| 969 |
"400": { |
| 970 |
"description": "Invalid Request", |
| 971 |
"content": { |
| 972 |
"application/json": { |
| 973 |
"schema": { |
| 974 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 975 |
} |
| 976 |
}, |
| 977 |
"application/x-yaml": { |
| 978 |
"schema": { |
| 979 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 980 |
} |
| 981 |
} |
| 982 |
} |
| 983 |
}, |
| 984 |
"500": { |
| 985 |
"description": "Internal Error", |
| 986 |
"content": { |
| 987 |
"application/json": { |
| 988 |
"schema": { |
| 989 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 990 |
} |
| 991 |
}, |
| 992 |
"application/x-yaml": { |
| 993 |
"schema": { |
| 994 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 995 |
} |
| 996 |
} |
| 997 |
} |
| 576 |
} |
998 |
} |
| 577 |
}, |
999 |
}, |
| 578 |
"parameters": [ |
1000 |
"parameters": [ |
|
Lines 615-621
Link Here
|
| 615 |
}, |
1037 |
}, |
| 616 |
"default": { |
1038 |
"default": { |
| 617 |
"description": "User not found or not able to update user" |
1039 |
"description": "User not found or not able to update user" |
|
|
1040 |
}, |
| 1041 |
"400": { |
| 1042 |
"description": "Invalid Request", |
| 1043 |
"content": { |
| 1044 |
"application/json": { |
| 1045 |
"schema": { |
| 1046 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1047 |
} |
| 1048 |
}, |
| 1049 |
"application/x-yaml": { |
| 1050 |
"schema": { |
| 1051 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1052 |
} |
| 1053 |
} |
| 1054 |
} |
| 1055 |
}, |
| 1056 |
"500": { |
| 1057 |
"description": "Internal Error", |
| 1058 |
"content": { |
| 1059 |
"application/json": { |
| 1060 |
"schema": { |
| 1061 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1062 |
} |
| 1063 |
}, |
| 1064 |
"application/x-yaml": { |
| 1065 |
"schema": { |
| 1066 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1067 |
} |
| 1068 |
} |
| 1069 |
} |
| 618 |
} |
1070 |
} |
|
|
1071 |
}, |
| 1072 |
"requestBody": { |
| 1073 |
"description": "update user", |
| 1074 |
"content": { |
| 1075 |
"application/json": { |
| 1076 |
"schema": { |
| 1077 |
"$ref": "#/components/schemas/dbv0.0.37_update_users" |
| 1078 |
} |
| 1079 |
}, |
| 1080 |
"application/x-yaml": { |
| 1081 |
"schema": { |
| 1082 |
"$ref": "#/components/schemas/dbv0.0.37_update_users" |
| 1083 |
} |
| 1084 |
} |
| 1085 |
}, |
| 1086 |
"required": true |
| 619 |
} |
1087 |
} |
| 620 |
}, |
1088 |
}, |
| 621 |
"get": { |
1089 |
"get": { |
|
Lines 642-647
Link Here
|
| 642 |
}, |
1110 |
}, |
| 643 |
"default": { |
1111 |
"default": { |
| 644 |
"description": "User not found" |
1112 |
"description": "User not found" |
|
|
1113 |
}, |
| 1114 |
"400": { |
| 1115 |
"description": "Invalid Request", |
| 1116 |
"content": { |
| 1117 |
"application/json": { |
| 1118 |
"schema": { |
| 1119 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1120 |
} |
| 1121 |
}, |
| 1122 |
"application/x-yaml": { |
| 1123 |
"schema": { |
| 1124 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1125 |
} |
| 1126 |
} |
| 1127 |
} |
| 1128 |
}, |
| 1129 |
"500": { |
| 1130 |
"description": "Internal Error", |
| 1131 |
"content": { |
| 1132 |
"application/json": { |
| 1133 |
"schema": { |
| 1134 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1135 |
} |
| 1136 |
}, |
| 1137 |
"application/x-yaml": { |
| 1138 |
"schema": { |
| 1139 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1140 |
} |
| 1141 |
} |
| 1142 |
} |
| 645 |
} |
1143 |
} |
| 646 |
} |
1144 |
} |
| 647 |
} |
1145 |
} |
|
Lines 671-676
Link Here
|
| 671 |
}, |
1169 |
}, |
| 672 |
"default": { |
1170 |
"default": { |
| 673 |
"description": "Cluster not found or unable to delete cluster" |
1171 |
"description": "Cluster not found or unable to delete cluster" |
|
|
1172 |
}, |
| 1173 |
"400": { |
| 1174 |
"description": "Invalid Request", |
| 1175 |
"content": { |
| 1176 |
"application/json": { |
| 1177 |
"schema": { |
| 1178 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1179 |
} |
| 1180 |
}, |
| 1181 |
"application/x-yaml": { |
| 1182 |
"schema": { |
| 1183 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1184 |
} |
| 1185 |
} |
| 1186 |
} |
| 1187 |
}, |
| 1188 |
"500": { |
| 1189 |
"description": "Internal Error", |
| 1190 |
"content": { |
| 1191 |
"application/json": { |
| 1192 |
"schema": { |
| 1193 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1194 |
} |
| 1195 |
}, |
| 1196 |
"application/x-yaml": { |
| 1197 |
"schema": { |
| 1198 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1199 |
} |
| 1200 |
} |
| 1201 |
} |
| 674 |
} |
1202 |
} |
| 675 |
}, |
1203 |
}, |
| 676 |
"parameters": [ |
1204 |
"parameters": [ |
|
Lines 711-716
Link Here
|
| 711 |
}, |
1239 |
}, |
| 712 |
"default": { |
1240 |
"default": { |
| 713 |
"description": "Cluster not found" |
1241 |
"description": "Cluster not found" |
|
|
1242 |
}, |
| 1243 |
"400": { |
| 1244 |
"description": "Invalid Request", |
| 1245 |
"content": { |
| 1246 |
"application/json": { |
| 1247 |
"schema": { |
| 1248 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1249 |
} |
| 1250 |
}, |
| 1251 |
"application/x-yaml": { |
| 1252 |
"schema": { |
| 1253 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1254 |
} |
| 1255 |
} |
| 1256 |
} |
| 1257 |
}, |
| 1258 |
"500": { |
| 1259 |
"description": "Internal Error", |
| 1260 |
"content": { |
| 1261 |
"application/json": { |
| 1262 |
"schema": { |
| 1263 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1264 |
} |
| 1265 |
}, |
| 1266 |
"application/x-yaml": { |
| 1267 |
"schema": { |
| 1268 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1269 |
} |
| 1270 |
} |
| 1271 |
} |
| 714 |
} |
1272 |
} |
| 715 |
}, |
1273 |
}, |
| 716 |
"parameters": [ |
1274 |
"parameters": [ |
|
Lines 752-757
Link Here
|
| 752 |
}, |
1310 |
}, |
| 753 |
"default": { |
1311 |
"default": { |
| 754 |
"description": "Cluster not found" |
1312 |
"description": "Cluster not found" |
|
|
1313 |
}, |
| 1314 |
"400": { |
| 1315 |
"description": "Invalid Request", |
| 1316 |
"content": { |
| 1317 |
"application/json": { |
| 1318 |
"schema": { |
| 1319 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1320 |
} |
| 1321 |
}, |
| 1322 |
"application/x-yaml": { |
| 1323 |
"schema": { |
| 1324 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1325 |
} |
| 1326 |
} |
| 1327 |
} |
| 1328 |
}, |
| 1329 |
"500": { |
| 1330 |
"description": "Internal Error", |
| 1331 |
"content": { |
| 1332 |
"application/json": { |
| 1333 |
"schema": { |
| 1334 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1335 |
} |
| 1336 |
}, |
| 1337 |
"application/x-yaml": { |
| 1338 |
"schema": { |
| 1339 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1340 |
} |
| 1341 |
} |
| 1342 |
} |
| 755 |
} |
1343 |
} |
| 756 |
}, |
1344 |
}, |
| 757 |
"summary": "Get cluster list" |
1345 |
"summary": "Get cluster list" |
|
Lines 779-784
Link Here
|
| 779 |
}, |
1367 |
}, |
| 780 |
"default": { |
1368 |
"default": { |
| 781 |
"description": "Unable to add cluster" |
1369 |
"description": "Unable to add cluster" |
|
|
1370 |
}, |
| 1371 |
"400": { |
| 1372 |
"description": "Invalid Request", |
| 1373 |
"content": { |
| 1374 |
"application/json": { |
| 1375 |
"schema": { |
| 1376 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1377 |
} |
| 1378 |
}, |
| 1379 |
"application/x-yaml": { |
| 1380 |
"schema": { |
| 1381 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1382 |
} |
| 1383 |
} |
| 1384 |
} |
| 1385 |
}, |
| 1386 |
"500": { |
| 1387 |
"description": "Internal Error", |
| 1388 |
"content": { |
| 1389 |
"application/json": { |
| 1390 |
"schema": { |
| 1391 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1392 |
} |
| 1393 |
}, |
| 1394 |
"application/x-yaml": { |
| 1395 |
"schema": { |
| 1396 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1397 |
} |
| 1398 |
} |
| 1399 |
} |
| 782 |
} |
1400 |
} |
| 783 |
}, |
1401 |
}, |
| 784 |
"summary": "Add clusters" |
1402 |
"summary": "Add clusters" |
|
Lines 809-814
Link Here
|
| 809 |
}, |
1427 |
}, |
| 810 |
"default": { |
1428 |
"default": { |
| 811 |
"description": "wckey not found or unable to delete wckey" |
1429 |
"description": "wckey not found or unable to delete wckey" |
|
|
1430 |
}, |
| 1431 |
"400": { |
| 1432 |
"description": "Invalid Request", |
| 1433 |
"content": { |
| 1434 |
"application/json": { |
| 1435 |
"schema": { |
| 1436 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1437 |
} |
| 1438 |
}, |
| 1439 |
"application/x-yaml": { |
| 1440 |
"schema": { |
| 1441 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1442 |
} |
| 1443 |
} |
| 1444 |
} |
| 1445 |
}, |
| 1446 |
"500": { |
| 1447 |
"description": "Internal Error", |
| 1448 |
"content": { |
| 1449 |
"application/json": { |
| 1450 |
"schema": { |
| 1451 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1452 |
} |
| 1453 |
}, |
| 1454 |
"application/x-yaml": { |
| 1455 |
"schema": { |
| 1456 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1457 |
} |
| 1458 |
} |
| 1459 |
} |
| 812 |
} |
1460 |
} |
| 813 |
}, |
1461 |
}, |
| 814 |
"parameters": [ |
1462 |
"parameters": [ |
|
Lines 849-854
Link Here
|
| 849 |
}, |
1497 |
}, |
| 850 |
"default": { |
1498 |
"default": { |
| 851 |
"description": "wckey not found" |
1499 |
"description": "wckey not found" |
|
|
1500 |
}, |
| 1501 |
"400": { |
| 1502 |
"description": "Invalid Request", |
| 1503 |
"content": { |
| 1504 |
"application/json": { |
| 1505 |
"schema": { |
| 1506 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1507 |
} |
| 1508 |
}, |
| 1509 |
"application/x-yaml": { |
| 1510 |
"schema": { |
| 1511 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1512 |
} |
| 1513 |
} |
| 1514 |
} |
| 1515 |
}, |
| 1516 |
"500": { |
| 1517 |
"description": "Internal Error", |
| 1518 |
"content": { |
| 1519 |
"application/json": { |
| 1520 |
"schema": { |
| 1521 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1522 |
} |
| 1523 |
}, |
| 1524 |
"application/x-yaml": { |
| 1525 |
"schema": { |
| 1526 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1527 |
} |
| 1528 |
} |
| 1529 |
} |
| 852 |
} |
1530 |
} |
| 853 |
}, |
1531 |
}, |
| 854 |
"parameters": [ |
1532 |
"parameters": [ |
|
Lines 862-879
Link Here
|
| 862 |
"schema": { |
1540 |
"schema": { |
| 863 |
"type": "string" |
1541 |
"type": "string" |
| 864 |
} |
1542 |
} |
| 865 |
} |
1543 |
} |
| 866 |
] |
1544 |
] |
| 867 |
} |
1545 |
} |
| 868 |
}, |
1546 |
}, |
| 869 |
"/wckeys/": { |
1547 |
"/wckeys/": { |
| 870 |
"get": { |
1548 |
"get": { |
| 871 |
"tags": [ |
1549 |
"tags": [ |
| 872 |
"slurm" |
1550 |
"slurm" |
| 873 |
], |
1551 |
], |
| 874 |
"operationId": "slurmdbd_get_wckeys", |
1552 |
"operationId": "slurmdbd_get_wckeys", |
| 875 |
"responses": { |
1553 |
"responses": { |
| 876 |
"200": { |
1554 |
"200": { |
|
|
1555 |
"content": { |
| 1556 |
"application/json": { |
| 1557 |
"schema": { |
| 1558 |
"$ref": "#/components/schemas/dbv0.0.37_wckey_info" |
| 1559 |
} |
| 1560 |
}, |
| 1561 |
"application/x-yaml": { |
| 1562 |
"schema": { |
| 1563 |
"$ref": "#/components/schemas/dbv0.0.37_wckey_info" |
| 1564 |
} |
| 1565 |
} |
| 1566 |
}, |
| 1567 |
"description": "List of wckeys" |
| 1568 |
}, |
| 1569 |
"default": { |
| 1570 |
"description": "wckey not found" |
| 1571 |
}, |
| 1572 |
"400": { |
| 1573 |
"description": "Invalid Request", |
| 1574 |
"content": { |
| 1575 |
"application/json": { |
| 1576 |
"schema": { |
| 1577 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1578 |
} |
| 1579 |
}, |
| 1580 |
"application/x-yaml": { |
| 1581 |
"schema": { |
| 1582 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1583 |
} |
| 1584 |
} |
| 1585 |
} |
| 1586 |
}, |
| 1587 |
"500": { |
| 1588 |
"description": "List of wckeys", |
| 877 |
"content": { |
1589 |
"content": { |
| 878 |
"application/json": { |
1590 |
"application/json": { |
| 879 |
"schema": { |
1591 |
"schema": { |
|
Lines 885-895
Link Here
|
| 885 |
"$ref": "#/components/schemas/dbv0.0.37_wckey_info" |
1597 |
"$ref": "#/components/schemas/dbv0.0.37_wckey_info" |
| 886 |
} |
1598 |
} |
| 887 |
} |
1599 |
} |
| 888 |
}, |
1600 |
} |
| 889 |
"description": "List of wckeys" |
|
|
| 890 |
}, |
| 891 |
"default": { |
| 892 |
"description": "wckey not found" |
| 893 |
} |
1601 |
} |
| 894 |
}, |
1602 |
}, |
| 895 |
"summary": "Get wckey list" |
1603 |
"summary": "Get wckey list" |
|
Lines 917-922
Link Here
|
| 917 |
}, |
1625 |
}, |
| 918 |
"default": { |
1626 |
"default": { |
| 919 |
"description": "Unable to add wckey" |
1627 |
"description": "Unable to add wckey" |
|
|
1628 |
}, |
| 1629 |
"400": { |
| 1630 |
"description": "Invalid Request", |
| 1631 |
"content": { |
| 1632 |
"application/json": { |
| 1633 |
"schema": { |
| 1634 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1635 |
} |
| 1636 |
}, |
| 1637 |
"application/x-yaml": { |
| 1638 |
"schema": { |
| 1639 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1640 |
} |
| 1641 |
} |
| 1642 |
} |
| 1643 |
}, |
| 1644 |
"500": { |
| 1645 |
"description": "Internal Error", |
| 1646 |
"content": { |
| 1647 |
"application/json": { |
| 1648 |
"schema": { |
| 1649 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1650 |
} |
| 1651 |
}, |
| 1652 |
"application/x-yaml": { |
| 1653 |
"schema": { |
| 1654 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1655 |
} |
| 1656 |
} |
| 1657 |
} |
| 920 |
} |
1658 |
} |
| 921 |
}, |
1659 |
}, |
| 922 |
"summary": "Add wckeys" |
1660 |
"summary": "Add wckeys" |
|
Lines 947-952
Link Here
|
| 947 |
}, |
1685 |
}, |
| 948 |
"default": { |
1686 |
"default": { |
| 949 |
"description": "Unable to delete account" |
1687 |
"description": "Unable to delete account" |
|
|
1688 |
}, |
| 1689 |
"400": { |
| 1690 |
"description": "Invalid Request", |
| 1691 |
"content": { |
| 1692 |
"application/json": { |
| 1693 |
"schema": { |
| 1694 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1695 |
} |
| 1696 |
}, |
| 1697 |
"application/x-yaml": { |
| 1698 |
"schema": { |
| 1699 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1700 |
} |
| 1701 |
} |
| 1702 |
} |
| 1703 |
}, |
| 1704 |
"500": { |
| 1705 |
"description": "Internal Error", |
| 1706 |
"content": { |
| 1707 |
"application/json": { |
| 1708 |
"schema": { |
| 1709 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1710 |
} |
| 1711 |
}, |
| 1712 |
"application/x-yaml": { |
| 1713 |
"schema": { |
| 1714 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1715 |
} |
| 1716 |
} |
| 1717 |
} |
| 950 |
} |
1718 |
} |
| 951 |
}, |
1719 |
}, |
| 952 |
"parameters": [ |
1720 |
"parameters": [ |
|
Lines 987-992
Link Here
|
| 987 |
}, |
1755 |
}, |
| 988 |
"default": { |
1756 |
"default": { |
| 989 |
"description": "Account not found" |
1757 |
"description": "Account not found" |
|
|
1758 |
}, |
| 1759 |
"400": { |
| 1760 |
"description": "Invalid Request", |
| 1761 |
"content": { |
| 1762 |
"application/json": { |
| 1763 |
"schema": { |
| 1764 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1765 |
} |
| 1766 |
}, |
| 1767 |
"application/x-yaml": { |
| 1768 |
"schema": { |
| 1769 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1770 |
} |
| 1771 |
} |
| 1772 |
} |
| 1773 |
}, |
| 1774 |
"500": { |
| 1775 |
"description": "Internal Error", |
| 1776 |
"content": { |
| 1777 |
"application/json": { |
| 1778 |
"schema": { |
| 1779 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1780 |
} |
| 1781 |
}, |
| 1782 |
"application/x-yaml": { |
| 1783 |
"schema": { |
| 1784 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1785 |
} |
| 1786 |
} |
| 1787 |
} |
| 990 |
} |
1788 |
} |
| 991 |
}, |
1789 |
}, |
| 992 |
"parameters": [ |
1790 |
"parameters": [ |
|
Lines 1028-1033
Link Here
|
| 1028 |
}, |
1826 |
}, |
| 1029 |
"default": { |
1827 |
"default": { |
| 1030 |
"description": "Account not found" |
1828 |
"description": "Account not found" |
|
|
1829 |
}, |
| 1830 |
"400": { |
| 1831 |
"description": "Invalid Request", |
| 1832 |
"content": { |
| 1833 |
"application/json": { |
| 1834 |
"schema": { |
| 1835 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1836 |
} |
| 1837 |
}, |
| 1838 |
"application/x-yaml": { |
| 1839 |
"schema": { |
| 1840 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1841 |
} |
| 1842 |
} |
| 1843 |
} |
| 1844 |
}, |
| 1845 |
"500": { |
| 1846 |
"description": "Internal Error", |
| 1847 |
"content": { |
| 1848 |
"application/json": { |
| 1849 |
"schema": { |
| 1850 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1851 |
} |
| 1852 |
}, |
| 1853 |
"application/x-yaml": { |
| 1854 |
"schema": { |
| 1855 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1856 |
} |
| 1857 |
} |
| 1858 |
} |
| 1031 |
} |
1859 |
} |
| 1032 |
}, |
1860 |
}, |
| 1033 |
"summary": "Get account list" |
1861 |
"summary": "Get account list" |
|
Lines 1055-1063
Link Here
|
| 1055 |
}, |
1883 |
}, |
| 1056 |
"default": { |
1884 |
"default": { |
| 1057 |
"description": "Unable to add or update accounts" |
1885 |
"description": "Unable to add or update accounts" |
|
|
1886 |
}, |
| 1887 |
"400": { |
| 1888 |
"description": "Invalid Request", |
| 1889 |
"content": { |
| 1890 |
"application/json": { |
| 1891 |
"schema": { |
| 1892 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1893 |
} |
| 1894 |
}, |
| 1895 |
"application/x-yaml": { |
| 1896 |
"schema": { |
| 1897 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1898 |
} |
| 1899 |
} |
| 1900 |
} |
| 1901 |
}, |
| 1902 |
"500": { |
| 1903 |
"description": "Internal Error", |
| 1904 |
"content": { |
| 1905 |
"application/json": { |
| 1906 |
"schema": { |
| 1907 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1908 |
} |
| 1909 |
}, |
| 1910 |
"application/x-yaml": { |
| 1911 |
"schema": { |
| 1912 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 1913 |
} |
| 1914 |
} |
| 1915 |
} |
| 1058 |
} |
1916 |
} |
| 1059 |
}, |
1917 |
}, |
| 1060 |
"summary": "Update accounts" |
1918 |
"summary": "Update accounts", |
|
|
1919 |
"requestBody": { |
| 1920 |
"description": "update/create accounts", |
| 1921 |
"content": { |
| 1922 |
"application/json": { |
| 1923 |
"schema": { |
| 1924 |
"$ref": "#/components/schemas/dbv0.0.37_update_account" |
| 1925 |
} |
| 1926 |
}, |
| 1927 |
"application/x-yaml": { |
| 1928 |
"schema": { |
| 1929 |
"$ref": "#/components/schemas/dbv0.0.37_update_account" |
| 1930 |
} |
| 1931 |
} |
| 1932 |
}, |
| 1933 |
"required": true |
| 1934 |
} |
| 1061 |
} |
1935 |
} |
| 1062 |
}, |
1936 |
}, |
| 1063 |
"/jobs/": { |
1937 |
"/jobs/": { |
|
Lines 1361-1366
Link Here
|
| 1361 |
}, |
2235 |
}, |
| 1362 |
"default": { |
2236 |
"default": { |
| 1363 |
"description": "Unable to query jobs" |
2237 |
"description": "Unable to query jobs" |
|
|
2238 |
}, |
| 2239 |
"400": { |
| 2240 |
"description": "Invalid Request", |
| 2241 |
"content": { |
| 2242 |
"application/json": { |
| 2243 |
"schema": { |
| 2244 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2245 |
} |
| 2246 |
}, |
| 2247 |
"application/x-yaml": { |
| 2248 |
"schema": { |
| 2249 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2250 |
} |
| 2251 |
} |
| 2252 |
} |
| 2253 |
}, |
| 2254 |
"500": { |
| 2255 |
"description": "Internal Error", |
| 2256 |
"content": { |
| 2257 |
"application/json": { |
| 2258 |
"schema": { |
| 2259 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2260 |
} |
| 2261 |
}, |
| 2262 |
"application/x-yaml": { |
| 2263 |
"schema": { |
| 2264 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2265 |
} |
| 2266 |
} |
| 2267 |
} |
| 1364 |
} |
2268 |
} |
| 1365 |
}, |
2269 |
}, |
| 1366 |
"summary": "Get job list" |
2270 |
"summary": "Get job list" |
|
Lines 1390-1395
Link Here
|
| 1390 |
}, |
2294 |
}, |
| 1391 |
"default": { |
2295 |
"default": { |
| 1392 |
"description": "Unable to query diagnostics" |
2296 |
"description": "Unable to query diagnostics" |
|
|
2297 |
}, |
| 2298 |
"400": { |
| 2299 |
"description": "Invalid Request", |
| 2300 |
"content": { |
| 2301 |
"application/json": { |
| 2302 |
"schema": { |
| 2303 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2304 |
} |
| 2305 |
}, |
| 2306 |
"application/x-yaml": { |
| 2307 |
"schema": { |
| 2308 |
"$ref": "#/components/schemas/dbv0.0.37_errors" |
| 2309 |
} |
| 2310 |
} |
| 2311 |
} |
| 2312 |
}, |
| 2313 |
"500": { |
| 2314 |
"description": "Dictionary of statistics", |
| 2315 |
"content": { |
| 2316 |
"application/json": { |
| 2317 |
"schema": { |
| 2318 |
"$ref": "#/components/schemas/dbv0.0.37_diag" |
| 2319 |
} |
| 2320 |
}, |
| 2321 |
"application/x-yaml": { |
| 2322 |
"schema": { |
| 2323 |
"$ref": "#/components/schemas/dbv0.0.37_diag" |
| 2324 |
} |
| 2325 |
} |
| 2326 |
} |
| 1393 |
} |
2327 |
} |
| 1394 |
}, |
2328 |
}, |
| 1395 |
"summary": "Get slurmdb diagnostics" |
2329 |
"summary": "Get slurmdb diagnostics" |
|
Lines 1493-1594
Link Here
|
| 1493 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
2427 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 1494 |
} |
2428 |
} |
| 1495 |
}, |
2429 |
}, |
| 1496 |
"time_start": { |
2430 |
"meta": { |
| 1497 |
"type": "integer", |
2431 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1498 |
"description": "Unix timestamp of start time" |
|
|
| 1499 |
}, |
2432 |
}, |
| 1500 |
"rollups": { |
2433 |
"statistics": { |
| 1501 |
"type": "array", |
2434 |
"type": "object", |
| 1502 |
"items": { |
2435 |
"properties": { |
| 1503 |
"type": "object", |
2436 |
"users": { |
| 1504 |
"description": "Rollup statistics", |
2437 |
"type": "array", |
| 1505 |
"properties": { |
2438 |
"items": { |
| 1506 |
"type": { |
|
|
| 1507 |
"type": "string", |
| 1508 |
"description": "Type of rollup" |
| 1509 |
}, |
| 1510 |
"last_run": { |
| 1511 |
"type": "integer", |
| 1512 |
"description": "Timestamp of last rollup" |
| 1513 |
}, |
| 1514 |
"last_cycle": { |
| 1515 |
"type": "integer", |
| 1516 |
"description": "Timestamp of last cycle" |
| 1517 |
}, |
| 1518 |
"max_cycle": { |
| 1519 |
"type": "integer", |
| 1520 |
"description": "Max time of all cycles" |
| 1521 |
}, |
| 1522 |
"total_time": { |
| 1523 |
"type": "integer", |
| 1524 |
"description": "Total time (s) spent doing rollup" |
| 1525 |
}, |
| 1526 |
"mean_cycles": { |
| 1527 |
"type": "integer", |
| 1528 |
"description": "Average time (s) of cycle" |
| 1529 |
} |
| 1530 |
} |
| 1531 |
} |
| 1532 |
}, |
| 1533 |
"RPCs": { |
| 1534 |
"type": "array", |
| 1535 |
"items": { |
| 1536 |
"type": "object", |
| 1537 |
"description": "Statistics by RPC type", |
| 1538 |
"properties": { |
| 1539 |
"rpc": { |
| 1540 |
"type": "string", |
| 1541 |
"description": "RPC type" |
| 1542 |
}, |
| 1543 |
"count": { |
| 1544 |
"type": "integer", |
| 1545 |
"description": "Number of RPCs" |
| 1546 |
}, |
| 1547 |
"time": { |
| 1548 |
"type": "object", |
2439 |
"type": "object", |
| 1549 |
"description": "Time values", |
2440 |
"description": "Statistics by user RPCs", |
| 1550 |
"properties": { |
2441 |
"properties": { |
| 1551 |
"average": { |
2442 |
"user": { |
|
|
2443 |
"type": "string", |
| 2444 |
"description": "User name" |
| 2445 |
}, |
| 2446 |
"count": { |
| 1552 |
"type": "integer", |
2447 |
"type": "integer", |
| 1553 |
"description": "Average time spent processing this RPC type" |
2448 |
"description": "Number of RPCs" |
|
|
2449 |
}, |
| 2450 |
"time": { |
| 2451 |
"type": "object", |
| 2452 |
"description": "Time values", |
| 2453 |
"properties": { |
| 2454 |
"average": { |
| 2455 |
"type": "integer", |
| 2456 |
"description": "Average time spent processing each user RPC" |
| 2457 |
}, |
| 2458 |
"total": { |
| 2459 |
"type": "integer", |
| 2460 |
"description": "Total time spent processing each user RPC" |
| 2461 |
} |
| 2462 |
} |
| 2463 |
} |
| 2464 |
} |
| 2465 |
} |
| 2466 |
}, |
| 2467 |
"RPCs": { |
| 2468 |
"type": "array", |
| 2469 |
"items": { |
| 2470 |
"type": "object", |
| 2471 |
"description": "Statistics by RPC type", |
| 2472 |
"properties": { |
| 2473 |
"rpc": { |
| 2474 |
"type": "string", |
| 2475 |
"description": "RPC type" |
| 1554 |
}, |
2476 |
}, |
| 1555 |
"total": { |
2477 |
"count": { |
| 1556 |
"type": "integer", |
2478 |
"type": "integer", |
| 1557 |
"description": "Total time spent processing this RPC type" |
2479 |
"description": "Number of RPCs" |
|
|
2480 |
}, |
| 2481 |
"time": { |
| 2482 |
"type": "object", |
| 2483 |
"description": "Time values", |
| 2484 |
"properties": { |
| 2485 |
"average": { |
| 2486 |
"type": "integer", |
| 2487 |
"description": "Average time spent processing this RPC type" |
| 2488 |
}, |
| 2489 |
"total": { |
| 2490 |
"type": "integer", |
| 2491 |
"description": "Total time spent processing this RPC type" |
| 2492 |
} |
| 2493 |
} |
| 1558 |
} |
2494 |
} |
| 1559 |
} |
2495 |
} |
| 1560 |
} |
2496 |
} |
| 1561 |
} |
2497 |
}, |
| 1562 |
} |
2498 |
"rollups": { |
| 1563 |
}, |
2499 |
"type": "array", |
| 1564 |
"users": { |
2500 |
"items": { |
| 1565 |
"type": "array", |
|
|
| 1566 |
"items": { |
| 1567 |
"type": "object", |
| 1568 |
"description": "Statistics by user RPCs", |
| 1569 |
"properties": { |
| 1570 |
"user": { |
| 1571 |
"type": "string", |
| 1572 |
"description": "User name" |
| 1573 |
}, |
| 1574 |
"count": { |
| 1575 |
"type": "integer", |
| 1576 |
"description": "Number of RPCs" |
| 1577 |
}, |
| 1578 |
"time": { |
| 1579 |
"type": "object", |
2501 |
"type": "object", |
| 1580 |
"description": "Time values", |
2502 |
"description": "Rollup statistics", |
| 1581 |
"properties": { |
2503 |
"properties": { |
| 1582 |
"average": { |
2504 |
"type": { |
|
|
2505 |
"type": "string", |
| 2506 |
"description": "Type of rollup" |
| 2507 |
}, |
| 2508 |
"last_run": { |
| 2509 |
"type": "integer", |
| 2510 |
"description": "Timestamp of last rollup" |
| 2511 |
}, |
| 2512 |
"last_cycle": { |
| 2513 |
"type": "integer", |
| 2514 |
"description": "Timestamp of last cycle" |
| 2515 |
}, |
| 2516 |
"max_cycle": { |
| 2517 |
"type": "integer", |
| 2518 |
"description": "Max time of all cycles" |
| 2519 |
}, |
| 2520 |
"total_time": { |
| 2521 |
"type": "integer", |
| 2522 |
"description": "Total time (s) spent doing rollup" |
| 2523 |
}, |
| 2524 |
"mean_cycles": { |
| 1583 |
"type": "integer", |
2525 |
"type": "integer", |
| 1584 |
"description": "Average time spent processing each user RPC" |
2526 |
"description": "Average time (s) of cycle" |
| 1585 |
}, |
2527 |
}, |
| 1586 |
"total": { |
2528 |
"total_cycles": { |
| 1587 |
"type": "integer", |
2529 |
"type": "integer", |
| 1588 |
"description": "Total time spent processing each user RPC" |
2530 |
"description": "magic value" |
| 1589 |
} |
2531 |
} |
| 1590 |
} |
2532 |
} |
| 1591 |
} |
2533 |
} |
|
|
2534 |
}, |
| 2535 |
"time_start": { |
| 2536 |
"type": "integer", |
| 2537 |
"description": "Unix timestamp of start time" |
| 1592 |
} |
2538 |
} |
| 1593 |
} |
2539 |
} |
| 1594 |
} |
2540 |
} |
|
Lines 1650-1655
Link Here
|
| 1650 |
"items": { |
2596 |
"items": { |
| 1651 |
"$ref": "#/components/schemas/dbv0.0.37_account" |
2597 |
"$ref": "#/components/schemas/dbv0.0.37_account" |
| 1652 |
} |
2598 |
} |
|
|
2599 |
}, |
| 2600 |
"meta": { |
| 2601 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1653 |
} |
2602 |
} |
| 1654 |
} |
2603 |
} |
| 1655 |
}, |
2604 |
}, |
|
Lines 1696-1701
Link Here
|
| 1696 |
"items": { |
2645 |
"items": { |
| 1697 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
2646 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 1698 |
} |
2647 |
} |
|
|
2648 |
}, |
| 2649 |
"meta": { |
| 2650 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 2651 |
}, |
| 2652 |
"removed_associations": { |
| 2653 |
"type": "array", |
| 2654 |
"description": "the associations", |
| 2655 |
"items": { |
| 2656 |
"type": "string" |
| 2657 |
} |
| 1699 |
} |
2658 |
} |
| 1700 |
} |
2659 |
} |
| 1701 |
}, |
2660 |
}, |
|
Lines 1727-1732
Link Here
|
| 1727 |
"items": { |
2686 |
"items": { |
| 1728 |
"$ref": "#/components/schemas/dbv0.0.37_wckey" |
2687 |
"$ref": "#/components/schemas/dbv0.0.37_wckey" |
| 1729 |
} |
2688 |
} |
|
|
2689 |
}, |
| 2690 |
"meta": { |
| 2691 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1730 |
} |
2692 |
} |
| 1731 |
} |
2693 |
} |
| 1732 |
}, |
2694 |
}, |
|
Lines 1792-1852
Link Here
|
| 1792 |
} |
2754 |
} |
| 1793 |
}, |
2755 |
}, |
| 1794 |
"dbv0.0.37_cluster_info": { |
2756 |
"dbv0.0.37_cluster_info": { |
| 1795 |
"type": "object", |
2757 |
"type": "object", |
| 1796 |
"properties": { |
2758 |
"properties": { |
| 1797 |
"controller": { |
2759 |
"errors": { |
| 1798 |
"type": "object", |
|
|
| 1799 |
"description": "Information about controller", |
| 1800 |
"properties": { |
| 1801 |
"host": { |
| 1802 |
"type": "string", |
| 1803 |
"description": "Hostname" |
| 1804 |
}, |
| 1805 |
"port": { |
| 1806 |
"type": "integer", |
| 1807 |
"description": "Port number" |
| 1808 |
} |
| 1809 |
} |
| 1810 |
}, |
| 1811 |
"flags": { |
| 1812 |
"type": "array", |
2760 |
"type": "array", |
| 1813 |
"description": "List of properties of cluster", |
2761 |
"description": "Slurm errors", |
| 1814 |
"items": { |
2762 |
"items": { |
| 1815 |
"type": "string", |
2763 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 1816 |
"description": "String of property name" |
|
|
| 1817 |
} |
| 1818 |
}, |
| 1819 |
"name": { |
| 1820 |
"type": "string", |
| 1821 |
"description": "Cluster name" |
| 1822 |
}, |
| 1823 |
"nodes": { |
| 1824 |
"type": "string", |
| 1825 |
"description": "Assigned nodes" |
| 1826 |
}, |
| 1827 |
"select_plugin": { |
| 1828 |
"type": "string", |
| 1829 |
"description": "Configured select plugin" |
| 1830 |
}, |
| 1831 |
"associations": { |
| 1832 |
"type": "object", |
| 1833 |
"description": "Information about associations", |
| 1834 |
"properties": { |
| 1835 |
"root": { |
| 1836 |
"$ref": "#/components/schemas/dbv0.0.37_association_short_info" |
| 1837 |
} |
| 1838 |
} |
2764 |
} |
| 1839 |
}, |
2765 |
}, |
| 1840 |
"rpc_version": { |
2766 |
"clusters": { |
| 1841 |
"type": "integer", |
|
|
| 1842 |
"description": "Number rpc version" |
| 1843 |
}, |
| 1844 |
"tres": { |
| 1845 |
"type": "array", |
2767 |
"type": "array", |
| 1846 |
"description": "List of TRES in cluster", |
|
|
| 1847 |
"items": { |
2768 |
"items": { |
| 1848 |
"$ref": "#/components/schemas/dbv0.0.37_response_tres" |
2769 |
"$ref": "#/components/schemas/dbv0.0.37_cluster" |
| 1849 |
} |
2770 |
} |
|
|
2771 |
}, |
| 2772 |
"meta": { |
| 2773 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1850 |
} |
2774 |
} |
| 1851 |
} |
2775 |
} |
| 1852 |
}, |
2776 |
}, |
|
Lines 1871-1876
Link Here
|
| 1871 |
"items": { |
2795 |
"items": { |
| 1872 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
2796 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 1873 |
} |
2797 |
} |
|
|
2798 |
}, |
| 2799 |
"meta": { |
| 2800 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1874 |
} |
2801 |
} |
| 1875 |
} |
2802 |
} |
| 1876 |
}, |
2803 |
}, |
|
Lines 1883-1894
Link Here
|
| 1883 |
"description": "Description of administrator level" |
2810 |
"description": "Description of administrator level" |
| 1884 |
}, |
2811 |
}, |
| 1885 |
"associations": { |
2812 |
"associations": { |
| 1886 |
"type": "object", |
2813 |
"type": "array", |
| 1887 |
"description": "Assigned associations", |
2814 |
"description": "the associations", |
| 1888 |
"properties": { |
2815 |
"items": { |
| 1889 |
"root": { |
2816 |
"$ref": "#/components/schemas/dbv0.0.37_association_short_info" |
| 1890 |
"$ref": "#/components/schemas/dbv0.0.37_association_short_info" |
|
|
| 1891 |
} |
| 1892 |
} |
2817 |
} |
| 1893 |
}, |
2818 |
}, |
| 1894 |
"coordinators": { |
2819 |
"coordinators": { |
|
Lines 1934-1939
Link Here
|
| 1934 |
"items": { |
2859 |
"items": { |
| 1935 |
"$ref": "#/components/schemas/dbv0.0.37_user" |
2860 |
"$ref": "#/components/schemas/dbv0.0.37_user" |
| 1936 |
} |
2861 |
} |
|
|
2862 |
}, |
| 2863 |
"meta": { |
| 2864 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 1937 |
} |
2865 |
} |
| 1938 |
} |
2866 |
} |
| 1939 |
}, |
2867 |
}, |
|
Lines 2006-2011
Link Here
|
| 2006 |
"wall_clock": { |
2934 |
"wall_clock": { |
| 2007 |
"type": "integer", |
2935 |
"type": "integer", |
| 2008 |
"description": "Max wallclock per job" |
2936 |
"description": "Max wallclock per job" |
|
|
2937 |
}, |
| 2938 |
"accruing": { |
| 2939 |
"type": "string" |
| 2940 |
}, |
| 2941 |
"count": { |
| 2942 |
"type": "integer" |
| 2943 |
}, |
| 2944 |
"submitted": { |
| 2945 |
"type": "string" |
| 2009 |
} |
2946 |
} |
| 2010 |
} |
2947 |
} |
| 2011 |
} |
2948 |
} |
|
Lines 2103-2152
Link Here
|
| 2103 |
"description": "Raw fairshare shares" |
3040 |
"description": "Raw fairshare shares" |
| 2104 |
}, |
3041 |
}, |
| 2105 |
"usage": { |
3042 |
"usage": { |
| 2106 |
"type": "object", |
3043 |
"oneOf": [ |
| 2107 |
"description": "Association usage", |
3044 |
{ |
| 2108 |
"properties": { |
3045 |
"type": "object", |
| 2109 |
"accrue_job_count": { |
3046 |
"description": "Association usage", |
| 2110 |
"type": "integer", |
3047 |
"properties": { |
| 2111 |
"description": "Jobs accuring priority" |
3048 |
"accrue_job_count": { |
| 2112 |
}, |
3049 |
"type": "integer", |
| 2113 |
"group_used_wallclock": { |
3050 |
"description": "Jobs accuring priority" |
| 2114 |
"type": "number", |
3051 |
}, |
| 2115 |
"description": "Group used wallclock time (s)" |
3052 |
"group_used_wallclock": { |
| 2116 |
}, |
3053 |
"type": "number", |
| 2117 |
"fairshare_factor": { |
3054 |
"description": "Group used wallclock time (s)" |
| 2118 |
"type": "number", |
3055 |
}, |
| 2119 |
"description": "Fairshare factor" |
3056 |
"fairshare_factor": { |
| 2120 |
}, |
3057 |
"type": "number", |
| 2121 |
"fairshare_shares": { |
3058 |
"description": "Fairshare factor" |
| 2122 |
"type": "integer", |
3059 |
}, |
| 2123 |
"description": "Fairshare shares" |
3060 |
"fairshare_shares": { |
| 2124 |
}, |
3061 |
"type": "integer", |
| 2125 |
"normalized_priority": { |
3062 |
"description": "Fairshare shares" |
| 2126 |
"type": "integer", |
3063 |
}, |
| 2127 |
"description": "Currently active jobs" |
3064 |
"normalized_priority": { |
| 2128 |
}, |
3065 |
"type": "integer", |
| 2129 |
"normalized_shares": { |
3066 |
"description": "Currently active jobs" |
| 2130 |
"type": "number", |
3067 |
}, |
| 2131 |
"description": "Normalized shares" |
3068 |
"normalized_shares": { |
| 2132 |
}, |
3069 |
"type": "number", |
| 2133 |
"effective_normalized_usage": { |
3070 |
"description": "Normalized shares" |
| 2134 |
"type": "number", |
3071 |
}, |
| 2135 |
"description": "Effective normalized usage" |
3072 |
"effective_normalized_usage": { |
| 2136 |
}, |
3073 |
"type": "number", |
| 2137 |
"raw_usage": { |
3074 |
"description": "Effective normalized usage" |
| 2138 |
"type": "integer", |
3075 |
}, |
| 2139 |
"description": "Raw usage" |
3076 |
"raw_usage": { |
| 2140 |
}, |
3077 |
"type": "integer", |
| 2141 |
"job_count": { |
3078 |
"description": "Raw usage" |
| 2142 |
"type": "integer", |
3079 |
}, |
| 2143 |
"description": "Total jobs submitted" |
3080 |
"job_count": { |
|
|
3081 |
"type": "integer", |
| 3082 |
"description": "Total jobs submitted" |
| 3083 |
}, |
| 3084 |
"fairshare_level": { |
| 3085 |
"type": "number", |
| 3086 |
"description": "Fairshare level" |
| 3087 |
} |
| 3088 |
} |
| 2144 |
}, |
3089 |
}, |
| 2145 |
"fairshare_level": { |
3090 |
{ |
| 2146 |
"type": "number", |
3091 |
"type": "null" |
| 2147 |
"description": "Fairshare level" |
|
|
| 2148 |
} |
3092 |
} |
| 2149 |
} |
3093 |
] |
| 2150 |
}, |
3094 |
}, |
| 2151 |
"user": { |
3095 |
"user": { |
| 2152 |
"type": "string", |
3096 |
"type": "string", |
|
Lines 2170-2175
Link Here
|
| 2170 |
"items": { |
3114 |
"items": { |
| 2171 |
"$ref": "#/components/schemas/dbv0.0.37_association" |
3115 |
"$ref": "#/components/schemas/dbv0.0.37_association" |
| 2172 |
} |
3116 |
} |
|
|
3117 |
}, |
| 3118 |
"meta": { |
| 3119 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 2173 |
} |
3120 |
} |
| 2174 |
} |
3121 |
} |
| 2175 |
}, |
3122 |
}, |
|
Lines 2281-2286
Link Here
|
| 2281 |
}, |
3228 |
}, |
| 2282 |
"user": { |
3229 |
"user": { |
| 2283 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
3230 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
|
|
3231 |
}, |
| 3232 |
"qos": { |
| 3233 |
"$ref": "#/components/schemas/dbv0.0.36_tres_list" |
| 2284 |
} |
3234 |
} |
| 2285 |
} |
3235 |
} |
| 2286 |
} |
3236 |
} |
|
Lines 2303-2310
Link Here
|
| 2303 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
3253 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
| 2304 |
} |
3254 |
} |
| 2305 |
} |
3255 |
} |
|
|
3256 |
}, |
| 3257 |
"total": { |
| 3258 |
"type": "integer" |
| 2306 |
} |
3259 |
} |
| 2307 |
} |
3260 |
} |
|
|
3261 |
}, |
| 3262 |
"active_jobs": { |
| 3263 |
"type": "integer" |
| 2308 |
} |
3264 |
} |
| 2309 |
} |
3265 |
} |
| 2310 |
}, |
3266 |
}, |
|
Lines 2332-2337
Link Here
|
| 2332 |
} |
3288 |
} |
| 2333 |
} |
3289 |
} |
| 2334 |
} |
3290 |
} |
|
|
3291 |
}, |
| 3292 |
"grace_time": { |
| 3293 |
"type": "integer" |
| 2335 |
} |
3294 |
} |
| 2336 |
} |
3295 |
} |
| 2337 |
}, |
3296 |
}, |
|
Lines 2372-2377
Link Here
|
| 2372 |
"usage_threshold": { |
3331 |
"usage_threshold": { |
| 2373 |
"type": "number", |
3332 |
"type": "number", |
| 2374 |
"description": "Usage threshold" |
3333 |
"description": "Usage threshold" |
|
|
3334 |
}, |
| 3335 |
"name": { |
| 3336 |
"type": "string" |
| 2375 |
} |
3337 |
} |
| 2376 |
} |
3338 |
} |
| 2377 |
}, |
3339 |
}, |
|
Lines 2385-2391
Link Here
|
| 2385 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
3347 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 2386 |
} |
3348 |
} |
| 2387 |
}, |
3349 |
}, |
| 2388 |
"qos": { |
3350 |
"meta": { |
|
|
3351 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 3352 |
}, |
| 3353 |
"QOS": { |
| 2389 |
"type": "array", |
3354 |
"type": "array", |
| 2390 |
"description": "Array of QOS", |
3355 |
"description": "Array of QOS", |
| 2391 |
"items": { |
3356 |
"items": { |
|
Lines 2440-2451
Link Here
|
| 2440 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
3405 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 2441 |
} |
3406 |
} |
| 2442 |
}, |
3407 |
}, |
| 2443 |
"tres": { |
3408 |
"meta": { |
| 2444 |
"type": "array", |
3409 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 2445 |
"description": "Array of tres", |
3410 |
}, |
| 2446 |
"items": { |
3411 |
"TRES": { |
| 2447 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
3412 |
"$ref": "#/components/schemas/dbv0.0.36_tres_list" |
| 2448 |
} |
|
|
| 2449 |
} |
3413 |
} |
| 2450 |
} |
3414 |
} |
| 2451 |
}, |
3415 |
}, |
|
Lines 2490-2495
Link Here
|
| 2490 |
"items": { |
3454 |
"items": { |
| 2491 |
"$ref": "#/components/schemas/dbv0.0.37_job" |
3455 |
"$ref": "#/components/schemas/dbv0.0.37_job" |
| 2492 |
} |
3456 |
} |
|
|
3457 |
}, |
| 3458 |
"meta": { |
| 3459 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 2493 |
} |
3460 |
} |
| 2494 |
} |
3461 |
} |
| 2495 |
}, |
3462 |
}, |
|
Lines 2673-2683
Link Here
|
| 2673 |
"description": "Heterogeneous Job details (optional)", |
3640 |
"description": "Heterogeneous Job details (optional)", |
| 2674 |
"properties": { |
3641 |
"properties": { |
| 2675 |
"job_id": { |
3642 |
"job_id": { |
| 2676 |
"type": "object", |
3643 |
"type": "integer", |
| 2677 |
"description": "Parent HetJob id" |
3644 |
"description": "Parent HetJob id" |
| 2678 |
}, |
3645 |
}, |
| 2679 |
"job_offset": { |
3646 |
"job_offset": { |
| 2680 |
"type": "object", |
3647 |
"type": "integer", |
| 2681 |
"description": "Offset of this job to parent" |
3648 |
"description": "Offset of this job to parent" |
| 2682 |
} |
3649 |
} |
| 2683 |
} |
3650 |
} |
|
Lines 3025-3038
Link Here
|
| 3025 |
} |
3992 |
} |
| 3026 |
}, |
3993 |
}, |
| 3027 |
"task": { |
3994 |
"task": { |
| 3028 |
"type": "object", |
3995 |
"type": "string" |
| 3029 |
"description": "Task properties", |
|
|
| 3030 |
"properties": { |
| 3031 |
"distribution": { |
| 3032 |
"type": "string", |
| 3033 |
"description": "Task distribution type" |
| 3034 |
} |
| 3035 |
} |
| 3036 |
}, |
3996 |
}, |
| 3037 |
"tres": { |
3997 |
"tres": { |
| 3038 |
"type": "object", |
3998 |
"type": "object", |
|
Lines 3078-3083
Link Here
|
| 3078 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
4038 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
| 3079 |
} |
4039 |
} |
| 3080 |
} |
4040 |
} |
|
|
4041 |
}, |
| 4042 |
"distribution": { |
| 4043 |
"type": "string" |
| 3081 |
} |
4044 |
} |
| 3082 |
} |
4045 |
} |
| 3083 |
}, |
4046 |
}, |
|
Lines 3091-3103
Link Here
|
| 3091 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
4054 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 3092 |
} |
4055 |
} |
| 3093 |
}, |
4056 |
}, |
| 3094 |
"tres": { |
|
|
| 3095 |
"type": "array", |
| 3096 |
"description": "Array of TRES", |
| 3097 |
"items": { |
| 3098 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
| 3099 |
} |
| 3100 |
}, |
| 3101 |
"accounts": { |
4057 |
"accounts": { |
| 3102 |
"type": "array", |
4058 |
"type": "array", |
| 3103 |
"description": "Array of accounts", |
4059 |
"description": "Array of accounts", |
|
Lines 3119-3136
Link Here
|
| 3119 |
"$ref": "#/components/schemas/dbv0.0.37_user" |
4075 |
"$ref": "#/components/schemas/dbv0.0.37_user" |
| 3120 |
} |
4076 |
} |
| 3121 |
}, |
4077 |
}, |
| 3122 |
"qos": { |
4078 |
"wckeys": { |
| 3123 |
"type": "array", |
4079 |
"type": "array", |
| 3124 |
"description": "Array of qos", |
4080 |
"description": "Array of wckeys", |
| 3125 |
"items": { |
4081 |
"items": { |
| 3126 |
"$ref": "#/components/schemas/dbv0.0.37_qos" |
4082 |
"$ref": "#/components/schemas/dbv0.0.37_wckey" |
| 3127 |
} |
4083 |
} |
| 3128 |
}, |
4084 |
}, |
| 3129 |
"wckeys": { |
4085 |
"meta": { |
|
|
4086 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 4087 |
}, |
| 4088 |
"clusters": { |
| 3130 |
"type": "array", |
4089 |
"type": "array", |
| 3131 |
"description": "Array of wckeys", |
|
|
| 3132 |
"items": { |
4090 |
"items": { |
| 3133 |
"$ref": "#/components/schemas/dbv0.0.37_wckey" |
4091 |
"$ref": "#/components/schemas/dbv0.0.37_cluster" |
|
|
4092 |
} |
| 4093 |
}, |
| 4094 |
"TRES": { |
| 4095 |
"oneOf": [ |
| 4096 |
{ |
| 4097 |
"type": "array", |
| 4098 |
"description": "Array of TRES", |
| 4099 |
"items": { |
| 4100 |
"$ref": "#/components/schemas/dbv0.0.37_tres_list" |
| 4101 |
} |
| 4102 |
}, |
| 4103 |
{ |
| 4104 |
"type": "null" |
| 4105 |
} |
| 4106 |
] |
| 4107 |
}, |
| 4108 |
"QOS": { |
| 4109 |
"type": "array", |
| 4110 |
"description": "Array of qos", |
| 4111 |
"items": { |
| 4112 |
"$ref": "#/components/schemas/dbv0.0.37_qos" |
| 3134 |
} |
4113 |
} |
| 3135 |
} |
4114 |
} |
| 3136 |
} |
4115 |
} |
|
Lines 3144-3149
Link Here
|
| 3144 |
"items": { |
4123 |
"items": { |
| 3145 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
4124 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 3146 |
} |
4125 |
} |
|
|
4126 |
}, |
| 4127 |
"meta": { |
| 4128 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 3147 |
} |
4129 |
} |
| 3148 |
} |
4130 |
} |
| 3149 |
}, |
4131 |
}, |
|
Lines 3168-3177
Link Here
|
| 3168 |
"error": { |
4150 |
"error": { |
| 3169 |
"description": "Error message", |
4151 |
"description": "Error message", |
| 3170 |
"type": "string" |
4152 |
"type": "string" |
|
|
4153 |
}, |
| 4154 |
"error_number": { |
| 4155 |
"type": "integer" |
| 4156 |
}, |
| 4157 |
"source": { |
| 4158 |
"type": "string" |
| 4159 |
}, |
| 4160 |
"error_code": { |
| 4161 |
"type": "integer" |
| 4162 |
}, |
| 4163 |
"description": { |
| 4164 |
"type": "string" |
| 3171 |
} |
4165 |
} |
| 3172 |
}, |
4166 |
}, |
| 3173 |
"type": "object" |
4167 |
"type": "object" |
|
|
4168 |
}, |
| 4169 |
"dbv0.0.37_meta": { |
| 4170 |
"type": "object", |
| 4171 |
"properties": { |
| 4172 |
"plugin": { |
| 4173 |
"type": "object", |
| 4174 |
"properties": { |
| 4175 |
"type": { |
| 4176 |
"type": "string", |
| 4177 |
"description": "" |
| 4178 |
}, |
| 4179 |
"name": { |
| 4180 |
"type": "string", |
| 4181 |
"description": "" |
| 4182 |
} |
| 4183 |
} |
| 4184 |
}, |
| 4185 |
"Slurm": { |
| 4186 |
"type": "object", |
| 4187 |
"description": "Slurm information", |
| 4188 |
"properties": { |
| 4189 |
"version": { |
| 4190 |
"type": "object", |
| 4191 |
"properties": { |
| 4192 |
"major": { |
| 4193 |
"type": "string", |
| 4194 |
"description": "" |
| 4195 |
}, |
| 4196 |
"micro": { |
| 4197 |
"type": "string", |
| 4198 |
"description": "" |
| 4199 |
}, |
| 4200 |
"minor": { |
| 4201 |
"type": "string", |
| 4202 |
"description": "" |
| 4203 |
} |
| 4204 |
} |
| 4205 |
}, |
| 4206 |
"release": { |
| 4207 |
"type": "string", |
| 4208 |
"description": "version specifier" |
| 4209 |
} |
| 4210 |
} |
| 4211 |
} |
| 4212 |
} |
| 4213 |
}, |
| 4214 |
"dbv0.0.37_errors": { |
| 4215 |
"properties": { |
| 4216 |
"meta": { |
| 4217 |
"$ref": "#/components/schemas/dbv0.0.37_meta" |
| 4218 |
}, |
| 4219 |
"errors": { |
| 4220 |
"type": "array", |
| 4221 |
"description": "Slurm errors", |
| 4222 |
"items": { |
| 4223 |
"$ref": "#/components/schemas/dbv0.0.37_error" |
| 4224 |
} |
| 4225 |
} |
| 4226 |
} |
| 4227 |
}, |
| 4228 |
"dbv0.0.37_update_users": { |
| 4229 |
"properties": { |
| 4230 |
"users": { |
| 4231 |
"type": "array", |
| 4232 |
"items": { |
| 4233 |
"$ref": "#/components/schemas/dbv0.0.37_user" |
| 4234 |
} |
| 4235 |
} |
| 4236 |
} |
| 4237 |
}, |
| 4238 |
"dbv0.0.37_update_account": { |
| 4239 |
"properties": { |
| 4240 |
"accounts": { |
| 4241 |
"type": "array", |
| 4242 |
"items": { |
| 4243 |
"$ref": "#/components/schemas/dbv0.0.37_account" |
| 4244 |
} |
| 4245 |
} |
| 4246 |
} |
| 4247 |
}, |
| 4248 |
"dbv0.0.37_cluster": { |
| 4249 |
"type": "object", |
| 4250 |
"properties": { |
| 4251 |
"controller": { |
| 4252 |
"type": "object", |
| 4253 |
"description": "Information about controller", |
| 4254 |
"properties": { |
| 4255 |
"host": { |
| 4256 |
"type": "string", |
| 4257 |
"description": "Hostname" |
| 4258 |
}, |
| 4259 |
"port": { |
| 4260 |
"type": "integer", |
| 4261 |
"description": "Port number" |
| 4262 |
} |
| 4263 |
} |
| 4264 |
}, |
| 4265 |
"flags": { |
| 4266 |
"type": "array", |
| 4267 |
"description": "List of properties of cluster", |
| 4268 |
"items": { |
| 4269 |
"type": "string", |
| 4270 |
"description": "String of property name" |
| 4271 |
} |
| 4272 |
}, |
| 4273 |
"name": { |
| 4274 |
"type": "string", |
| 4275 |
"description": "Cluster name" |
| 4276 |
}, |
| 4277 |
"nodes": { |
| 4278 |
"type": "string", |
| 4279 |
"description": "Assigned nodes" |
| 4280 |
}, |
| 4281 |
"select_plugin": { |
| 4282 |
"type": "string", |
| 4283 |
"description": "Configured select plugin" |
| 4284 |
}, |
| 4285 |
"associations": { |
| 4286 |
"type": "object", |
| 4287 |
"description": "Information about associations", |
| 4288 |
"properties": { |
| 4289 |
"root": { |
| 4290 |
"oneOf": [ |
| 4291 |
{ |
| 4292 |
"$ref": "#/components/schemas/dbv0.0.37_association_short_info" |
| 4293 |
}, |
| 4294 |
{ |
| 4295 |
"type": "null" |
| 4296 |
} |
| 4297 |
] |
| 4298 |
} |
| 4299 |
} |
| 4300 |
}, |
| 4301 |
"rpc_version": { |
| 4302 |
"type": "integer", |
| 4303 |
"description": "Number rpc version" |
| 4304 |
}, |
| 4305 |
"tres": { |
| 4306 |
"$ref": "#/components/schemas/dbv0.0.36_tres_list" |
| 4307 |
} |
| 4308 |
} |
| 3174 |
} |
4309 |
} |
| 3175 |
} |
4310 |
} |
| 3176 |
} |
4311 |
} |
| 3177 |
} |
4312 |
} |