github.com/openshift-online/ocm-sdk-go@v0.1.473/openapi/status_board/v1/openapi.json (about) 1 { 2 "openapi": "3.0.0", 3 "info": { 4 "version": "v1", 5 "title": "status_board", 6 "license": { 7 "name": "Apache 2.0", 8 "url": "http://www.apache.org/licenses/LICENSE-2.0" 9 }, 10 "contact": { 11 "name": "OCM Feedback", 12 "email": "ocm-feedback@redhat.com" 13 } 14 }, 15 "servers": [ 16 { 17 "description": "Production", 18 "url": "https://api.openshift.com" 19 }, 20 { 21 "description": "Stage", 22 "url": "https://api.stage.openshift.com" 23 } 24 ], 25 "paths": { 26 "/api/status_board/v1": { 27 "get": { 28 "description": "Retrieves the version metadata.", 29 "responses": { 30 "200": { 31 "description": "Success.", 32 "content": { 33 "application/json": { 34 "schema": { 35 "$ref": "#/components/schemas/Metadata" 36 } 37 } 38 } 39 }, 40 "default": { 41 "description": "Error.", 42 "content": { 43 "application/json": { 44 "schema": { 45 "$ref": "#/components/schemas/Error" 46 } 47 } 48 } 49 } 50 } 51 } 52 }, 53 "/api/status_board/v1/application_dependencies": { 54 "post": { 55 "requestBody": { 56 "content": { 57 "application/json": { 58 "schema": { 59 "$ref": "#/components/schemas/ApplicationDependency" 60 } 61 } 62 } 63 }, 64 "responses": { 65 "201": { 66 "description": "Success.", 67 "content": { 68 "application/json": { 69 "schema": { 70 "$ref": "#/components/schemas/ApplicationDependency" 71 } 72 } 73 } 74 }, 75 "default": { 76 "description": "Error.", 77 "content": { 78 "application/json": { 79 "schema": { 80 "$ref": "#/components/schemas/Error" 81 } 82 } 83 } 84 } 85 } 86 }, 87 "get": { 88 "description": "Retrieves the list of application dependencies.", 89 "parameters": [ 90 { 91 "name": "order_by", 92 "in": "query", 93 "schema": { 94 "type": "string" 95 } 96 }, 97 { 98 "name": "page", 99 "in": "query", 100 "schema": { 101 "type": "integer", 102 "format": "int32" 103 } 104 }, 105 { 106 "name": "size", 107 "in": "query", 108 "schema": { 109 "type": "integer", 110 "format": "int32" 111 } 112 } 113 ], 114 "responses": { 115 "200": { 116 "description": "Success.", 117 "content": { 118 "application/json": { 119 "schema": { 120 "type": "object", 121 "properties": { 122 "items": { 123 "type": "array", 124 "items": { 125 "$ref": "#/components/schemas/ApplicationDependency" 126 } 127 }, 128 "page": { 129 "type": "integer", 130 "format": "int32" 131 }, 132 "size": { 133 "type": "integer", 134 "format": "int32" 135 }, 136 "total": { 137 "type": "integer", 138 "format": "int32" 139 } 140 } 141 } 142 } 143 } 144 }, 145 "default": { 146 "description": "Error.", 147 "content": { 148 "application/json": { 149 "schema": { 150 "$ref": "#/components/schemas/Error" 151 } 152 } 153 } 154 } 155 } 156 } 157 }, 158 "/api/status_board/v1/application_dependencies/{application_dependency_id}": { 159 "delete": { 160 "parameters": [ 161 { 162 "name": "application_dependency_id", 163 "in": "path", 164 "schema": { 165 "type": "string" 166 }, 167 "required": true 168 } 169 ], 170 "responses": { 171 "204": { 172 "description": "Success." 173 }, 174 "default": { 175 "description": "Error.", 176 "content": { 177 "application/json": { 178 "schema": { 179 "$ref": "#/components/schemas/Error" 180 } 181 } 182 } 183 } 184 } 185 }, 186 "get": { 187 "parameters": [ 188 { 189 "name": "application_dependency_id", 190 "in": "path", 191 "schema": { 192 "type": "string" 193 }, 194 "required": true 195 } 196 ], 197 "responses": { 198 "200": { 199 "description": "Success.", 200 "content": { 201 "application/json": { 202 "schema": { 203 "$ref": "#/components/schemas/ApplicationDependency" 204 } 205 } 206 } 207 }, 208 "default": { 209 "description": "Error.", 210 "content": { 211 "application/json": { 212 "schema": { 213 "$ref": "#/components/schemas/Error" 214 } 215 } 216 } 217 } 218 } 219 }, 220 "patch": { 221 "parameters": [ 222 { 223 "name": "application_dependency_id", 224 "in": "path", 225 "schema": { 226 "type": "string" 227 }, 228 "required": true 229 } 230 ], 231 "requestBody": { 232 "content": { 233 "application/json": { 234 "schema": { 235 "$ref": "#/components/schemas/ApplicationDependency" 236 } 237 } 238 } 239 }, 240 "responses": { 241 "200": { 242 "description": "Success.", 243 "content": { 244 "application/json": { 245 "schema": { 246 "$ref": "#/components/schemas/ApplicationDependency" 247 } 248 } 249 } 250 }, 251 "default": { 252 "description": "Error.", 253 "content": { 254 "application/json": { 255 "schema": { 256 "$ref": "#/components/schemas/Error" 257 } 258 } 259 } 260 } 261 } 262 } 263 }, 264 "/api/status_board/v1/applications": { 265 "post": { 266 "requestBody": { 267 "content": { 268 "application/json": { 269 "schema": { 270 "$ref": "#/components/schemas/Application" 271 } 272 } 273 } 274 }, 275 "responses": { 276 "201": { 277 "description": "Success.", 278 "content": { 279 "application/json": { 280 "schema": { 281 "$ref": "#/components/schemas/Application" 282 } 283 } 284 } 285 }, 286 "default": { 287 "description": "Error.", 288 "content": { 289 "application/json": { 290 "schema": { 291 "$ref": "#/components/schemas/Error" 292 } 293 } 294 } 295 } 296 } 297 }, 298 "get": { 299 "description": "Retrieves the list of applications.", 300 "parameters": [ 301 { 302 "name": "order_by", 303 "in": "query", 304 "schema": { 305 "type": "string" 306 } 307 }, 308 { 309 "name": "page", 310 "in": "query", 311 "schema": { 312 "type": "integer", 313 "format": "int32" 314 } 315 }, 316 { 317 "name": "search", 318 "in": "query", 319 "schema": { 320 "type": "string" 321 } 322 }, 323 { 324 "name": "size", 325 "in": "query", 326 "schema": { 327 "type": "integer", 328 "format": "int32" 329 } 330 } 331 ], 332 "responses": { 333 "200": { 334 "description": "Success.", 335 "content": { 336 "application/json": { 337 "schema": { 338 "type": "object", 339 "properties": { 340 "items": { 341 "type": "array", 342 "items": { 343 "$ref": "#/components/schemas/Application" 344 } 345 }, 346 "page": { 347 "type": "integer", 348 "format": "int32" 349 }, 350 "size": { 351 "type": "integer", 352 "format": "int32" 353 }, 354 "total": { 355 "type": "integer", 356 "format": "int32" 357 } 358 } 359 } 360 } 361 } 362 }, 363 "default": { 364 "description": "Error.", 365 "content": { 366 "application/json": { 367 "schema": { 368 "$ref": "#/components/schemas/Error" 369 } 370 } 371 } 372 } 373 } 374 } 375 }, 376 "/api/status_board/v1/applications/{application_id}": { 377 "delete": { 378 "parameters": [ 379 { 380 "name": "application_id", 381 "in": "path", 382 "schema": { 383 "type": "string" 384 }, 385 "required": true 386 } 387 ], 388 "responses": { 389 "204": { 390 "description": "Success." 391 }, 392 "default": { 393 "description": "Error.", 394 "content": { 395 "application/json": { 396 "schema": { 397 "$ref": "#/components/schemas/Error" 398 } 399 } 400 } 401 } 402 } 403 }, 404 "get": { 405 "parameters": [ 406 { 407 "name": "application_id", 408 "in": "path", 409 "schema": { 410 "type": "string" 411 }, 412 "required": true 413 } 414 ], 415 "responses": { 416 "200": { 417 "description": "Success.", 418 "content": { 419 "application/json": { 420 "schema": { 421 "$ref": "#/components/schemas/Application" 422 } 423 } 424 } 425 }, 426 "default": { 427 "description": "Error.", 428 "content": { 429 "application/json": { 430 "schema": { 431 "$ref": "#/components/schemas/Error" 432 } 433 } 434 } 435 } 436 } 437 }, 438 "patch": { 439 "parameters": [ 440 { 441 "name": "application_id", 442 "in": "path", 443 "schema": { 444 "type": "string" 445 }, 446 "required": true 447 } 448 ], 449 "requestBody": { 450 "content": { 451 "application/json": { 452 "schema": { 453 "$ref": "#/components/schemas/Application" 454 } 455 } 456 } 457 }, 458 "responses": { 459 "200": { 460 "description": "Success.", 461 "content": { 462 "application/json": { 463 "schema": { 464 "$ref": "#/components/schemas/Application" 465 } 466 } 467 } 468 }, 469 "default": { 470 "description": "Error.", 471 "content": { 472 "application/json": { 473 "schema": { 474 "$ref": "#/components/schemas/Error" 475 } 476 } 477 } 478 } 479 } 480 } 481 }, 482 "/api/status_board/v1/applications/{application_id}/services": { 483 "post": { 484 "parameters": [ 485 { 486 "name": "application_id", 487 "in": "path", 488 "schema": { 489 "type": "string" 490 }, 491 "required": true 492 } 493 ], 494 "requestBody": { 495 "content": { 496 "application/json": { 497 "schema": { 498 "$ref": "#/components/schemas/Service" 499 } 500 } 501 } 502 }, 503 "responses": { 504 "201": { 505 "description": "Success.", 506 "content": { 507 "application/json": { 508 "schema": { 509 "$ref": "#/components/schemas/Service" 510 } 511 } 512 } 513 }, 514 "default": { 515 "description": "Error.", 516 "content": { 517 "application/json": { 518 "schema": { 519 "$ref": "#/components/schemas/Error" 520 } 521 } 522 } 523 } 524 } 525 }, 526 "get": { 527 "description": "Retrieves the list of services.", 528 "parameters": [ 529 { 530 "name": "application_id", 531 "in": "path", 532 "schema": { 533 "type": "string" 534 }, 535 "required": true 536 }, 537 { 538 "name": "mine", 539 "in": "query", 540 "schema": { 541 "type": "boolean" 542 } 543 }, 544 { 545 "name": "order_by", 546 "in": "query", 547 "schema": { 548 "type": "string" 549 } 550 }, 551 { 552 "name": "page", 553 "in": "query", 554 "schema": { 555 "type": "integer", 556 "format": "int32" 557 } 558 }, 559 { 560 "name": "search", 561 "in": "query", 562 "schema": { 563 "type": "string" 564 } 565 }, 566 { 567 "name": "size", 568 "in": "query", 569 "schema": { 570 "type": "integer", 571 "format": "int32" 572 } 573 } 574 ], 575 "responses": { 576 "200": { 577 "description": "Success.", 578 "content": { 579 "application/json": { 580 "schema": { 581 "type": "object", 582 "properties": { 583 "items": { 584 "type": "array", 585 "items": { 586 "$ref": "#/components/schemas/Service" 587 } 588 }, 589 "page": { 590 "type": "integer", 591 "format": "int32" 592 }, 593 "size": { 594 "type": "integer", 595 "format": "int32" 596 }, 597 "total": { 598 "type": "integer", 599 "format": "int32" 600 } 601 } 602 } 603 } 604 } 605 }, 606 "default": { 607 "description": "Error.", 608 "content": { 609 "application/json": { 610 "schema": { 611 "$ref": "#/components/schemas/Error" 612 } 613 } 614 } 615 } 616 } 617 } 618 }, 619 "/api/status_board/v1/applications/{application_id}/services/{service_id}": { 620 "delete": { 621 "parameters": [ 622 { 623 "name": "application_id", 624 "in": "path", 625 "schema": { 626 "type": "string" 627 }, 628 "required": true 629 }, 630 { 631 "name": "service_id", 632 "in": "path", 633 "schema": { 634 "type": "string" 635 }, 636 "required": true 637 } 638 ], 639 "responses": { 640 "204": { 641 "description": "Success." 642 }, 643 "default": { 644 "description": "Error.", 645 "content": { 646 "application/json": { 647 "schema": { 648 "$ref": "#/components/schemas/Error" 649 } 650 } 651 } 652 } 653 } 654 }, 655 "get": { 656 "parameters": [ 657 { 658 "name": "application_id", 659 "in": "path", 660 "schema": { 661 "type": "string" 662 }, 663 "required": true 664 }, 665 { 666 "name": "service_id", 667 "in": "path", 668 "schema": { 669 "type": "string" 670 }, 671 "required": true 672 } 673 ], 674 "responses": { 675 "200": { 676 "description": "Success.", 677 "content": { 678 "application/json": { 679 "schema": { 680 "$ref": "#/components/schemas/Service" 681 } 682 } 683 } 684 }, 685 "default": { 686 "description": "Error.", 687 "content": { 688 "application/json": { 689 "schema": { 690 "$ref": "#/components/schemas/Error" 691 } 692 } 693 } 694 } 695 } 696 }, 697 "patch": { 698 "parameters": [ 699 { 700 "name": "application_id", 701 "in": "path", 702 "schema": { 703 "type": "string" 704 }, 705 "required": true 706 }, 707 { 708 "name": "service_id", 709 "in": "path", 710 "schema": { 711 "type": "string" 712 }, 713 "required": true 714 } 715 ], 716 "requestBody": { 717 "content": { 718 "application/json": { 719 "schema": { 720 "$ref": "#/components/schemas/Service" 721 } 722 } 723 } 724 }, 725 "responses": { 726 "200": { 727 "description": "Success.", 728 "content": { 729 "application/json": { 730 "schema": { 731 "$ref": "#/components/schemas/Service" 732 } 733 } 734 } 735 }, 736 "default": { 737 "description": "Error.", 738 "content": { 739 "application/json": { 740 "schema": { 741 "$ref": "#/components/schemas/Error" 742 } 743 } 744 } 745 } 746 } 747 } 748 }, 749 "/api/status_board/v1/applications/{application_id}/services/{service_id}/statuses": { 750 "post": { 751 "parameters": [ 752 { 753 "name": "application_id", 754 "in": "path", 755 "schema": { 756 "type": "string" 757 }, 758 "required": true 759 }, 760 { 761 "name": "service_id", 762 "in": "path", 763 "schema": { 764 "type": "string" 765 }, 766 "required": true 767 } 768 ], 769 "requestBody": { 770 "content": { 771 "application/json": { 772 "schema": { 773 "$ref": "#/components/schemas/Status" 774 } 775 } 776 } 777 }, 778 "responses": { 779 "201": { 780 "description": "Success.", 781 "content": { 782 "application/json": { 783 "schema": { 784 "$ref": "#/components/schemas/Status" 785 } 786 } 787 } 788 }, 789 "default": { 790 "description": "Error.", 791 "content": { 792 "application/json": { 793 "schema": { 794 "$ref": "#/components/schemas/Error" 795 } 796 } 797 } 798 } 799 } 800 }, 801 "get": { 802 "description": "Retrieves the list of statuses.", 803 "parameters": [ 804 { 805 "name": "application_id", 806 "in": "path", 807 "schema": { 808 "type": "string" 809 }, 810 "required": true 811 }, 812 { 813 "name": "service_id", 814 "in": "path", 815 "schema": { 816 "type": "string" 817 }, 818 "required": true 819 }, 820 { 821 "name": "created_after", 822 "in": "query", 823 "schema": { 824 "type": "string", 825 "format": "date-time" 826 } 827 }, 828 { 829 "name": "created_before", 830 "in": "query", 831 "schema": { 832 "type": "string", 833 "format": "date-time" 834 } 835 }, 836 { 837 "name": "flap_detection", 838 "in": "query", 839 "schema": { 840 "type": "boolean" 841 } 842 }, 843 { 844 "name": "full_names", 845 "in": "query", 846 "schema": { 847 "type": "string" 848 } 849 }, 850 { 851 "name": "limit_scope", 852 "in": "query", 853 "schema": { 854 "type": "string", 855 "format": "date-time" 856 } 857 }, 858 { 859 "name": "page", 860 "in": "query", 861 "schema": { 862 "type": "integer", 863 "format": "int32" 864 } 865 }, 866 { 867 "name": "product_ids", 868 "in": "query", 869 "schema": { 870 "type": "string" 871 } 872 }, 873 { 874 "name": "size", 875 "in": "query", 876 "schema": { 877 "type": "integer", 878 "format": "int32" 879 } 880 } 881 ], 882 "responses": { 883 "200": { 884 "description": "Success.", 885 "content": { 886 "application/json": { 887 "schema": { 888 "type": "object", 889 "properties": { 890 "items": { 891 "type": "array", 892 "items": { 893 "$ref": "#/components/schemas/Status" 894 } 895 }, 896 "page": { 897 "type": "integer", 898 "format": "int32" 899 }, 900 "size": { 901 "type": "integer", 902 "format": "int32" 903 }, 904 "total": { 905 "type": "integer", 906 "format": "int32" 907 } 908 } 909 } 910 } 911 } 912 }, 913 "default": { 914 "description": "Error.", 915 "content": { 916 "application/json": { 917 "schema": { 918 "$ref": "#/components/schemas/Error" 919 } 920 } 921 } 922 } 923 } 924 } 925 }, 926 "/api/status_board/v1/applications/{application_id}/services/{service_id}/statuses/{status_id}": { 927 "delete": { 928 "parameters": [ 929 { 930 "name": "application_id", 931 "in": "path", 932 "schema": { 933 "type": "string" 934 }, 935 "required": true 936 }, 937 { 938 "name": "service_id", 939 "in": "path", 940 "schema": { 941 "type": "string" 942 }, 943 "required": true 944 }, 945 { 946 "name": "status_id", 947 "in": "path", 948 "schema": { 949 "type": "string" 950 }, 951 "required": true 952 } 953 ], 954 "responses": { 955 "204": { 956 "description": "Success." 957 }, 958 "default": { 959 "description": "Error.", 960 "content": { 961 "application/json": { 962 "schema": { 963 "$ref": "#/components/schemas/Error" 964 } 965 } 966 } 967 } 968 } 969 }, 970 "get": { 971 "parameters": [ 972 { 973 "name": "application_id", 974 "in": "path", 975 "schema": { 976 "type": "string" 977 }, 978 "required": true 979 }, 980 { 981 "name": "service_id", 982 "in": "path", 983 "schema": { 984 "type": "string" 985 }, 986 "required": true 987 }, 988 { 989 "name": "status_id", 990 "in": "path", 991 "schema": { 992 "type": "string" 993 }, 994 "required": true 995 } 996 ], 997 "responses": { 998 "200": { 999 "description": "Success.", 1000 "content": { 1001 "application/json": { 1002 "schema": { 1003 "$ref": "#/components/schemas/Status" 1004 } 1005 } 1006 } 1007 }, 1008 "default": { 1009 "description": "Error.", 1010 "content": { 1011 "application/json": { 1012 "schema": { 1013 "$ref": "#/components/schemas/Error" 1014 } 1015 } 1016 } 1017 } 1018 } 1019 }, 1020 "patch": { 1021 "parameters": [ 1022 { 1023 "name": "application_id", 1024 "in": "path", 1025 "schema": { 1026 "type": "string" 1027 }, 1028 "required": true 1029 }, 1030 { 1031 "name": "service_id", 1032 "in": "path", 1033 "schema": { 1034 "type": "string" 1035 }, 1036 "required": true 1037 }, 1038 { 1039 "name": "status_id", 1040 "in": "path", 1041 "schema": { 1042 "type": "string" 1043 }, 1044 "required": true 1045 } 1046 ], 1047 "requestBody": { 1048 "content": { 1049 "application/json": { 1050 "schema": { 1051 "$ref": "#/components/schemas/Status" 1052 } 1053 } 1054 } 1055 }, 1056 "responses": { 1057 "200": { 1058 "description": "Success.", 1059 "content": { 1060 "application/json": { 1061 "schema": { 1062 "$ref": "#/components/schemas/Status" 1063 } 1064 } 1065 } 1066 }, 1067 "default": { 1068 "description": "Error.", 1069 "content": { 1070 "application/json": { 1071 "schema": { 1072 "$ref": "#/components/schemas/Error" 1073 } 1074 } 1075 } 1076 } 1077 } 1078 } 1079 }, 1080 "/api/status_board/v1/errors": { 1081 "get": { 1082 "description": "Retrieves the list of errors.", 1083 "parameters": [ 1084 { 1085 "name": "page", 1086 "in": "query", 1087 "schema": { 1088 "type": "integer", 1089 "format": "int32" 1090 } 1091 }, 1092 { 1093 "name": "size", 1094 "in": "query", 1095 "schema": { 1096 "type": "integer", 1097 "format": "int32" 1098 } 1099 } 1100 ], 1101 "responses": { 1102 "200": { 1103 "description": "Success.", 1104 "content": { 1105 "application/json": { 1106 "schema": { 1107 "type": "object", 1108 "properties": { 1109 "items": { 1110 "type": "array", 1111 "items": { 1112 "$ref": "#/components/schemas/Error" 1113 } 1114 }, 1115 "page": { 1116 "type": "integer", 1117 "format": "int32" 1118 }, 1119 "size": { 1120 "type": "integer", 1121 "format": "int32" 1122 }, 1123 "total": { 1124 "type": "integer", 1125 "format": "int32" 1126 } 1127 } 1128 } 1129 } 1130 } 1131 }, 1132 "default": { 1133 "description": "Error.", 1134 "content": { 1135 "application/json": { 1136 "schema": { 1137 "$ref": "#/components/schemas/Error" 1138 } 1139 } 1140 } 1141 } 1142 } 1143 } 1144 }, 1145 "/api/status_board/v1/errors/{error_id}": { 1146 "get": { 1147 "parameters": [ 1148 { 1149 "name": "error_id", 1150 "in": "path", 1151 "schema": { 1152 "type": "string" 1153 }, 1154 "required": true 1155 } 1156 ], 1157 "responses": { 1158 "200": { 1159 "description": "Success.", 1160 "content": { 1161 "application/json": { 1162 "schema": { 1163 "$ref": "#/components/schemas/Error" 1164 } 1165 } 1166 } 1167 }, 1168 "default": { 1169 "description": "Error.", 1170 "content": { 1171 "application/json": { 1172 "schema": { 1173 "$ref": "#/components/schemas/Error" 1174 } 1175 } 1176 } 1177 } 1178 } 1179 } 1180 }, 1181 "/api/status_board/v1/peer_dependencies": { 1182 "post": { 1183 "requestBody": { 1184 "content": { 1185 "application/json": { 1186 "schema": { 1187 "$ref": "#/components/schemas/PeerDependency" 1188 } 1189 } 1190 } 1191 }, 1192 "responses": { 1193 "201": { 1194 "description": "Success.", 1195 "content": { 1196 "application/json": { 1197 "schema": { 1198 "$ref": "#/components/schemas/PeerDependency" 1199 } 1200 } 1201 } 1202 }, 1203 "default": { 1204 "description": "Error.", 1205 "content": { 1206 "application/json": { 1207 "schema": { 1208 "$ref": "#/components/schemas/Error" 1209 } 1210 } 1211 } 1212 } 1213 } 1214 }, 1215 "get": { 1216 "description": "Retrieves the list of peer dependencies.", 1217 "parameters": [ 1218 { 1219 "name": "order_by", 1220 "in": "query", 1221 "schema": { 1222 "type": "string" 1223 } 1224 }, 1225 { 1226 "name": "page", 1227 "in": "query", 1228 "schema": { 1229 "type": "integer", 1230 "format": "int32" 1231 } 1232 }, 1233 { 1234 "name": "size", 1235 "in": "query", 1236 "schema": { 1237 "type": "integer", 1238 "format": "int32" 1239 } 1240 } 1241 ], 1242 "responses": { 1243 "200": { 1244 "description": "Success.", 1245 "content": { 1246 "application/json": { 1247 "schema": { 1248 "type": "object", 1249 "properties": { 1250 "items": { 1251 "type": "array", 1252 "items": { 1253 "$ref": "#/components/schemas/PeerDependency" 1254 } 1255 }, 1256 "page": { 1257 "type": "integer", 1258 "format": "int32" 1259 }, 1260 "size": { 1261 "type": "integer", 1262 "format": "int32" 1263 }, 1264 "total": { 1265 "type": "integer", 1266 "format": "int32" 1267 } 1268 } 1269 } 1270 } 1271 } 1272 }, 1273 "default": { 1274 "description": "Error.", 1275 "content": { 1276 "application/json": { 1277 "schema": { 1278 "$ref": "#/components/schemas/Error" 1279 } 1280 } 1281 } 1282 } 1283 } 1284 } 1285 }, 1286 "/api/status_board/v1/peer_dependencies/{peer_dependency_id}": { 1287 "delete": { 1288 "parameters": [ 1289 { 1290 "name": "peer_dependency_id", 1291 "in": "path", 1292 "schema": { 1293 "type": "string" 1294 }, 1295 "required": true 1296 } 1297 ], 1298 "responses": { 1299 "204": { 1300 "description": "Success." 1301 }, 1302 "default": { 1303 "description": "Error.", 1304 "content": { 1305 "application/json": { 1306 "schema": { 1307 "$ref": "#/components/schemas/Error" 1308 } 1309 } 1310 } 1311 } 1312 } 1313 }, 1314 "get": { 1315 "parameters": [ 1316 { 1317 "name": "peer_dependency_id", 1318 "in": "path", 1319 "schema": { 1320 "type": "string" 1321 }, 1322 "required": true 1323 } 1324 ], 1325 "responses": { 1326 "200": { 1327 "description": "Success.", 1328 "content": { 1329 "application/json": { 1330 "schema": { 1331 "$ref": "#/components/schemas/Service" 1332 } 1333 } 1334 } 1335 }, 1336 "default": { 1337 "description": "Error.", 1338 "content": { 1339 "application/json": { 1340 "schema": { 1341 "$ref": "#/components/schemas/Error" 1342 } 1343 } 1344 } 1345 } 1346 } 1347 }, 1348 "patch": { 1349 "parameters": [ 1350 { 1351 "name": "peer_dependency_id", 1352 "in": "path", 1353 "schema": { 1354 "type": "string" 1355 }, 1356 "required": true 1357 } 1358 ], 1359 "requestBody": { 1360 "content": { 1361 "application/json": { 1362 "schema": { 1363 "$ref": "#/components/schemas/PeerDependency" 1364 } 1365 } 1366 } 1367 }, 1368 "responses": { 1369 "200": { 1370 "description": "Success.", 1371 "content": { 1372 "application/json": { 1373 "schema": { 1374 "$ref": "#/components/schemas/PeerDependency" 1375 } 1376 } 1377 } 1378 }, 1379 "default": { 1380 "description": "Error.", 1381 "content": { 1382 "application/json": { 1383 "schema": { 1384 "$ref": "#/components/schemas/Error" 1385 } 1386 } 1387 } 1388 } 1389 } 1390 } 1391 }, 1392 "/api/status_board/v1/products": { 1393 "post": { 1394 "requestBody": { 1395 "content": { 1396 "application/json": { 1397 "schema": { 1398 "$ref": "#/components/schemas/Product" 1399 } 1400 } 1401 } 1402 }, 1403 "responses": { 1404 "201": { 1405 "description": "Success.", 1406 "content": { 1407 "application/json": { 1408 "schema": { 1409 "$ref": "#/components/schemas/Product" 1410 } 1411 } 1412 } 1413 }, 1414 "default": { 1415 "description": "Error.", 1416 "content": { 1417 "application/json": { 1418 "schema": { 1419 "$ref": "#/components/schemas/Error" 1420 } 1421 } 1422 } 1423 } 1424 } 1425 }, 1426 "get": { 1427 "description": "Retrieves the list of products.", 1428 "parameters": [ 1429 { 1430 "name": "order_by", 1431 "in": "query", 1432 "schema": { 1433 "type": "string" 1434 } 1435 }, 1436 { 1437 "name": "page", 1438 "in": "query", 1439 "schema": { 1440 "type": "integer", 1441 "format": "int32" 1442 } 1443 }, 1444 { 1445 "name": "search", 1446 "in": "query", 1447 "schema": { 1448 "type": "string" 1449 } 1450 }, 1451 { 1452 "name": "size", 1453 "in": "query", 1454 "schema": { 1455 "type": "integer", 1456 "format": "int32" 1457 } 1458 } 1459 ], 1460 "responses": { 1461 "200": { 1462 "description": "Success.", 1463 "content": { 1464 "application/json": { 1465 "schema": { 1466 "type": "object", 1467 "properties": { 1468 "items": { 1469 "type": "array", 1470 "items": { 1471 "$ref": "#/components/schemas/Product" 1472 } 1473 }, 1474 "page": { 1475 "type": "integer", 1476 "format": "int32" 1477 }, 1478 "size": { 1479 "type": "integer", 1480 "format": "int32" 1481 }, 1482 "total": { 1483 "type": "integer", 1484 "format": "int32" 1485 } 1486 } 1487 } 1488 } 1489 } 1490 }, 1491 "default": { 1492 "description": "Error.", 1493 "content": { 1494 "application/json": { 1495 "schema": { 1496 "$ref": "#/components/schemas/Error" 1497 } 1498 } 1499 } 1500 } 1501 } 1502 } 1503 }, 1504 "/api/status_board/v1/products/{product_id}": { 1505 "delete": { 1506 "parameters": [ 1507 { 1508 "name": "product_id", 1509 "in": "path", 1510 "schema": { 1511 "type": "string" 1512 }, 1513 "required": true 1514 } 1515 ], 1516 "responses": { 1517 "204": { 1518 "description": "Success." 1519 }, 1520 "default": { 1521 "description": "Error.", 1522 "content": { 1523 "application/json": { 1524 "schema": { 1525 "$ref": "#/components/schemas/Error" 1526 } 1527 } 1528 } 1529 } 1530 } 1531 }, 1532 "get": { 1533 "parameters": [ 1534 { 1535 "name": "product_id", 1536 "in": "path", 1537 "schema": { 1538 "type": "string" 1539 }, 1540 "required": true 1541 } 1542 ], 1543 "responses": { 1544 "200": { 1545 "description": "Success.", 1546 "content": { 1547 "application/json": { 1548 "schema": { 1549 "$ref": "#/components/schemas/Product" 1550 } 1551 } 1552 } 1553 }, 1554 "default": { 1555 "description": "Error.", 1556 "content": { 1557 "application/json": { 1558 "schema": { 1559 "$ref": "#/components/schemas/Error" 1560 } 1561 } 1562 } 1563 } 1564 } 1565 }, 1566 "patch": { 1567 "parameters": [ 1568 { 1569 "name": "product_id", 1570 "in": "path", 1571 "schema": { 1572 "type": "string" 1573 }, 1574 "required": true 1575 } 1576 ], 1577 "requestBody": { 1578 "content": { 1579 "application/json": { 1580 "schema": { 1581 "$ref": "#/components/schemas/Product" 1582 } 1583 } 1584 } 1585 }, 1586 "responses": { 1587 "200": { 1588 "description": "Success.", 1589 "content": { 1590 "application/json": { 1591 "schema": { 1592 "$ref": "#/components/schemas/Product" 1593 } 1594 } 1595 } 1596 }, 1597 "default": { 1598 "description": "Error.", 1599 "content": { 1600 "application/json": { 1601 "schema": { 1602 "$ref": "#/components/schemas/Error" 1603 } 1604 } 1605 } 1606 } 1607 } 1608 } 1609 }, 1610 "/api/status_board/v1/products/{product_id}/applications": { 1611 "post": { 1612 "parameters": [ 1613 { 1614 "name": "product_id", 1615 "in": "path", 1616 "schema": { 1617 "type": "string" 1618 }, 1619 "required": true 1620 } 1621 ], 1622 "requestBody": { 1623 "content": { 1624 "application/json": { 1625 "schema": { 1626 "$ref": "#/components/schemas/Application" 1627 } 1628 } 1629 } 1630 }, 1631 "responses": { 1632 "201": { 1633 "description": "Success.", 1634 "content": { 1635 "application/json": { 1636 "schema": { 1637 "$ref": "#/components/schemas/Application" 1638 } 1639 } 1640 } 1641 }, 1642 "default": { 1643 "description": "Error.", 1644 "content": { 1645 "application/json": { 1646 "schema": { 1647 "$ref": "#/components/schemas/Error" 1648 } 1649 } 1650 } 1651 } 1652 } 1653 }, 1654 "get": { 1655 "description": "Retrieves the list of applications.", 1656 "parameters": [ 1657 { 1658 "name": "product_id", 1659 "in": "path", 1660 "schema": { 1661 "type": "string" 1662 }, 1663 "required": true 1664 }, 1665 { 1666 "name": "order_by", 1667 "in": "query", 1668 "schema": { 1669 "type": "string" 1670 } 1671 }, 1672 { 1673 "name": "page", 1674 "in": "query", 1675 "schema": { 1676 "type": "integer", 1677 "format": "int32" 1678 } 1679 }, 1680 { 1681 "name": "search", 1682 "in": "query", 1683 "schema": { 1684 "type": "string" 1685 } 1686 }, 1687 { 1688 "name": "size", 1689 "in": "query", 1690 "schema": { 1691 "type": "integer", 1692 "format": "int32" 1693 } 1694 } 1695 ], 1696 "responses": { 1697 "200": { 1698 "description": "Success.", 1699 "content": { 1700 "application/json": { 1701 "schema": { 1702 "type": "object", 1703 "properties": { 1704 "items": { 1705 "type": "array", 1706 "items": { 1707 "$ref": "#/components/schemas/Application" 1708 } 1709 }, 1710 "page": { 1711 "type": "integer", 1712 "format": "int32" 1713 }, 1714 "size": { 1715 "type": "integer", 1716 "format": "int32" 1717 }, 1718 "total": { 1719 "type": "integer", 1720 "format": "int32" 1721 } 1722 } 1723 } 1724 } 1725 } 1726 }, 1727 "default": { 1728 "description": "Error.", 1729 "content": { 1730 "application/json": { 1731 "schema": { 1732 "$ref": "#/components/schemas/Error" 1733 } 1734 } 1735 } 1736 } 1737 } 1738 } 1739 }, 1740 "/api/status_board/v1/products/{product_id}/applications/{application_id}": { 1741 "delete": { 1742 "parameters": [ 1743 { 1744 "name": "product_id", 1745 "in": "path", 1746 "schema": { 1747 "type": "string" 1748 }, 1749 "required": true 1750 }, 1751 { 1752 "name": "application_id", 1753 "in": "path", 1754 "schema": { 1755 "type": "string" 1756 }, 1757 "required": true 1758 } 1759 ], 1760 "responses": { 1761 "204": { 1762 "description": "Success." 1763 }, 1764 "default": { 1765 "description": "Error.", 1766 "content": { 1767 "application/json": { 1768 "schema": { 1769 "$ref": "#/components/schemas/Error" 1770 } 1771 } 1772 } 1773 } 1774 } 1775 }, 1776 "get": { 1777 "parameters": [ 1778 { 1779 "name": "product_id", 1780 "in": "path", 1781 "schema": { 1782 "type": "string" 1783 }, 1784 "required": true 1785 }, 1786 { 1787 "name": "application_id", 1788 "in": "path", 1789 "schema": { 1790 "type": "string" 1791 }, 1792 "required": true 1793 } 1794 ], 1795 "responses": { 1796 "200": { 1797 "description": "Success.", 1798 "content": { 1799 "application/json": { 1800 "schema": { 1801 "$ref": "#/components/schemas/Application" 1802 } 1803 } 1804 } 1805 }, 1806 "default": { 1807 "description": "Error.", 1808 "content": { 1809 "application/json": { 1810 "schema": { 1811 "$ref": "#/components/schemas/Error" 1812 } 1813 } 1814 } 1815 } 1816 } 1817 }, 1818 "patch": { 1819 "parameters": [ 1820 { 1821 "name": "product_id", 1822 "in": "path", 1823 "schema": { 1824 "type": "string" 1825 }, 1826 "required": true 1827 }, 1828 { 1829 "name": "application_id", 1830 "in": "path", 1831 "schema": { 1832 "type": "string" 1833 }, 1834 "required": true 1835 } 1836 ], 1837 "requestBody": { 1838 "content": { 1839 "application/json": { 1840 "schema": { 1841 "$ref": "#/components/schemas/Application" 1842 } 1843 } 1844 } 1845 }, 1846 "responses": { 1847 "200": { 1848 "description": "Success.", 1849 "content": { 1850 "application/json": { 1851 "schema": { 1852 "$ref": "#/components/schemas/Application" 1853 } 1854 } 1855 } 1856 }, 1857 "default": { 1858 "description": "Error.", 1859 "content": { 1860 "application/json": { 1861 "schema": { 1862 "$ref": "#/components/schemas/Error" 1863 } 1864 } 1865 } 1866 } 1867 } 1868 } 1869 }, 1870 "/api/status_board/v1/products/{product_id}/applications/{application_id}/services": { 1871 "post": { 1872 "parameters": [ 1873 { 1874 "name": "product_id", 1875 "in": "path", 1876 "schema": { 1877 "type": "string" 1878 }, 1879 "required": true 1880 }, 1881 { 1882 "name": "application_id", 1883 "in": "path", 1884 "schema": { 1885 "type": "string" 1886 }, 1887 "required": true 1888 } 1889 ], 1890 "requestBody": { 1891 "content": { 1892 "application/json": { 1893 "schema": { 1894 "$ref": "#/components/schemas/Service" 1895 } 1896 } 1897 } 1898 }, 1899 "responses": { 1900 "201": { 1901 "description": "Success.", 1902 "content": { 1903 "application/json": { 1904 "schema": { 1905 "$ref": "#/components/schemas/Service" 1906 } 1907 } 1908 } 1909 }, 1910 "default": { 1911 "description": "Error.", 1912 "content": { 1913 "application/json": { 1914 "schema": { 1915 "$ref": "#/components/schemas/Error" 1916 } 1917 } 1918 } 1919 } 1920 } 1921 }, 1922 "get": { 1923 "description": "Retrieves the list of services.", 1924 "parameters": [ 1925 { 1926 "name": "product_id", 1927 "in": "path", 1928 "schema": { 1929 "type": "string" 1930 }, 1931 "required": true 1932 }, 1933 { 1934 "name": "application_id", 1935 "in": "path", 1936 "schema": { 1937 "type": "string" 1938 }, 1939 "required": true 1940 }, 1941 { 1942 "name": "mine", 1943 "in": "query", 1944 "schema": { 1945 "type": "boolean" 1946 } 1947 }, 1948 { 1949 "name": "order_by", 1950 "in": "query", 1951 "schema": { 1952 "type": "string" 1953 } 1954 }, 1955 { 1956 "name": "page", 1957 "in": "query", 1958 "schema": { 1959 "type": "integer", 1960 "format": "int32" 1961 } 1962 }, 1963 { 1964 "name": "search", 1965 "in": "query", 1966 "schema": { 1967 "type": "string" 1968 } 1969 }, 1970 { 1971 "name": "size", 1972 "in": "query", 1973 "schema": { 1974 "type": "integer", 1975 "format": "int32" 1976 } 1977 } 1978 ], 1979 "responses": { 1980 "200": { 1981 "description": "Success.", 1982 "content": { 1983 "application/json": { 1984 "schema": { 1985 "type": "object", 1986 "properties": { 1987 "items": { 1988 "type": "array", 1989 "items": { 1990 "$ref": "#/components/schemas/Service" 1991 } 1992 }, 1993 "page": { 1994 "type": "integer", 1995 "format": "int32" 1996 }, 1997 "size": { 1998 "type": "integer", 1999 "format": "int32" 2000 }, 2001 "total": { 2002 "type": "integer", 2003 "format": "int32" 2004 } 2005 } 2006 } 2007 } 2008 } 2009 }, 2010 "default": { 2011 "description": "Error.", 2012 "content": { 2013 "application/json": { 2014 "schema": { 2015 "$ref": "#/components/schemas/Error" 2016 } 2017 } 2018 } 2019 } 2020 } 2021 } 2022 }, 2023 "/api/status_board/v1/products/{product_id}/applications/{application_id}/services/{service_id}": { 2024 "delete": { 2025 "parameters": [ 2026 { 2027 "name": "product_id", 2028 "in": "path", 2029 "schema": { 2030 "type": "string" 2031 }, 2032 "required": true 2033 }, 2034 { 2035 "name": "application_id", 2036 "in": "path", 2037 "schema": { 2038 "type": "string" 2039 }, 2040 "required": true 2041 }, 2042 { 2043 "name": "service_id", 2044 "in": "path", 2045 "schema": { 2046 "type": "string" 2047 }, 2048 "required": true 2049 } 2050 ], 2051 "responses": { 2052 "204": { 2053 "description": "Success." 2054 }, 2055 "default": { 2056 "description": "Error.", 2057 "content": { 2058 "application/json": { 2059 "schema": { 2060 "$ref": "#/components/schemas/Error" 2061 } 2062 } 2063 } 2064 } 2065 } 2066 }, 2067 "get": { 2068 "parameters": [ 2069 { 2070 "name": "product_id", 2071 "in": "path", 2072 "schema": { 2073 "type": "string" 2074 }, 2075 "required": true 2076 }, 2077 { 2078 "name": "application_id", 2079 "in": "path", 2080 "schema": { 2081 "type": "string" 2082 }, 2083 "required": true 2084 }, 2085 { 2086 "name": "service_id", 2087 "in": "path", 2088 "schema": { 2089 "type": "string" 2090 }, 2091 "required": true 2092 } 2093 ], 2094 "responses": { 2095 "200": { 2096 "description": "Success.", 2097 "content": { 2098 "application/json": { 2099 "schema": { 2100 "$ref": "#/components/schemas/Service" 2101 } 2102 } 2103 } 2104 }, 2105 "default": { 2106 "description": "Error.", 2107 "content": { 2108 "application/json": { 2109 "schema": { 2110 "$ref": "#/components/schemas/Error" 2111 } 2112 } 2113 } 2114 } 2115 } 2116 }, 2117 "patch": { 2118 "parameters": [ 2119 { 2120 "name": "product_id", 2121 "in": "path", 2122 "schema": { 2123 "type": "string" 2124 }, 2125 "required": true 2126 }, 2127 { 2128 "name": "application_id", 2129 "in": "path", 2130 "schema": { 2131 "type": "string" 2132 }, 2133 "required": true 2134 }, 2135 { 2136 "name": "service_id", 2137 "in": "path", 2138 "schema": { 2139 "type": "string" 2140 }, 2141 "required": true 2142 } 2143 ], 2144 "requestBody": { 2145 "content": { 2146 "application/json": { 2147 "schema": { 2148 "$ref": "#/components/schemas/Service" 2149 } 2150 } 2151 } 2152 }, 2153 "responses": { 2154 "200": { 2155 "description": "Success.", 2156 "content": { 2157 "application/json": { 2158 "schema": { 2159 "$ref": "#/components/schemas/Service" 2160 } 2161 } 2162 } 2163 }, 2164 "default": { 2165 "description": "Error.", 2166 "content": { 2167 "application/json": { 2168 "schema": { 2169 "$ref": "#/components/schemas/Error" 2170 } 2171 } 2172 } 2173 } 2174 } 2175 } 2176 }, 2177 "/api/status_board/v1/products/{product_id}/applications/{application_id}/services/{service_id}/statuses": { 2178 "post": { 2179 "parameters": [ 2180 { 2181 "name": "product_id", 2182 "in": "path", 2183 "schema": { 2184 "type": "string" 2185 }, 2186 "required": true 2187 }, 2188 { 2189 "name": "application_id", 2190 "in": "path", 2191 "schema": { 2192 "type": "string" 2193 }, 2194 "required": true 2195 }, 2196 { 2197 "name": "service_id", 2198 "in": "path", 2199 "schema": { 2200 "type": "string" 2201 }, 2202 "required": true 2203 } 2204 ], 2205 "requestBody": { 2206 "content": { 2207 "application/json": { 2208 "schema": { 2209 "$ref": "#/components/schemas/Status" 2210 } 2211 } 2212 } 2213 }, 2214 "responses": { 2215 "201": { 2216 "description": "Success.", 2217 "content": { 2218 "application/json": { 2219 "schema": { 2220 "$ref": "#/components/schemas/Status" 2221 } 2222 } 2223 } 2224 }, 2225 "default": { 2226 "description": "Error.", 2227 "content": { 2228 "application/json": { 2229 "schema": { 2230 "$ref": "#/components/schemas/Error" 2231 } 2232 } 2233 } 2234 } 2235 } 2236 }, 2237 "get": { 2238 "description": "Retrieves the list of statuses.", 2239 "parameters": [ 2240 { 2241 "name": "product_id", 2242 "in": "path", 2243 "schema": { 2244 "type": "string" 2245 }, 2246 "required": true 2247 }, 2248 { 2249 "name": "application_id", 2250 "in": "path", 2251 "schema": { 2252 "type": "string" 2253 }, 2254 "required": true 2255 }, 2256 { 2257 "name": "service_id", 2258 "in": "path", 2259 "schema": { 2260 "type": "string" 2261 }, 2262 "required": true 2263 }, 2264 { 2265 "name": "created_after", 2266 "in": "query", 2267 "schema": { 2268 "type": "string", 2269 "format": "date-time" 2270 } 2271 }, 2272 { 2273 "name": "created_before", 2274 "in": "query", 2275 "schema": { 2276 "type": "string", 2277 "format": "date-time" 2278 } 2279 }, 2280 { 2281 "name": "flap_detection", 2282 "in": "query", 2283 "schema": { 2284 "type": "boolean" 2285 } 2286 }, 2287 { 2288 "name": "full_names", 2289 "in": "query", 2290 "schema": { 2291 "type": "string" 2292 } 2293 }, 2294 { 2295 "name": "limit_scope", 2296 "in": "query", 2297 "schema": { 2298 "type": "string", 2299 "format": "date-time" 2300 } 2301 }, 2302 { 2303 "name": "page", 2304 "in": "query", 2305 "schema": { 2306 "type": "integer", 2307 "format": "int32" 2308 } 2309 }, 2310 { 2311 "name": "product_ids", 2312 "in": "query", 2313 "schema": { 2314 "type": "string" 2315 } 2316 }, 2317 { 2318 "name": "size", 2319 "in": "query", 2320 "schema": { 2321 "type": "integer", 2322 "format": "int32" 2323 } 2324 } 2325 ], 2326 "responses": { 2327 "200": { 2328 "description": "Success.", 2329 "content": { 2330 "application/json": { 2331 "schema": { 2332 "type": "object", 2333 "properties": { 2334 "items": { 2335 "type": "array", 2336 "items": { 2337 "$ref": "#/components/schemas/Status" 2338 } 2339 }, 2340 "page": { 2341 "type": "integer", 2342 "format": "int32" 2343 }, 2344 "size": { 2345 "type": "integer", 2346 "format": "int32" 2347 }, 2348 "total": { 2349 "type": "integer", 2350 "format": "int32" 2351 } 2352 } 2353 } 2354 } 2355 } 2356 }, 2357 "default": { 2358 "description": "Error.", 2359 "content": { 2360 "application/json": { 2361 "schema": { 2362 "$ref": "#/components/schemas/Error" 2363 } 2364 } 2365 } 2366 } 2367 } 2368 } 2369 }, 2370 "/api/status_board/v1/products/{product_id}/applications/{application_id}/services/{service_id}/statuses/{status_id}": { 2371 "delete": { 2372 "parameters": [ 2373 { 2374 "name": "product_id", 2375 "in": "path", 2376 "schema": { 2377 "type": "string" 2378 }, 2379 "required": true 2380 }, 2381 { 2382 "name": "application_id", 2383 "in": "path", 2384 "schema": { 2385 "type": "string" 2386 }, 2387 "required": true 2388 }, 2389 { 2390 "name": "service_id", 2391 "in": "path", 2392 "schema": { 2393 "type": "string" 2394 }, 2395 "required": true 2396 }, 2397 { 2398 "name": "status_id", 2399 "in": "path", 2400 "schema": { 2401 "type": "string" 2402 }, 2403 "required": true 2404 } 2405 ], 2406 "responses": { 2407 "204": { 2408 "description": "Success." 2409 }, 2410 "default": { 2411 "description": "Error.", 2412 "content": { 2413 "application/json": { 2414 "schema": { 2415 "$ref": "#/components/schemas/Error" 2416 } 2417 } 2418 } 2419 } 2420 } 2421 }, 2422 "get": { 2423 "parameters": [ 2424 { 2425 "name": "product_id", 2426 "in": "path", 2427 "schema": { 2428 "type": "string" 2429 }, 2430 "required": true 2431 }, 2432 { 2433 "name": "application_id", 2434 "in": "path", 2435 "schema": { 2436 "type": "string" 2437 }, 2438 "required": true 2439 }, 2440 { 2441 "name": "service_id", 2442 "in": "path", 2443 "schema": { 2444 "type": "string" 2445 }, 2446 "required": true 2447 }, 2448 { 2449 "name": "status_id", 2450 "in": "path", 2451 "schema": { 2452 "type": "string" 2453 }, 2454 "required": true 2455 } 2456 ], 2457 "responses": { 2458 "200": { 2459 "description": "Success.", 2460 "content": { 2461 "application/json": { 2462 "schema": { 2463 "$ref": "#/components/schemas/Status" 2464 } 2465 } 2466 } 2467 }, 2468 "default": { 2469 "description": "Error.", 2470 "content": { 2471 "application/json": { 2472 "schema": { 2473 "$ref": "#/components/schemas/Error" 2474 } 2475 } 2476 } 2477 } 2478 } 2479 }, 2480 "patch": { 2481 "parameters": [ 2482 { 2483 "name": "product_id", 2484 "in": "path", 2485 "schema": { 2486 "type": "string" 2487 }, 2488 "required": true 2489 }, 2490 { 2491 "name": "application_id", 2492 "in": "path", 2493 "schema": { 2494 "type": "string" 2495 }, 2496 "required": true 2497 }, 2498 { 2499 "name": "service_id", 2500 "in": "path", 2501 "schema": { 2502 "type": "string" 2503 }, 2504 "required": true 2505 }, 2506 { 2507 "name": "status_id", 2508 "in": "path", 2509 "schema": { 2510 "type": "string" 2511 }, 2512 "required": true 2513 } 2514 ], 2515 "requestBody": { 2516 "content": { 2517 "application/json": { 2518 "schema": { 2519 "$ref": "#/components/schemas/Status" 2520 } 2521 } 2522 } 2523 }, 2524 "responses": { 2525 "200": { 2526 "description": "Success.", 2527 "content": { 2528 "application/json": { 2529 "schema": { 2530 "$ref": "#/components/schemas/Status" 2531 } 2532 } 2533 } 2534 }, 2535 "default": { 2536 "description": "Error.", 2537 "content": { 2538 "application/json": { 2539 "schema": { 2540 "$ref": "#/components/schemas/Error" 2541 } 2542 } 2543 } 2544 } 2545 } 2546 } 2547 }, 2548 "/api/status_board/v1/products/{product_id}/updates": { 2549 "post": { 2550 "parameters": [ 2551 { 2552 "name": "product_id", 2553 "in": "path", 2554 "schema": { 2555 "type": "string" 2556 }, 2557 "required": true 2558 } 2559 ], 2560 "requestBody": { 2561 "content": { 2562 "application/json": { 2563 "schema": { 2564 "$ref": "#/components/schemas/Status" 2565 } 2566 } 2567 } 2568 }, 2569 "responses": { 2570 "201": { 2571 "description": "Success.", 2572 "content": { 2573 "application/json": { 2574 "schema": { 2575 "$ref": "#/components/schemas/Status" 2576 } 2577 } 2578 } 2579 }, 2580 "default": { 2581 "description": "Error.", 2582 "content": { 2583 "application/json": { 2584 "schema": { 2585 "$ref": "#/components/schemas/Error" 2586 } 2587 } 2588 } 2589 } 2590 } 2591 }, 2592 "get": { 2593 "description": "Retrieves the list of statuses.", 2594 "parameters": [ 2595 { 2596 "name": "product_id", 2597 "in": "path", 2598 "schema": { 2599 "type": "string" 2600 }, 2601 "required": true 2602 }, 2603 { 2604 "name": "created_after", 2605 "in": "query", 2606 "schema": { 2607 "type": "string", 2608 "format": "date-time" 2609 } 2610 }, 2611 { 2612 "name": "created_before", 2613 "in": "query", 2614 "schema": { 2615 "type": "string", 2616 "format": "date-time" 2617 } 2618 }, 2619 { 2620 "name": "flap_detection", 2621 "in": "query", 2622 "schema": { 2623 "type": "boolean" 2624 } 2625 }, 2626 { 2627 "name": "full_names", 2628 "in": "query", 2629 "schema": { 2630 "type": "string" 2631 } 2632 }, 2633 { 2634 "name": "limit_scope", 2635 "in": "query", 2636 "schema": { 2637 "type": "string", 2638 "format": "date-time" 2639 } 2640 }, 2641 { 2642 "name": "page", 2643 "in": "query", 2644 "schema": { 2645 "type": "integer", 2646 "format": "int32" 2647 } 2648 }, 2649 { 2650 "name": "product_ids", 2651 "in": "query", 2652 "schema": { 2653 "type": "string" 2654 } 2655 }, 2656 { 2657 "name": "size", 2658 "in": "query", 2659 "schema": { 2660 "type": "integer", 2661 "format": "int32" 2662 } 2663 } 2664 ], 2665 "responses": { 2666 "200": { 2667 "description": "Success.", 2668 "content": { 2669 "application/json": { 2670 "schema": { 2671 "type": "object", 2672 "properties": { 2673 "items": { 2674 "type": "array", 2675 "items": { 2676 "$ref": "#/components/schemas/Status" 2677 } 2678 }, 2679 "page": { 2680 "type": "integer", 2681 "format": "int32" 2682 }, 2683 "size": { 2684 "type": "integer", 2685 "format": "int32" 2686 }, 2687 "total": { 2688 "type": "integer", 2689 "format": "int32" 2690 } 2691 } 2692 } 2693 } 2694 } 2695 }, 2696 "default": { 2697 "description": "Error.", 2698 "content": { 2699 "application/json": { 2700 "schema": { 2701 "$ref": "#/components/schemas/Error" 2702 } 2703 } 2704 } 2705 } 2706 } 2707 } 2708 }, 2709 "/api/status_board/v1/products/{product_id}/updates/{status_id}": { 2710 "delete": { 2711 "parameters": [ 2712 { 2713 "name": "product_id", 2714 "in": "path", 2715 "schema": { 2716 "type": "string" 2717 }, 2718 "required": true 2719 }, 2720 { 2721 "name": "status_id", 2722 "in": "path", 2723 "schema": { 2724 "type": "string" 2725 }, 2726 "required": true 2727 } 2728 ], 2729 "responses": { 2730 "204": { 2731 "description": "Success." 2732 }, 2733 "default": { 2734 "description": "Error.", 2735 "content": { 2736 "application/json": { 2737 "schema": { 2738 "$ref": "#/components/schemas/Error" 2739 } 2740 } 2741 } 2742 } 2743 } 2744 }, 2745 "get": { 2746 "parameters": [ 2747 { 2748 "name": "product_id", 2749 "in": "path", 2750 "schema": { 2751 "type": "string" 2752 }, 2753 "required": true 2754 }, 2755 { 2756 "name": "status_id", 2757 "in": "path", 2758 "schema": { 2759 "type": "string" 2760 }, 2761 "required": true 2762 } 2763 ], 2764 "responses": { 2765 "200": { 2766 "description": "Success.", 2767 "content": { 2768 "application/json": { 2769 "schema": { 2770 "$ref": "#/components/schemas/Status" 2771 } 2772 } 2773 } 2774 }, 2775 "default": { 2776 "description": "Error.", 2777 "content": { 2778 "application/json": { 2779 "schema": { 2780 "$ref": "#/components/schemas/Error" 2781 } 2782 } 2783 } 2784 } 2785 } 2786 }, 2787 "patch": { 2788 "parameters": [ 2789 { 2790 "name": "product_id", 2791 "in": "path", 2792 "schema": { 2793 "type": "string" 2794 }, 2795 "required": true 2796 }, 2797 { 2798 "name": "status_id", 2799 "in": "path", 2800 "schema": { 2801 "type": "string" 2802 }, 2803 "required": true 2804 } 2805 ], 2806 "requestBody": { 2807 "content": { 2808 "application/json": { 2809 "schema": { 2810 "$ref": "#/components/schemas/Status" 2811 } 2812 } 2813 } 2814 }, 2815 "responses": { 2816 "200": { 2817 "description": "Success.", 2818 "content": { 2819 "application/json": { 2820 "schema": { 2821 "$ref": "#/components/schemas/Status" 2822 } 2823 } 2824 } 2825 }, 2826 "default": { 2827 "description": "Error.", 2828 "content": { 2829 "application/json": { 2830 "schema": { 2831 "$ref": "#/components/schemas/Error" 2832 } 2833 } 2834 } 2835 } 2836 } 2837 } 2838 }, 2839 "/api/status_board/v1/services": { 2840 "post": { 2841 "requestBody": { 2842 "content": { 2843 "application/json": { 2844 "schema": { 2845 "$ref": "#/components/schemas/Service" 2846 } 2847 } 2848 } 2849 }, 2850 "responses": { 2851 "201": { 2852 "description": "Success.", 2853 "content": { 2854 "application/json": { 2855 "schema": { 2856 "$ref": "#/components/schemas/Service" 2857 } 2858 } 2859 } 2860 }, 2861 "default": { 2862 "description": "Error.", 2863 "content": { 2864 "application/json": { 2865 "schema": { 2866 "$ref": "#/components/schemas/Error" 2867 } 2868 } 2869 } 2870 } 2871 } 2872 }, 2873 "get": { 2874 "description": "Retrieves the list of services.", 2875 "parameters": [ 2876 { 2877 "name": "mine", 2878 "in": "query", 2879 "schema": { 2880 "type": "boolean" 2881 } 2882 }, 2883 { 2884 "name": "order_by", 2885 "in": "query", 2886 "schema": { 2887 "type": "string" 2888 } 2889 }, 2890 { 2891 "name": "page", 2892 "in": "query", 2893 "schema": { 2894 "type": "integer", 2895 "format": "int32" 2896 } 2897 }, 2898 { 2899 "name": "search", 2900 "in": "query", 2901 "schema": { 2902 "type": "string" 2903 } 2904 }, 2905 { 2906 "name": "size", 2907 "in": "query", 2908 "schema": { 2909 "type": "integer", 2910 "format": "int32" 2911 } 2912 } 2913 ], 2914 "responses": { 2915 "200": { 2916 "description": "Success.", 2917 "content": { 2918 "application/json": { 2919 "schema": { 2920 "type": "object", 2921 "properties": { 2922 "items": { 2923 "type": "array", 2924 "items": { 2925 "$ref": "#/components/schemas/Service" 2926 } 2927 }, 2928 "page": { 2929 "type": "integer", 2930 "format": "int32" 2931 }, 2932 "size": { 2933 "type": "integer", 2934 "format": "int32" 2935 }, 2936 "total": { 2937 "type": "integer", 2938 "format": "int32" 2939 } 2940 } 2941 } 2942 } 2943 } 2944 }, 2945 "default": { 2946 "description": "Error.", 2947 "content": { 2948 "application/json": { 2949 "schema": { 2950 "$ref": "#/components/schemas/Error" 2951 } 2952 } 2953 } 2954 } 2955 } 2956 } 2957 }, 2958 "/api/status_board/v1/services/{service_id}": { 2959 "delete": { 2960 "parameters": [ 2961 { 2962 "name": "service_id", 2963 "in": "path", 2964 "schema": { 2965 "type": "string" 2966 }, 2967 "required": true 2968 } 2969 ], 2970 "responses": { 2971 "204": { 2972 "description": "Success." 2973 }, 2974 "default": { 2975 "description": "Error.", 2976 "content": { 2977 "application/json": { 2978 "schema": { 2979 "$ref": "#/components/schemas/Error" 2980 } 2981 } 2982 } 2983 } 2984 } 2985 }, 2986 "get": { 2987 "parameters": [ 2988 { 2989 "name": "service_id", 2990 "in": "path", 2991 "schema": { 2992 "type": "string" 2993 }, 2994 "required": true 2995 } 2996 ], 2997 "responses": { 2998 "200": { 2999 "description": "Success.", 3000 "content": { 3001 "application/json": { 3002 "schema": { 3003 "$ref": "#/components/schemas/Service" 3004 } 3005 } 3006 } 3007 }, 3008 "default": { 3009 "description": "Error.", 3010 "content": { 3011 "application/json": { 3012 "schema": { 3013 "$ref": "#/components/schemas/Error" 3014 } 3015 } 3016 } 3017 } 3018 } 3019 }, 3020 "patch": { 3021 "parameters": [ 3022 { 3023 "name": "service_id", 3024 "in": "path", 3025 "schema": { 3026 "type": "string" 3027 }, 3028 "required": true 3029 } 3030 ], 3031 "requestBody": { 3032 "content": { 3033 "application/json": { 3034 "schema": { 3035 "$ref": "#/components/schemas/Service" 3036 } 3037 } 3038 } 3039 }, 3040 "responses": { 3041 "200": { 3042 "description": "Success.", 3043 "content": { 3044 "application/json": { 3045 "schema": { 3046 "$ref": "#/components/schemas/Service" 3047 } 3048 } 3049 } 3050 }, 3051 "default": { 3052 "description": "Error.", 3053 "content": { 3054 "application/json": { 3055 "schema": { 3056 "$ref": "#/components/schemas/Error" 3057 } 3058 } 3059 } 3060 } 3061 } 3062 } 3063 }, 3064 "/api/status_board/v1/services/{service_id}/statuses": { 3065 "post": { 3066 "parameters": [ 3067 { 3068 "name": "service_id", 3069 "in": "path", 3070 "schema": { 3071 "type": "string" 3072 }, 3073 "required": true 3074 } 3075 ], 3076 "requestBody": { 3077 "content": { 3078 "application/json": { 3079 "schema": { 3080 "$ref": "#/components/schemas/Status" 3081 } 3082 } 3083 } 3084 }, 3085 "responses": { 3086 "201": { 3087 "description": "Success.", 3088 "content": { 3089 "application/json": { 3090 "schema": { 3091 "$ref": "#/components/schemas/Status" 3092 } 3093 } 3094 } 3095 }, 3096 "default": { 3097 "description": "Error.", 3098 "content": { 3099 "application/json": { 3100 "schema": { 3101 "$ref": "#/components/schemas/Error" 3102 } 3103 } 3104 } 3105 } 3106 } 3107 }, 3108 "get": { 3109 "description": "Retrieves the list of statuses.", 3110 "parameters": [ 3111 { 3112 "name": "service_id", 3113 "in": "path", 3114 "schema": { 3115 "type": "string" 3116 }, 3117 "required": true 3118 }, 3119 { 3120 "name": "created_after", 3121 "in": "query", 3122 "schema": { 3123 "type": "string", 3124 "format": "date-time" 3125 } 3126 }, 3127 { 3128 "name": "created_before", 3129 "in": "query", 3130 "schema": { 3131 "type": "string", 3132 "format": "date-time" 3133 } 3134 }, 3135 { 3136 "name": "flap_detection", 3137 "in": "query", 3138 "schema": { 3139 "type": "boolean" 3140 } 3141 }, 3142 { 3143 "name": "full_names", 3144 "in": "query", 3145 "schema": { 3146 "type": "string" 3147 } 3148 }, 3149 { 3150 "name": "limit_scope", 3151 "in": "query", 3152 "schema": { 3153 "type": "string", 3154 "format": "date-time" 3155 } 3156 }, 3157 { 3158 "name": "page", 3159 "in": "query", 3160 "schema": { 3161 "type": "integer", 3162 "format": "int32" 3163 } 3164 }, 3165 { 3166 "name": "product_ids", 3167 "in": "query", 3168 "schema": { 3169 "type": "string" 3170 } 3171 }, 3172 { 3173 "name": "size", 3174 "in": "query", 3175 "schema": { 3176 "type": "integer", 3177 "format": "int32" 3178 } 3179 } 3180 ], 3181 "responses": { 3182 "200": { 3183 "description": "Success.", 3184 "content": { 3185 "application/json": { 3186 "schema": { 3187 "type": "object", 3188 "properties": { 3189 "items": { 3190 "type": "array", 3191 "items": { 3192 "$ref": "#/components/schemas/Status" 3193 } 3194 }, 3195 "page": { 3196 "type": "integer", 3197 "format": "int32" 3198 }, 3199 "size": { 3200 "type": "integer", 3201 "format": "int32" 3202 }, 3203 "total": { 3204 "type": "integer", 3205 "format": "int32" 3206 } 3207 } 3208 } 3209 } 3210 } 3211 }, 3212 "default": { 3213 "description": "Error.", 3214 "content": { 3215 "application/json": { 3216 "schema": { 3217 "$ref": "#/components/schemas/Error" 3218 } 3219 } 3220 } 3221 } 3222 } 3223 } 3224 }, 3225 "/api/status_board/v1/services/{service_id}/statuses/{status_id}": { 3226 "delete": { 3227 "parameters": [ 3228 { 3229 "name": "service_id", 3230 "in": "path", 3231 "schema": { 3232 "type": "string" 3233 }, 3234 "required": true 3235 }, 3236 { 3237 "name": "status_id", 3238 "in": "path", 3239 "schema": { 3240 "type": "string" 3241 }, 3242 "required": true 3243 } 3244 ], 3245 "responses": { 3246 "204": { 3247 "description": "Success." 3248 }, 3249 "default": { 3250 "description": "Error.", 3251 "content": { 3252 "application/json": { 3253 "schema": { 3254 "$ref": "#/components/schemas/Error" 3255 } 3256 } 3257 } 3258 } 3259 } 3260 }, 3261 "get": { 3262 "parameters": [ 3263 { 3264 "name": "service_id", 3265 "in": "path", 3266 "schema": { 3267 "type": "string" 3268 }, 3269 "required": true 3270 }, 3271 { 3272 "name": "status_id", 3273 "in": "path", 3274 "schema": { 3275 "type": "string" 3276 }, 3277 "required": true 3278 } 3279 ], 3280 "responses": { 3281 "200": { 3282 "description": "Success.", 3283 "content": { 3284 "application/json": { 3285 "schema": { 3286 "$ref": "#/components/schemas/Status" 3287 } 3288 } 3289 } 3290 }, 3291 "default": { 3292 "description": "Error.", 3293 "content": { 3294 "application/json": { 3295 "schema": { 3296 "$ref": "#/components/schemas/Error" 3297 } 3298 } 3299 } 3300 } 3301 } 3302 }, 3303 "patch": { 3304 "parameters": [ 3305 { 3306 "name": "service_id", 3307 "in": "path", 3308 "schema": { 3309 "type": "string" 3310 }, 3311 "required": true 3312 }, 3313 { 3314 "name": "status_id", 3315 "in": "path", 3316 "schema": { 3317 "type": "string" 3318 }, 3319 "required": true 3320 } 3321 ], 3322 "requestBody": { 3323 "content": { 3324 "application/json": { 3325 "schema": { 3326 "$ref": "#/components/schemas/Status" 3327 } 3328 } 3329 } 3330 }, 3331 "responses": { 3332 "200": { 3333 "description": "Success.", 3334 "content": { 3335 "application/json": { 3336 "schema": { 3337 "$ref": "#/components/schemas/Status" 3338 } 3339 } 3340 } 3341 }, 3342 "default": { 3343 "description": "Error.", 3344 "content": { 3345 "application/json": { 3346 "schema": { 3347 "$ref": "#/components/schemas/Error" 3348 } 3349 } 3350 } 3351 } 3352 } 3353 } 3354 }, 3355 "/api/status_board/v1/status_updates": { 3356 "post": { 3357 "requestBody": { 3358 "content": { 3359 "application/json": { 3360 "schema": { 3361 "$ref": "#/components/schemas/Status" 3362 } 3363 } 3364 } 3365 }, 3366 "responses": { 3367 "201": { 3368 "description": "Success.", 3369 "content": { 3370 "application/json": { 3371 "schema": { 3372 "$ref": "#/components/schemas/Status" 3373 } 3374 } 3375 } 3376 }, 3377 "default": { 3378 "description": "Error.", 3379 "content": { 3380 "application/json": { 3381 "schema": { 3382 "$ref": "#/components/schemas/Error" 3383 } 3384 } 3385 } 3386 } 3387 } 3388 }, 3389 "get": { 3390 "description": "Retrieves the list of statuses.", 3391 "parameters": [ 3392 { 3393 "name": "created_after", 3394 "in": "query", 3395 "schema": { 3396 "type": "string", 3397 "format": "date-time" 3398 } 3399 }, 3400 { 3401 "name": "created_before", 3402 "in": "query", 3403 "schema": { 3404 "type": "string", 3405 "format": "date-time" 3406 } 3407 }, 3408 { 3409 "name": "flap_detection", 3410 "in": "query", 3411 "schema": { 3412 "type": "boolean" 3413 } 3414 }, 3415 { 3416 "name": "full_names", 3417 "in": "query", 3418 "schema": { 3419 "type": "string" 3420 } 3421 }, 3422 { 3423 "name": "limit_scope", 3424 "in": "query", 3425 "schema": { 3426 "type": "string", 3427 "format": "date-time" 3428 } 3429 }, 3430 { 3431 "name": "page", 3432 "in": "query", 3433 "schema": { 3434 "type": "integer", 3435 "format": "int32" 3436 } 3437 }, 3438 { 3439 "name": "product_ids", 3440 "in": "query", 3441 "schema": { 3442 "type": "string" 3443 } 3444 }, 3445 { 3446 "name": "size", 3447 "in": "query", 3448 "schema": { 3449 "type": "integer", 3450 "format": "int32" 3451 } 3452 } 3453 ], 3454 "responses": { 3455 "200": { 3456 "description": "Success.", 3457 "content": { 3458 "application/json": { 3459 "schema": { 3460 "type": "object", 3461 "properties": { 3462 "items": { 3463 "type": "array", 3464 "items": { 3465 "$ref": "#/components/schemas/Status" 3466 } 3467 }, 3468 "page": { 3469 "type": "integer", 3470 "format": "int32" 3471 }, 3472 "size": { 3473 "type": "integer", 3474 "format": "int32" 3475 }, 3476 "total": { 3477 "type": "integer", 3478 "format": "int32" 3479 } 3480 } 3481 } 3482 } 3483 } 3484 }, 3485 "default": { 3486 "description": "Error.", 3487 "content": { 3488 "application/json": { 3489 "schema": { 3490 "$ref": "#/components/schemas/Error" 3491 } 3492 } 3493 } 3494 } 3495 } 3496 } 3497 }, 3498 "/api/status_board/v1/status_updates/{status_id}": { 3499 "delete": { 3500 "parameters": [ 3501 { 3502 "name": "status_id", 3503 "in": "path", 3504 "schema": { 3505 "type": "string" 3506 }, 3507 "required": true 3508 } 3509 ], 3510 "responses": { 3511 "204": { 3512 "description": "Success." 3513 }, 3514 "default": { 3515 "description": "Error.", 3516 "content": { 3517 "application/json": { 3518 "schema": { 3519 "$ref": "#/components/schemas/Error" 3520 } 3521 } 3522 } 3523 } 3524 } 3525 }, 3526 "get": { 3527 "parameters": [ 3528 { 3529 "name": "status_id", 3530 "in": "path", 3531 "schema": { 3532 "type": "string" 3533 }, 3534 "required": true 3535 } 3536 ], 3537 "responses": { 3538 "200": { 3539 "description": "Success.", 3540 "content": { 3541 "application/json": { 3542 "schema": { 3543 "$ref": "#/components/schemas/Status" 3544 } 3545 } 3546 } 3547 }, 3548 "default": { 3549 "description": "Error.", 3550 "content": { 3551 "application/json": { 3552 "schema": { 3553 "$ref": "#/components/schemas/Error" 3554 } 3555 } 3556 } 3557 } 3558 } 3559 }, 3560 "patch": { 3561 "parameters": [ 3562 { 3563 "name": "status_id", 3564 "in": "path", 3565 "schema": { 3566 "type": "string" 3567 }, 3568 "required": true 3569 } 3570 ], 3571 "requestBody": { 3572 "content": { 3573 "application/json": { 3574 "schema": { 3575 "$ref": "#/components/schemas/Status" 3576 } 3577 } 3578 } 3579 }, 3580 "responses": { 3581 "200": { 3582 "description": "Success.", 3583 "content": { 3584 "application/json": { 3585 "schema": { 3586 "$ref": "#/components/schemas/Status" 3587 } 3588 } 3589 } 3590 }, 3591 "default": { 3592 "description": "Error.", 3593 "content": { 3594 "application/json": { 3595 "schema": { 3596 "$ref": "#/components/schemas/Error" 3597 } 3598 } 3599 } 3600 } 3601 } 3602 } 3603 }, 3604 "/api/status_board/v1/statuses": { 3605 "post": { 3606 "requestBody": { 3607 "content": { 3608 "application/json": { 3609 "schema": { 3610 "$ref": "#/components/schemas/Status" 3611 } 3612 } 3613 } 3614 }, 3615 "responses": { 3616 "201": { 3617 "description": "Success.", 3618 "content": { 3619 "application/json": { 3620 "schema": { 3621 "$ref": "#/components/schemas/Status" 3622 } 3623 } 3624 } 3625 }, 3626 "default": { 3627 "description": "Error.", 3628 "content": { 3629 "application/json": { 3630 "schema": { 3631 "$ref": "#/components/schemas/Error" 3632 } 3633 } 3634 } 3635 } 3636 } 3637 }, 3638 "get": { 3639 "description": "Retrieves the list of statuses.", 3640 "parameters": [ 3641 { 3642 "name": "created_after", 3643 "in": "query", 3644 "schema": { 3645 "type": "string", 3646 "format": "date-time" 3647 } 3648 }, 3649 { 3650 "name": "created_before", 3651 "in": "query", 3652 "schema": { 3653 "type": "string", 3654 "format": "date-time" 3655 } 3656 }, 3657 { 3658 "name": "flap_detection", 3659 "in": "query", 3660 "schema": { 3661 "type": "boolean" 3662 } 3663 }, 3664 { 3665 "name": "full_names", 3666 "in": "query", 3667 "schema": { 3668 "type": "string" 3669 } 3670 }, 3671 { 3672 "name": "limit_scope", 3673 "in": "query", 3674 "schema": { 3675 "type": "string", 3676 "format": "date-time" 3677 } 3678 }, 3679 { 3680 "name": "page", 3681 "in": "query", 3682 "schema": { 3683 "type": "integer", 3684 "format": "int32" 3685 } 3686 }, 3687 { 3688 "name": "product_ids", 3689 "in": "query", 3690 "schema": { 3691 "type": "string" 3692 } 3693 }, 3694 { 3695 "name": "size", 3696 "in": "query", 3697 "schema": { 3698 "type": "integer", 3699 "format": "int32" 3700 } 3701 } 3702 ], 3703 "responses": { 3704 "200": { 3705 "description": "Success.", 3706 "content": { 3707 "application/json": { 3708 "schema": { 3709 "type": "object", 3710 "properties": { 3711 "items": { 3712 "type": "array", 3713 "items": { 3714 "$ref": "#/components/schemas/Status" 3715 } 3716 }, 3717 "page": { 3718 "type": "integer", 3719 "format": "int32" 3720 }, 3721 "size": { 3722 "type": "integer", 3723 "format": "int32" 3724 }, 3725 "total": { 3726 "type": "integer", 3727 "format": "int32" 3728 } 3729 } 3730 } 3731 } 3732 } 3733 }, 3734 "default": { 3735 "description": "Error.", 3736 "content": { 3737 "application/json": { 3738 "schema": { 3739 "$ref": "#/components/schemas/Error" 3740 } 3741 } 3742 } 3743 } 3744 } 3745 } 3746 }, 3747 "/api/status_board/v1/statuses/{status_id}": { 3748 "delete": { 3749 "parameters": [ 3750 { 3751 "name": "status_id", 3752 "in": "path", 3753 "schema": { 3754 "type": "string" 3755 }, 3756 "required": true 3757 } 3758 ], 3759 "responses": { 3760 "204": { 3761 "description": "Success." 3762 }, 3763 "default": { 3764 "description": "Error.", 3765 "content": { 3766 "application/json": { 3767 "schema": { 3768 "$ref": "#/components/schemas/Error" 3769 } 3770 } 3771 } 3772 } 3773 } 3774 }, 3775 "get": { 3776 "parameters": [ 3777 { 3778 "name": "status_id", 3779 "in": "path", 3780 "schema": { 3781 "type": "string" 3782 }, 3783 "required": true 3784 } 3785 ], 3786 "responses": { 3787 "200": { 3788 "description": "Success.", 3789 "content": { 3790 "application/json": { 3791 "schema": { 3792 "$ref": "#/components/schemas/Status" 3793 } 3794 } 3795 } 3796 }, 3797 "default": { 3798 "description": "Error.", 3799 "content": { 3800 "application/json": { 3801 "schema": { 3802 "$ref": "#/components/schemas/Error" 3803 } 3804 } 3805 } 3806 } 3807 } 3808 }, 3809 "patch": { 3810 "parameters": [ 3811 { 3812 "name": "status_id", 3813 "in": "path", 3814 "schema": { 3815 "type": "string" 3816 }, 3817 "required": true 3818 } 3819 ], 3820 "requestBody": { 3821 "content": { 3822 "application/json": { 3823 "schema": { 3824 "$ref": "#/components/schemas/Status" 3825 } 3826 } 3827 } 3828 }, 3829 "responses": { 3830 "200": { 3831 "description": "Success.", 3832 "content": { 3833 "application/json": { 3834 "schema": { 3835 "$ref": "#/components/schemas/Status" 3836 } 3837 } 3838 } 3839 }, 3840 "default": { 3841 "description": "Error.", 3842 "content": { 3843 "application/json": { 3844 "schema": { 3845 "$ref": "#/components/schemas/Error" 3846 } 3847 } 3848 } 3849 } 3850 } 3851 } 3852 } 3853 }, 3854 "components": { 3855 "schemas": { 3856 "Metadata": { 3857 "description": "Version metadata.", 3858 "properties": { 3859 "server_version": { 3860 "description": "Version of the server.", 3861 "type": "string" 3862 } 3863 } 3864 }, 3865 "Application": { 3866 "description": "Definition of a Status Board application.", 3867 "properties": { 3868 "kind": { 3869 "description": "Indicates the type of this object. Will be 'Application' if this is a complete object or 'ApplicationLink' if it is just a link.", 3870 "type": "string" 3871 }, 3872 "id": { 3873 "description": "Unique identifier of the object.", 3874 "type": "string" 3875 }, 3876 "href": { 3877 "description": "Self link.", 3878 "type": "string" 3879 }, 3880 "created_at": { 3881 "description": "Object creation timestamp.", 3882 "type": "string", 3883 "format": "date-time" 3884 }, 3885 "fullname": { 3886 "description": "The full name of the application. ", 3887 "type": "string" 3888 }, 3889 "metadata": { 3890 "description": "Miscellaneous metadata about the application.", 3891 "type": "object" 3892 }, 3893 "name": { 3894 "description": "The name of the application. ", 3895 "type": "string" 3896 }, 3897 "owners": { 3898 "description": "The application owners (name and email)", 3899 "type": "array", 3900 "items": { 3901 "$ref": "#/components/schemas/Owner" 3902 } 3903 }, 3904 "product": { 3905 "description": "The group ID that the application belongs to. ", 3906 "$ref": "#/components/schemas/Product" 3907 }, 3908 "updated_at": { 3909 "description": "Object modification timestamp.", 3910 "type": "string", 3911 "format": "date-time" 3912 } 3913 } 3914 }, 3915 "ApplicationDependency": { 3916 "description": "Definition of a Status Board application dependency.", 3917 "properties": { 3918 "kind": { 3919 "description": "Indicates the type of this object. Will be 'ApplicationDependency' if this is a complete object or 'ApplicationDependencyLink' if it is just a link.", 3920 "type": "string" 3921 }, 3922 "id": { 3923 "description": "Unique identifier of the object.", 3924 "type": "string" 3925 }, 3926 "href": { 3927 "description": "Self link.", 3928 "type": "string" 3929 }, 3930 "application": { 3931 "description": "The parent Application of the dependency.", 3932 "$ref": "#/components/schemas/Application" 3933 }, 3934 "created_at": { 3935 "description": "Object creation timestamp.", 3936 "type": "string", 3937 "format": "date-time" 3938 }, 3939 "metadata": { 3940 "description": "Miscellaneous metadata about the application.", 3941 "type": "object" 3942 }, 3943 "name": { 3944 "description": "The name of the application. ", 3945 "type": "string" 3946 }, 3947 "owners": { 3948 "description": "The application dependency owners (name and email)", 3949 "type": "array", 3950 "items": { 3951 "$ref": "#/components/schemas/Owner" 3952 } 3953 }, 3954 "service": { 3955 "description": "The Service associated with the dependency.", 3956 "$ref": "#/components/schemas/Service" 3957 }, 3958 "type": { 3959 "description": "The type of application dependency, e.g. soft or hard.", 3960 "type": "string" 3961 }, 3962 "updated_at": { 3963 "description": "Object modification timestamp.", 3964 "type": "string", 3965 "format": "date-time" 3966 } 3967 } 3968 }, 3969 "Error": { 3970 "description": "Definition of a Status Board error.", 3971 "properties": { 3972 "kind": { 3973 "description": "Indicates the type of this object. Will be 'Error' if this is a complete object or 'ErrorLink' if it is just a link.", 3974 "type": "string" 3975 }, 3976 "id": { 3977 "description": "Unique identifier of the object.", 3978 "type": "string" 3979 }, 3980 "href": { 3981 "description": "Self link.", 3982 "type": "string" 3983 }, 3984 "code": { 3985 "type": "string" 3986 }, 3987 "reason": { 3988 "type": "string" 3989 } 3990 } 3991 }, 3992 "Owner": { 3993 "description": "Definition of a Status Board owner.", 3994 "properties": { 3995 "kind": { 3996 "description": "Indicates the type of this object. Will be 'Owner' if this is a complete object or 'OwnerLink' if it is just a link.", 3997 "type": "string" 3998 }, 3999 "id": { 4000 "description": "Unique identifier of the object.", 4001 "type": "string" 4002 }, 4003 "href": { 4004 "description": "Self link.", 4005 "type": "string" 4006 }, 4007 "email": { 4008 "description": "The owner's email address.", 4009 "type": "string" 4010 }, 4011 "username": { 4012 "description": "The owner's username.", 4013 "type": "string" 4014 } 4015 } 4016 }, 4017 "PeerDependency": { 4018 "description": "Definition of a Status Board peer dependency.", 4019 "properties": { 4020 "kind": { 4021 "description": "Indicates the type of this object. Will be 'PeerDependency' if this is a complete object or 'PeerDependencyLink' if it is just a link.", 4022 "type": "string" 4023 }, 4024 "id": { 4025 "description": "Unique identifier of the object.", 4026 "type": "string" 4027 }, 4028 "href": { 4029 "description": "Self link.", 4030 "type": "string" 4031 }, 4032 "created_at": { 4033 "description": "Object creation timestamp.", 4034 "type": "string", 4035 "format": "date-time" 4036 }, 4037 "metadata": { 4038 "description": "Miscellaneous metadata about the peer dependency.", 4039 "type": "object" 4040 }, 4041 "name": { 4042 "description": "The name of the peer dependency.", 4043 "type": "string" 4044 }, 4045 "owners": { 4046 "description": "The peer dependency owners (name and email)", 4047 "type": "array", 4048 "items": { 4049 "$ref": "#/components/schemas/Owner" 4050 } 4051 }, 4052 "services": { 4053 "description": "Services associated with the peer dependency.", 4054 "type": "array", 4055 "items": { 4056 "$ref": "#/components/schemas/Service" 4057 } 4058 }, 4059 "updated_at": { 4060 "description": "Object modification timestamp.", 4061 "type": "string", 4062 "format": "date-time" 4063 } 4064 } 4065 }, 4066 "Product": { 4067 "description": "Definition of a Status Board product.", 4068 "properties": { 4069 "kind": { 4070 "description": "Indicates the type of this object. Will be 'Product' if this is a complete object or 'ProductLink' if it is just a link.", 4071 "type": "string" 4072 }, 4073 "id": { 4074 "description": "Unique identifier of the object.", 4075 "type": "string" 4076 }, 4077 "href": { 4078 "description": "Self link.", 4079 "type": "string" 4080 }, 4081 "created_at": { 4082 "description": "Object creation timestamp.", 4083 "type": "string", 4084 "format": "date-time" 4085 }, 4086 "fullname": { 4087 "description": "The fullname of the product.", 4088 "type": "string" 4089 }, 4090 "metadata": { 4091 "description": "Miscellaneous data about the product.", 4092 "type": "object" 4093 }, 4094 "name": { 4095 "description": "The name of the product.", 4096 "type": "string" 4097 }, 4098 "owners": { 4099 "description": "The product owners (name and email).", 4100 "type": "array", 4101 "items": { 4102 "$ref": "#/components/schemas/Owner" 4103 } 4104 }, 4105 "updated_at": { 4106 "description": "Object modification timestamp.", 4107 "type": "string", 4108 "format": "date-time" 4109 } 4110 } 4111 }, 4112 "Service": { 4113 "description": "Definition of a Status Board Service.", 4114 "properties": { 4115 "kind": { 4116 "description": "Indicates the type of this object. Will be 'Service' if this is a complete object or 'ServiceLink' if it is just a link.", 4117 "type": "string" 4118 }, 4119 "id": { 4120 "description": "Unique identifier of the object.", 4121 "type": "string" 4122 }, 4123 "href": { 4124 "description": "Self link.", 4125 "type": "string" 4126 }, 4127 "application": { 4128 "description": "The Application associated with the Service", 4129 "$ref": "#/components/schemas/Application" 4130 }, 4131 "created_at": { 4132 "description": "Object creation timestamp.", 4133 "type": "string", 4134 "format": "date-time" 4135 }, 4136 "current_status": { 4137 "type": "string" 4138 }, 4139 "fullname": { 4140 "type": "string" 4141 }, 4142 "last_ping_at": { 4143 "type": "string", 4144 "format": "date-time" 4145 }, 4146 "metadata": { 4147 "type": "object" 4148 }, 4149 "name": { 4150 "description": "The name of the Service", 4151 "type": "string" 4152 }, 4153 "owners": { 4154 "type": "array", 4155 "items": { 4156 "$ref": "#/components/schemas/Owner" 4157 } 4158 }, 4159 "private": { 4160 "type": "boolean" 4161 }, 4162 "service_endpoint": { 4163 "type": "string" 4164 }, 4165 "status_type": { 4166 "type": "string" 4167 }, 4168 "status_updated_at": { 4169 "type": "string", 4170 "format": "date-time" 4171 }, 4172 "token": { 4173 "type": "string" 4174 }, 4175 "updated_at": { 4176 "description": "Object modification timestamp.", 4177 "type": "string", 4178 "format": "date-time" 4179 } 4180 } 4181 }, 4182 "ServiceDependency": { 4183 "description": "Definition of a Status Board service dependency.", 4184 "properties": { 4185 "kind": { 4186 "description": "Indicates the type of this object. Will be 'ServiceDependency' if this is a complete object or 'ServiceDependencyLink' if it is just a link.", 4187 "type": "string" 4188 }, 4189 "id": { 4190 "description": "Unique identifier of the object.", 4191 "type": "string" 4192 }, 4193 "href": { 4194 "description": "Self link.", 4195 "type": "string" 4196 }, 4197 "child_service": { 4198 "description": "The service dependency's child service", 4199 "$ref": "#/components/schemas/Service" 4200 }, 4201 "created_at": { 4202 "description": "Object creation timestamp.", 4203 "type": "string", 4204 "format": "date-time" 4205 }, 4206 "metadata": { 4207 "description": "Miscellaneous metadata about the service dependency.", 4208 "type": "object" 4209 }, 4210 "name": { 4211 "description": "The name of the service dependency.", 4212 "type": "string" 4213 }, 4214 "owners": { 4215 "description": "The service dependency owners (name and email)", 4216 "type": "array", 4217 "items": { 4218 "$ref": "#/components/schemas/Owner" 4219 } 4220 }, 4221 "parent_service": { 4222 "description": "The service dependency's parent service", 4223 "$ref": "#/components/schemas/Service" 4224 }, 4225 "type": { 4226 "description": "The type of service dependency, e.g. soft or hard.", 4227 "type": "string" 4228 }, 4229 "updated_at": { 4230 "description": "Object modification timestamp.", 4231 "type": "string", 4232 "format": "date-time" 4233 } 4234 } 4235 }, 4236 "ServiceInfo": { 4237 "description": "Definition of a Status Board service info.", 4238 "properties": { 4239 "fullname": { 4240 "description": "Full name of the service", 4241 "type": "string" 4242 }, 4243 "status_type": { 4244 "description": "Type of the service status", 4245 "type": "string" 4246 } 4247 } 4248 }, 4249 "Status": { 4250 "description": "Definition of a Status Board status.", 4251 "properties": { 4252 "kind": { 4253 "description": "Indicates the type of this object. Will be 'Status' if this is a complete object or 'StatusLink' if it is just a link.", 4254 "type": "string" 4255 }, 4256 "id": { 4257 "description": "Unique identifier of the object.", 4258 "type": "string" 4259 }, 4260 "href": { 4261 "description": "Self link.", 4262 "type": "string" 4263 }, 4264 "created_at": { 4265 "description": "Object creation timestamp.", 4266 "type": "string", 4267 "format": "date-time" 4268 }, 4269 "metadata": { 4270 "description": "Miscellaneous metadata about the application.", 4271 "type": "object" 4272 }, 4273 "service": { 4274 "description": "The associated service ID.", 4275 "$ref": "#/components/schemas/Service" 4276 }, 4277 "service_info": { 4278 "description": "Additional Service related data.", 4279 "$ref": "#/components/schemas/ServiceInfo" 4280 }, 4281 "status": { 4282 "description": "A status message for the given service.", 4283 "type": "string" 4284 }, 4285 "updated_at": { 4286 "description": "Object modification timestamp.", 4287 "type": "string", 4288 "format": "date-time" 4289 } 4290 } 4291 }, 4292 "StatusUpdate": { 4293 "properties": { 4294 "kind": { 4295 "description": "Indicates the type of this object. Will be 'StatusUpdate' if this is a complete object or 'StatusUpdateLink' if it is just a link.", 4296 "type": "string" 4297 }, 4298 "id": { 4299 "description": "Unique identifier of the object.", 4300 "type": "string" 4301 }, 4302 "href": { 4303 "description": "Self link.", 4304 "type": "string" 4305 }, 4306 "created_at": { 4307 "description": "Object creation timestamp.", 4308 "type": "string", 4309 "format": "date-time" 4310 }, 4311 "metadata": { 4312 "description": "Miscellaneous metadata about the application.", 4313 "type": "object" 4314 }, 4315 "service": { 4316 "description": "The associated service ID.", 4317 "$ref": "#/components/schemas/Service" 4318 }, 4319 "service_info": { 4320 "description": "Additional Service related data.", 4321 "$ref": "#/components/schemas/ServiceInfo" 4322 }, 4323 "status": { 4324 "description": "A status message for the given service.", 4325 "type": "string" 4326 }, 4327 "updated_at": { 4328 "description": "Object modification timestamp.", 4329 "type": "string", 4330 "format": "date-time" 4331 } 4332 } 4333 }, 4334 "Error": { 4335 "type": "object", 4336 "properties": { 4337 "kind": { 4338 "description": "Indicates the type of this object. Will always be 'Error'", 4339 "type": "string" 4340 }, 4341 "id": { 4342 "description": "Numeric identifier of the error.", 4343 "type": "integer", 4344 "format": "int32" 4345 }, 4346 "href": { 4347 "description": "Self link.", 4348 "type": "string" 4349 }, 4350 "code": { 4351 "description": "Globally unique code of the error, composed of the unique identifier of the API and the numeric identifier of the error. For example, for if the numeric identifier of the error is `93` and the identifier of the API is `clusters_mgmt` then the code will be `CLUSTERS-MGMT-93`.", 4352 "type": "string" 4353 }, 4354 "reason": { 4355 "description": "Human readable description of the error.", 4356 "type": "string" 4357 }, 4358 "details": { 4359 "description": "Extra information about the error.", 4360 "type": "object", 4361 "additionalProperties": true 4362 } 4363 } 4364 } 4365 }, 4366 "securitySchemes": { 4367 "bearer": { 4368 "type": "http", 4369 "scheme": "bearer", 4370 "bearerFormat": "JWT" 4371 } 4372 } 4373 }, 4374 "security": [ 4375 { 4376 "bearer": [ 4377 4378 ] 4379 } 4380 ] 4381 }