github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/cmd/srv-applet-mgr/openapi.json (about) 1 { 2 "openapi": "3.0.3", 3 "info": { 4 "title": "", 5 "version": "" 6 }, 7 "paths": { 8 "/liveness": { 9 "get": { 10 "tags": [ 11 "github.com/machinefi/w3bstream/pkg/depends/conf/http" 12 ], 13 "operationId": "Liveness", 14 "responses": { 15 "200": { 16 "description": "", 17 "content": { 18 "application/json": { 19 "schema": { 20 "type": "object", 21 "additionalProperties": { 22 "type": "string" 23 }, 24 "propertyNames": { 25 "type": "string" 26 } 27 } 28 } 29 } 30 } 31 } 32 } 33 }, 34 "/srv-applet-mgr": { 35 "get": { 36 "tags": [ 37 "github.com/machinefi/w3bstream/pkg/depends/kit/httptransport/openapi" 38 ], 39 "operationId": "OpenAPI", 40 "responses": { 41 "200": { 42 "description": "", 43 "content": { 44 "application/json": { 45 "schema": { 46 "$ref": "#/components/schemas/BytesBuffer" 47 } 48 } 49 } 50 }, 51 "499": { 52 "description": "", 53 "content": { 54 "application/json": { 55 "schema": { 56 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 57 } 58 } 59 }, 60 "x-status-errors": [ 61 "@StatusErr[ContextCanceled][499000000][ContextCanceled]" 62 ] 63 }, 64 "500": { 65 "description": "", 66 "content": { 67 "application/json": { 68 "schema": { 69 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 70 } 71 } 72 }, 73 "x-status-errors": [ 74 "@StatusErr[UnknownError][500000000][UnknownError]" 75 ] 76 } 77 } 78 } 79 }, 80 "/srv-applet-mgr/v0/account": { 81 "put": { 82 "tags": [ 83 "apis/account" 84 ], 85 "summary": "Update account password", 86 "operationId": "UpdatePasswordByAccountID", 87 "parameters": [ 88 { 89 "name": "Authorization", 90 "in": "header", 91 "schema": { 92 "type": "string", 93 "minLength": 1, 94 "x-go-field-name": "AuthInHeader", 95 "x-tag-name": "Authorization,omitempty", 96 "x-tag-validate": "@string[1,]" 97 } 98 }, 99 { 100 "name": "authorization", 101 "in": "query", 102 "schema": { 103 "type": "string", 104 "minLength": 1, 105 "x-go-field-name": "AuthInQuery", 106 "x-tag-name": "authorization,omitempty", 107 "x-tag-validate": "@string[1,]" 108 } 109 } 110 ], 111 "requestBody": { 112 "required": true, 113 "content": { 114 "application/json": { 115 "schema": { 116 "allOf": [ 117 { 118 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountUpdatePasswordReq" 119 }, 120 { 121 "x-go-field-name": "UpdatePasswordReq" 122 } 123 ] 124 } 125 } 126 } 127 }, 128 "responses": { 129 "204": { 130 "description": "" 131 }, 132 "401": { 133 "description": "", 134 "content": { 135 "application/json": { 136 "schema": { 137 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 138 } 139 } 140 }, 141 "x-status-errors": [ 142 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 143 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 144 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 145 "@StatusErr[InvalidNewPassword][401999008][Invalid New Password]!", 146 "@StatusErr[InvalidOldPassword][401999007][Invalid Old Password]!", 147 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 148 ] 149 }, 150 "403": { 151 "description": "", 152 "content": { 153 "application/json": { 154 "schema": { 155 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 156 } 157 } 158 }, 159 "x-status-errors": [ 160 "@StatusErr[DisabledAccount][403999002][Disabled Account]!" 161 ] 162 }, 163 "404": { 164 "description": "", 165 "content": { 166 "application/json": { 167 "schema": { 168 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 169 } 170 } 171 }, 172 "x-status-errors": [ 173 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 174 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 175 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 176 "@StatusErr[AccountPasswordNotFound][404999018][Account Password Not Found]!" 177 ] 178 }, 179 "500": { 180 "description": "", 181 "content": { 182 "application/json": { 183 "schema": { 184 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 185 } 186 } 187 }, 188 "x-status-errors": [ 189 "@StatusErr[DatabaseError][500999002][Database Error]!", 190 "@StatusErr[DatabaseError][500999002][Database Error]!" 191 ] 192 } 193 } 194 } 195 }, 196 "/srv-applet-mgr/v0/account/operatoraddr": { 197 "get": { 198 "tags": [ 199 "apis/account" 200 ], 201 "summary": "Get account operator by name", 202 "operationId": "GetOperatorAddr", 203 "parameters": [ 204 { 205 "name": "Authorization", 206 "in": "header", 207 "schema": { 208 "type": "string", 209 "minLength": 1, 210 "x-go-field-name": "AuthInHeader", 211 "x-tag-name": "Authorization,omitempty", 212 "x-tag-validate": "@string[1,]" 213 } 214 }, 215 { 216 "name": "accountOperatorName", 217 "in": "query", 218 "schema": { 219 "type": "string", 220 "description": "account operator name", 221 "x-go-field-name": "AccountOperatorName", 222 "x-tag-name": "accountOperatorName,omitempty" 223 } 224 }, 225 { 226 "name": "authorization", 227 "in": "query", 228 "schema": { 229 "type": "string", 230 "minLength": 1, 231 "x-go-field-name": "AuthInQuery", 232 "x-tag-name": "authorization,omitempty", 233 "x-tag-validate": "@string[1,]" 234 } 235 } 236 ], 237 "responses": { 238 "200": { 239 "description": "", 240 "content": { 241 "application/json": { 242 "schema": { 243 "type": "string" 244 } 245 } 246 } 247 }, 248 "401": { 249 "description": "", 250 "content": { 251 "application/json": { 252 "schema": { 253 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 254 } 255 } 256 }, 257 "x-status-errors": [ 258 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 259 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 260 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 261 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 262 ] 263 }, 264 "404": { 265 "description": "", 266 "content": { 267 "application/json": { 268 "schema": { 269 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 270 } 271 } 272 }, 273 "x-status-errors": [ 274 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 275 "@StatusErr[OperatorNotFound][404999019][Operator Not Found]!" 276 ] 277 }, 278 "500": { 279 "description": "", 280 "content": { 281 "application/json": { 282 "schema": { 283 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 284 } 285 } 286 }, 287 "x-status-errors": [ 288 "@StatusErr[DatabaseError][500999002][Database Error]!", 289 "@StatusErr[DatabaseError][500999002][Database Error]!" 290 ] 291 } 292 } 293 } 294 }, 295 "/srv-applet-mgr/v0/account_access_key": { 296 "post": { 297 "tags": [ 298 "apis/account_access_key" 299 ], 300 "summary": "CreateAccountAccessKey create account access key", 301 "operationId": "CreateAccountAccessKey", 302 "parameters": [ 303 { 304 "name": "Authorization", 305 "in": "header", 306 "schema": { 307 "type": "string", 308 "minLength": 1, 309 "x-go-field-name": "AuthInHeader", 310 "x-tag-name": "Authorization,omitempty", 311 "x-tag-validate": "@string[1,]" 312 } 313 }, 314 { 315 "name": "authorization", 316 "in": "query", 317 "schema": { 318 "type": "string", 319 "minLength": 1, 320 "x-go-field-name": "AuthInQuery", 321 "x-tag-name": "authorization,omitempty", 322 "x-tag-validate": "@string[1,]" 323 } 324 } 325 ], 326 "requestBody": { 327 "required": true, 328 "content": { 329 "application/json": { 330 "schema": { 331 "allOf": [ 332 { 333 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateReqBase" 334 }, 335 { 336 "x-go-field-name": "CreateAccountAccessKeyReq" 337 } 338 ] 339 } 340 } 341 } 342 }, 343 "responses": { 344 "201": { 345 "description": "", 346 "content": { 347 "application/json": { 348 "schema": { 349 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp" 350 } 351 } 352 } 353 }, 354 "400": { 355 "description": "", 356 "content": { 357 "application/json": { 358 "schema": { 359 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 360 } 361 } 362 }, 363 "x-status-errors": [ 364 "@StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!" 365 ] 366 }, 367 "401": { 368 "description": "", 369 "content": { 370 "application/json": { 371 "schema": { 372 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 373 } 374 } 375 }, 376 "x-status-errors": [ 377 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 378 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 379 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 380 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 381 ] 382 }, 383 "404": { 384 "description": "", 385 "content": { 386 "application/json": { 387 "schema": { 388 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 389 } 390 } 391 }, 392 "x-status-errors": [ 393 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 394 ] 395 }, 396 "409": { 397 "description": "", 398 "content": { 399 "application/json": { 400 "schema": { 401 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 402 } 403 } 404 }, 405 "x-status-errors": [ 406 "@StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!" 407 ] 408 }, 409 "500": { 410 "description": "", 411 "content": { 412 "application/json": { 413 "schema": { 414 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 415 } 416 } 417 }, 418 "x-status-errors": [ 419 "@StatusErr[DatabaseError][500999002][Database Error]!", 420 "@StatusErr[DatabaseError][500999002][Database Error]!" 421 ] 422 } 423 } 424 } 425 }, 426 "/srv-applet-mgr/v0/account_access_key/data/{name}": { 427 "get": { 428 "tags": [ 429 "apis/account_access_key" 430 ], 431 "operationId": "GetAccessKeyByName", 432 "parameters": [ 433 { 434 "name": "name", 435 "in": "path", 436 "required": true, 437 "schema": { 438 "type": "string", 439 "x-go-field-name": "Name", 440 "x-tag-name": "name" 441 } 442 }, 443 { 444 "name": "Authorization", 445 "in": "header", 446 "schema": { 447 "type": "string", 448 "minLength": 1, 449 "x-go-field-name": "AuthInHeader", 450 "x-tag-name": "Authorization,omitempty", 451 "x-tag-validate": "@string[1,]" 452 } 453 }, 454 { 455 "name": "authorization", 456 "in": "query", 457 "schema": { 458 "type": "string", 459 "minLength": 1, 460 "x-go-field-name": "AuthInQuery", 461 "x-tag-name": "authorization,omitempty", 462 "x-tag-validate": "@string[1,]" 463 } 464 } 465 ], 466 "responses": { 467 "200": { 468 "description": "", 469 "content": { 470 "application/json": { 471 "schema": { 472 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyListData" 473 } 474 } 475 } 476 }, 477 "401": { 478 "description": "", 479 "content": { 480 "application/json": { 481 "schema": { 482 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 483 } 484 } 485 }, 486 "x-status-errors": [ 487 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 488 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 489 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 490 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 491 ] 492 }, 493 "404": { 494 "description": "", 495 "content": { 496 "application/json": { 497 "schema": { 498 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 499 } 500 } 501 }, 502 "x-status-errors": [ 503 "@StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!", 504 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 505 ] 506 }, 507 "500": { 508 "description": "", 509 "content": { 510 "application/json": { 511 "schema": { 512 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 513 } 514 } 515 }, 516 "x-status-errors": [ 517 "@StatusErr[DatabaseError][500999002][Database Error]!", 518 "@StatusErr[DatabaseError][500999002][Database Error]!" 519 ] 520 } 521 } 522 } 523 }, 524 "/srv-applet-mgr/v0/account_access_key/datalist": { 525 "get": { 526 "tags": [ 527 "apis/account_access_key" 528 ], 529 "summary": "ListAccountAccessKey get api access key list under current account", 530 "operationId": "ListAccountAccessKey", 531 "parameters": [ 532 { 533 "name": "Authorization", 534 "in": "header", 535 "schema": { 536 "type": "string", 537 "minLength": 1, 538 "x-go-field-name": "AuthInHeader", 539 "x-tag-name": "Authorization,omitempty", 540 "x-tag-validate": "@string[1,]" 541 } 542 }, 543 { 544 "name": "authorization", 545 "in": "query", 546 "schema": { 547 "type": "string", 548 "minLength": 1, 549 "x-go-field-name": "AuthInQuery", 550 "x-tag-name": "authorization,omitempty", 551 "x-tag-validate": "@string[1,]" 552 } 553 }, 554 { 555 "name": "expiredAtBegin", 556 "in": "query", 557 "schema": { 558 "allOf": [ 559 { 560 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 561 }, 562 { 563 "x-go-field-name": "ExpiredAtBegin", 564 "x-tag-name": "expiredAtBegin,omitempty" 565 } 566 ] 567 } 568 }, 569 { 570 "name": "expiredAtEnd", 571 "in": "query", 572 "schema": { 573 "allOf": [ 574 { 575 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 576 }, 577 { 578 "x-go-field-name": "ExpiredAtEnd", 579 "x-tag-name": "expiredAtEnd,omitempty" 580 } 581 ] 582 } 583 }, 584 { 585 "name": "identityID", 586 "in": "query", 587 "schema": { 588 "allOf": [ 589 { 590 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFIDs" 591 }, 592 { 593 "x-go-field-name": "IdentityIDs", 594 "x-tag-name": "identityID,omitempty" 595 } 596 ] 597 } 598 }, 599 { 600 "name": "identityType", 601 "in": "query", 602 "schema": { 603 "type": "array", 604 "items": { 605 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType" 606 }, 607 "x-go-field-name": "IdentityTypes", 608 "x-tag-name": "identityType,omitempty" 609 } 610 }, 611 { 612 "name": "name", 613 "in": "query", 614 "schema": { 615 "type": "array", 616 "items": { 617 "type": "string" 618 }, 619 "x-go-field-name": "Names", 620 "x-tag-name": "name,omitempty" 621 } 622 }, 623 { 624 "name": "offset", 625 "in": "query", 626 "schema": { 627 "type": "integer", 628 "format": "int64", 629 "maximum": 9223372036854776000, 630 "minimum": 0, 631 "default": "0", 632 "x-go-field-name": "Offset", 633 "x-tag-name": "offset,omitempty", 634 "x-tag-validate": "@int64[0,]" 635 } 636 }, 637 { 638 "name": "size", 639 "in": "query", 640 "schema": { 641 "type": "integer", 642 "format": "int64", 643 "maximum": 9223372036854776000, 644 "minimum": -1, 645 "default": "10", 646 "x-go-field-name": "Size", 647 "x-tag-name": "size,omitempty", 648 "x-tag-validate": "@int64[-1,]" 649 } 650 } 651 ], 652 "responses": { 653 "200": { 654 "description": "", 655 "content": { 656 "application/json": { 657 "schema": { 658 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp" 659 } 660 } 661 } 662 }, 663 "401": { 664 "description": "", 665 "content": { 666 "application/json": { 667 "schema": { 668 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 669 } 670 } 671 }, 672 "x-status-errors": [ 673 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 674 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 675 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 676 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 677 ] 678 }, 679 "404": { 680 "description": "", 681 "content": { 682 "application/json": { 683 "schema": { 684 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 685 } 686 } 687 }, 688 "x-status-errors": [ 689 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 690 ] 691 }, 692 "500": { 693 "description": "", 694 "content": { 695 "application/json": { 696 "schema": { 697 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 698 } 699 } 700 }, 701 "x-status-errors": [ 702 "@StatusErr[DatabaseError][500999002][Database Error]!", 703 "@StatusErr[DatabaseError][500999002][Database Error]!" 704 ] 705 } 706 } 707 } 708 }, 709 "/srv-applet-mgr/v0/account_access_key/operator_group_metas": { 710 "get": { 711 "tags": [ 712 "apis/account_access_key" 713 ], 714 "summary": "List operator group metas", 715 "operationId": "ListAccessGroupMetas", 716 "parameters": [ 717 { 718 "name": "Authorization", 719 "in": "header", 720 "schema": { 721 "type": "string", 722 "minLength": 1, 723 "x-go-field-name": "AuthInHeader", 724 "x-tag-name": "Authorization,omitempty", 725 "x-tag-validate": "@string[1,]" 726 } 727 }, 728 { 729 "name": "authorization", 730 "in": "query", 731 "schema": { 732 "type": "string", 733 "minLength": 1, 734 "x-go-field-name": "AuthInQuery", 735 "x-tag-name": "authorization,omitempty", 736 "x-tag-validate": "@string[1,]" 737 } 738 } 739 ], 740 "responses": { 741 "200": { 742 "description": "", 743 "content": { 744 "application/json": { 745 "schema": { 746 "type": "array", 747 "items": { 748 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase" 749 } 750 } 751 } 752 } 753 }, 754 "401": { 755 "description": "", 756 "content": { 757 "application/json": { 758 "schema": { 759 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 760 } 761 } 762 }, 763 "x-status-errors": [ 764 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 765 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 766 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 767 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 768 ] 769 }, 770 "404": { 771 "description": "", 772 "content": { 773 "application/json": { 774 "schema": { 775 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 776 } 777 } 778 }, 779 "x-status-errors": [ 780 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 781 ] 782 }, 783 "500": { 784 "description": "", 785 "content": { 786 "application/json": { 787 "schema": { 788 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 789 } 790 } 791 }, 792 "x-status-errors": [ 793 "@StatusErr[DatabaseError][500999002][Database Error]!" 794 ] 795 } 796 } 797 } 798 }, 799 "/srv-applet-mgr/v0/account_access_key/{name}": { 800 "delete": { 801 "tags": [ 802 "apis/account_access_key" 803 ], 804 "summary": "DeleteAccountAccessKeyByName delete access key by name under current account", 805 "operationId": "DeleteAccountAccessKeyByName", 806 "parameters": [ 807 { 808 "name": "name", 809 "in": "path", 810 "required": true, 811 "schema": { 812 "type": "string", 813 "x-go-field-name": "Name", 814 "x-tag-name": "name" 815 } 816 }, 817 { 818 "name": "Authorization", 819 "in": "header", 820 "schema": { 821 "type": "string", 822 "minLength": 1, 823 "x-go-field-name": "AuthInHeader", 824 "x-tag-name": "Authorization,omitempty", 825 "x-tag-validate": "@string[1,]" 826 } 827 }, 828 { 829 "name": "authorization", 830 "in": "query", 831 "schema": { 832 "type": "string", 833 "minLength": 1, 834 "x-go-field-name": "AuthInQuery", 835 "x-tag-name": "authorization,omitempty", 836 "x-tag-validate": "@string[1,]" 837 } 838 } 839 ], 840 "responses": { 841 "204": { 842 "description": "" 843 }, 844 "401": { 845 "description": "", 846 "content": { 847 "application/json": { 848 "schema": { 849 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 850 } 851 } 852 }, 853 "x-status-errors": [ 854 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 855 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 856 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 857 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 858 ] 859 }, 860 "404": { 861 "description": "", 862 "content": { 863 "application/json": { 864 "schema": { 865 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 866 } 867 } 868 }, 869 "x-status-errors": [ 870 "@StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!", 871 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 872 ] 873 }, 874 "500": { 875 "description": "", 876 "content": { 877 "application/json": { 878 "schema": { 879 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 880 } 881 } 882 }, 883 "x-status-errors": [ 884 "@StatusErr[DatabaseError][500999002][Database Error]!", 885 "@StatusErr[DatabaseError][500999002][Database Error]!" 886 ] 887 } 888 } 889 }, 890 "put": { 891 "tags": [ 892 "apis/account_access_key" 893 ], 894 "summary": "Update current account access key by name", 895 "operationId": "UpdateAccountAccessKeyByName", 896 "parameters": [ 897 { 898 "name": "name", 899 "in": "path", 900 "required": true, 901 "schema": { 902 "type": "string", 903 "x-go-field-name": "Name", 904 "x-tag-name": "name" 905 } 906 }, 907 { 908 "name": "Authorization", 909 "in": "header", 910 "schema": { 911 "type": "string", 912 "minLength": 1, 913 "x-go-field-name": "AuthInHeader", 914 "x-tag-name": "Authorization,omitempty", 915 "x-tag-validate": "@string[1,]" 916 } 917 }, 918 { 919 "name": "authorization", 920 "in": "query", 921 "schema": { 922 "type": "string", 923 "minLength": 1, 924 "x-go-field-name": "AuthInQuery", 925 "x-tag-name": "authorization,omitempty", 926 "x-tag-validate": "@string[1,]" 927 } 928 } 929 ], 930 "requestBody": { 931 "required": true, 932 "content": { 933 "application/json": { 934 "schema": { 935 "allOf": [ 936 { 937 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateReq" 938 }, 939 { 940 "x-go-field-name": "UpdateReq" 941 } 942 ] 943 } 944 } 945 } 946 }, 947 "responses": { 948 "200": { 949 "description": "", 950 "content": { 951 "application/json": { 952 "schema": { 953 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp" 954 } 955 } 956 } 957 }, 958 "401": { 959 "description": "", 960 "content": { 961 "application/json": { 962 "schema": { 963 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 964 } 965 } 966 }, 967 "x-status-errors": [ 968 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 969 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 970 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 971 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 972 ] 973 }, 974 "404": { 975 "description": "", 976 "content": { 977 "application/json": { 978 "schema": { 979 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 980 } 981 } 982 }, 983 "x-status-errors": [ 984 "@StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!", 985 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 986 ] 987 }, 988 "500": { 989 "description": "", 990 "content": { 991 "application/json": { 992 "schema": { 993 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 994 } 995 } 996 }, 997 "x-status-errors": [ 998 "@StatusErr[DatabaseError][500999002][Database Error]!", 999 "@StatusErr[DatabaseError][500999002][Database Error]!" 1000 ] 1001 } 1002 } 1003 } 1004 }, 1005 "/srv-applet-mgr/v0/applet/data/{appletID}": { 1006 "delete": { 1007 "tags": [ 1008 "apis/applet" 1009 ], 1010 "summary": "RemoveApplet remove applet by applet id", 1011 "operationId": "RemoveApplet", 1012 "parameters": [ 1013 { 1014 "name": "appletID", 1015 "in": "path", 1016 "required": true, 1017 "schema": { 1018 "allOf": [ 1019 { 1020 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1021 }, 1022 { 1023 "x-go-field-name": "AppletID", 1024 "x-tag-name": "appletID" 1025 } 1026 ] 1027 } 1028 }, 1029 { 1030 "name": "Authorization", 1031 "in": "header", 1032 "schema": { 1033 "type": "string", 1034 "minLength": 1, 1035 "x-go-field-name": "AuthInHeader", 1036 "x-tag-name": "Authorization,omitempty", 1037 "x-tag-validate": "@string[1,]" 1038 } 1039 }, 1040 { 1041 "name": "authorization", 1042 "in": "query", 1043 "schema": { 1044 "type": "string", 1045 "minLength": 1, 1046 "x-go-field-name": "AuthInQuery", 1047 "x-tag-name": "authorization,omitempty", 1048 "x-tag-validate": "@string[1,]" 1049 } 1050 } 1051 ], 1052 "responses": { 1053 "204": { 1054 "description": "" 1055 }, 1056 "400": { 1057 "description": "", 1058 "content": { 1059 "application/json": { 1060 "schema": { 1061 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1062 } 1063 } 1064 }, 1065 "x-status-errors": [ 1066 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 1067 ] 1068 }, 1069 "401": { 1070 "description": "", 1071 "content": { 1072 "application/json": { 1073 "schema": { 1074 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1075 } 1076 } 1077 }, 1078 "x-status-errors": [ 1079 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1080 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1081 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1082 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1083 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1084 ] 1085 }, 1086 "404": { 1087 "description": "", 1088 "content": { 1089 "application/json": { 1090 "schema": { 1091 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1092 } 1093 } 1094 }, 1095 "x-status-errors": [ 1096 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1097 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 1098 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 1099 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 1100 ] 1101 }, 1102 "500": { 1103 "description": "", 1104 "content": { 1105 "application/json": { 1106 "schema": { 1107 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1108 } 1109 } 1110 }, 1111 "x-status-errors": [ 1112 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 1113 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 1114 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 1115 "@StatusErr[DatabaseError][500999002][Database Error]!", 1116 "@StatusErr[DatabaseError][500999002][Database Error]!" 1117 ] 1118 } 1119 } 1120 }, 1121 "get": { 1122 "tags": [ 1123 "apis/applet" 1124 ], 1125 "summary": "GetApplet get applet by applet id", 1126 "operationId": "GetApplet", 1127 "parameters": [ 1128 { 1129 "name": "appletID", 1130 "in": "path", 1131 "required": true, 1132 "schema": { 1133 "allOf": [ 1134 { 1135 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1136 }, 1137 { 1138 "x-go-field-name": "AppletID", 1139 "x-tag-name": "appletID" 1140 } 1141 ] 1142 } 1143 }, 1144 { 1145 "name": "Authorization", 1146 "in": "header", 1147 "schema": { 1148 "type": "string", 1149 "minLength": 1, 1150 "x-go-field-name": "AuthInHeader", 1151 "x-tag-name": "Authorization,omitempty", 1152 "x-tag-validate": "@string[1,]" 1153 } 1154 }, 1155 { 1156 "name": "authorization", 1157 "in": "query", 1158 "schema": { 1159 "type": "string", 1160 "minLength": 1, 1161 "x-go-field-name": "AuthInQuery", 1162 "x-tag-name": "authorization,omitempty", 1163 "x-tag-validate": "@string[1,]" 1164 } 1165 } 1166 ], 1167 "responses": { 1168 "200": { 1169 "description": "", 1170 "content": { 1171 "application/json": { 1172 "schema": { 1173 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsApplet" 1174 } 1175 } 1176 } 1177 }, 1178 "401": { 1179 "description": "", 1180 "content": { 1181 "application/json": { 1182 "schema": { 1183 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1184 } 1185 } 1186 }, 1187 "x-status-errors": [ 1188 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1189 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1190 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1191 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1192 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1193 ] 1194 }, 1195 "404": { 1196 "description": "", 1197 "content": { 1198 "application/json": { 1199 "schema": { 1200 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1201 } 1202 } 1203 }, 1204 "x-status-errors": [ 1205 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1206 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 1207 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 1208 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 1209 ] 1210 }, 1211 "500": { 1212 "description": "", 1213 "content": { 1214 "application/json": { 1215 "schema": { 1216 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1217 } 1218 } 1219 }, 1220 "x-status-errors": [ 1221 "@StatusErr[DatabaseError][500999002][Database Error]!", 1222 "@StatusErr[DatabaseError][500999002][Database Error]!" 1223 ] 1224 } 1225 } 1226 } 1227 }, 1228 "/srv-applet-mgr/v0/applet/x/{projectName}": { 1229 "delete": { 1230 "tags": [ 1231 "apis/applet" 1232 ], 1233 "summary": "BatchRemoveApplet remove applets with condition under project permission", 1234 "operationId": "BatchRemoveApplet", 1235 "parameters": [ 1236 { 1237 "name": "projectName", 1238 "in": "path", 1239 "required": true, 1240 "schema": { 1241 "type": "string", 1242 "format": "projectName", 1243 "x-go-field-name": "ProjectName", 1244 "x-tag-name": "projectName", 1245 "x-tag-validate": "@projectName" 1246 } 1247 }, 1248 { 1249 "name": "Authorization", 1250 "in": "header", 1251 "schema": { 1252 "type": "string", 1253 "minLength": 1, 1254 "x-go-field-name": "AuthInHeader", 1255 "x-tag-name": "Authorization,omitempty", 1256 "x-tag-validate": "@string[1,]" 1257 } 1258 }, 1259 { 1260 "name": "appletID", 1261 "in": "query", 1262 "schema": { 1263 "type": "array", 1264 "items": { 1265 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1266 }, 1267 "x-go-field-name": "AppletIDs", 1268 "x-tag-name": "appletID,omitempty" 1269 } 1270 }, 1271 { 1272 "name": "authorization", 1273 "in": "query", 1274 "schema": { 1275 "type": "string", 1276 "minLength": 1, 1277 "x-go-field-name": "AuthInQuery", 1278 "x-tag-name": "authorization,omitempty", 1279 "x-tag-validate": "@string[1,]" 1280 } 1281 }, 1282 { 1283 "name": "lName", 1284 "in": "query", 1285 "schema": { 1286 "type": "string", 1287 "x-go-field-name": "LNameLike", 1288 "x-tag-name": "lName,omitempty" 1289 } 1290 }, 1291 { 1292 "name": "name", 1293 "in": "query", 1294 "schema": { 1295 "type": "string", 1296 "x-go-field-name": "NameLike", 1297 "x-tag-name": "name,omitempty" 1298 } 1299 }, 1300 { 1301 "name": "names", 1302 "in": "query", 1303 "schema": { 1304 "type": "array", 1305 "items": { 1306 "type": "string" 1307 }, 1308 "x-go-field-name": "Names", 1309 "x-tag-name": "names,omitempty" 1310 } 1311 } 1312 ], 1313 "responses": { 1314 "204": { 1315 "description": "" 1316 }, 1317 "400": { 1318 "description": "", 1319 "content": { 1320 "application/json": { 1321 "schema": { 1322 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1323 } 1324 } 1325 }, 1326 "x-status-errors": [ 1327 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 1328 ] 1329 }, 1330 "401": { 1331 "description": "", 1332 "content": { 1333 "application/json": { 1334 "schema": { 1335 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1336 } 1337 } 1338 }, 1339 "x-status-errors": [ 1340 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 1341 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1342 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1343 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1344 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1345 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1346 ] 1347 }, 1348 "404": { 1349 "description": "", 1350 "content": { 1351 "application/json": { 1352 "schema": { 1353 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1354 } 1355 } 1356 }, 1357 "x-status-errors": [ 1358 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 1359 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1360 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 1361 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 1362 ] 1363 }, 1364 "500": { 1365 "description": "", 1366 "content": { 1367 "application/json": { 1368 "schema": { 1369 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1370 } 1371 } 1372 }, 1373 "x-status-errors": [ 1374 "@StatusErr[BatchRemoveAppletFailed][500999009][Batch Remove Applet Failed]!", 1375 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 1376 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 1377 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 1378 "@StatusErr[DatabaseError][500999002][Database Error]!", 1379 "@StatusErr[DatabaseError][500999002][Database Error]!", 1380 "@StatusErr[DatabaseError][500999002][Database Error]!" 1381 ] 1382 } 1383 } 1384 }, 1385 "post": { 1386 "tags": [ 1387 "apis/applet" 1388 ], 1389 "operationId": "CreateApplet", 1390 "parameters": [ 1391 { 1392 "name": "projectName", 1393 "in": "path", 1394 "required": true, 1395 "schema": { 1396 "type": "string", 1397 "format": "projectName", 1398 "x-go-field-name": "ProjectName", 1399 "x-tag-name": "projectName", 1400 "x-tag-validate": "@projectName" 1401 } 1402 }, 1403 { 1404 "name": "Authorization", 1405 "in": "header", 1406 "schema": { 1407 "type": "string", 1408 "minLength": 1, 1409 "x-go-field-name": "AuthInHeader", 1410 "x-tag-name": "Authorization,omitempty", 1411 "x-tag-validate": "@string[1,]" 1412 } 1413 }, 1414 { 1415 "name": "authorization", 1416 "in": "query", 1417 "schema": { 1418 "type": "string", 1419 "minLength": 1, 1420 "x-go-field-name": "AuthInQuery", 1421 "x-tag-name": "authorization,omitempty", 1422 "x-tag-validate": "@string[1,]" 1423 } 1424 } 1425 ], 1426 "requestBody": { 1427 "required": true, 1428 "content": { 1429 "multipart/form-data": { 1430 "schema": { 1431 "allOf": [ 1432 { 1433 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletCreateReq" 1434 }, 1435 { 1436 "x-go-field-name": "CreateReq", 1437 "x-tag-mime": "multipart" 1438 } 1439 ] 1440 } 1441 } 1442 } 1443 }, 1444 "responses": { 1445 "201": { 1446 "description": "", 1447 "content": { 1448 "application/json": { 1449 "schema": { 1450 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp" 1451 } 1452 } 1453 } 1454 }, 1455 "400": { 1456 "description": "", 1457 "content": { 1458 "application/json": { 1459 "schema": { 1460 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1461 } 1462 } 1463 }, 1464 "x-status-errors": [ 1465 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!", 1466 "@StatusErr[InvalidVMState][400999012][Invalid VM State]!" 1467 ] 1468 }, 1469 "401": { 1470 "description": "", 1471 "content": { 1472 "application/json": { 1473 "schema": { 1474 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1475 } 1476 } 1477 }, 1478 "x-status-errors": [ 1479 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 1480 "@StatusErr[InvalidAppletContext][401999016][Invalid Applet]!", 1481 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1482 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1483 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1484 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1485 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1486 ] 1487 }, 1488 "403": { 1489 "description": "", 1490 "content": { 1491 "application/json": { 1492 "schema": { 1493 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1494 } 1495 } 1496 }, 1497 "x-status-errors": [ 1498 "@StatusErr[UploadFileDiskLimit][403999006][Upload File Disk Limit]!", 1499 "@StatusErr[UploadFileMd5Unmatched][403999005][Upload File Md5 Unmatched]!", 1500 "@StatusErr[UploadFileSizeLimit][403999004][Upload File Size Limit]!" 1501 ] 1502 }, 1503 "404": { 1504 "description": "", 1505 "content": { 1506 "application/json": { 1507 "schema": { 1508 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1509 } 1510 } 1511 }, 1512 "x-status-errors": [ 1513 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 1514 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1515 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 1516 "@StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!" 1517 ] 1518 }, 1519 "409": { 1520 "description": "", 1521 "content": { 1522 "application/json": { 1523 "schema": { 1524 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1525 } 1526 } 1527 }, 1528 "x-status-errors": [ 1529 "@StatusErr[AppletNameConflict][409999009][Applet Name Conflict]!", 1530 "@StatusErr[ConfigConflict][409999006][Config Conflict]!", 1531 "@StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!", 1532 "@StatusErr[ResourceConflict][409999003][Resource Conflict]!", 1533 "@StatusErr[StrategyConflict][409999005][Strategy Conflict]!" 1534 ] 1535 }, 1536 "500": { 1537 "description": "", 1538 "content": { 1539 "application/json": { 1540 "schema": { 1541 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1542 } 1543 } 1544 }, 1545 "x-status-errors": [ 1546 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 1547 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 1548 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 1549 "@StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!", 1550 "@StatusErr[DatabaseError][500999002][Database Error]!", 1551 "@StatusErr[DatabaseError][500999002][Database Error]!", 1552 "@StatusErr[DatabaseError][500999002][Database Error]!", 1553 "@StatusErr[UploadFileFailed][500999003][Upload File Failed]!" 1554 ] 1555 } 1556 } 1557 } 1558 }, 1559 "/srv-applet-mgr/v0/applet/x/{projectName}/datalist": { 1560 "get": { 1561 "tags": [ 1562 "apis/applet" 1563 ], 1564 "summary": "ListApplet list applets with condition under project permission", 1565 "operationId": "ListApplet", 1566 "parameters": [ 1567 { 1568 "name": "projectName", 1569 "in": "path", 1570 "required": true, 1571 "schema": { 1572 "type": "string", 1573 "format": "projectName", 1574 "x-go-field-name": "ProjectName", 1575 "x-tag-name": "projectName", 1576 "x-tag-validate": "@projectName" 1577 } 1578 }, 1579 { 1580 "name": "Authorization", 1581 "in": "header", 1582 "schema": { 1583 "type": "string", 1584 "minLength": 1, 1585 "x-go-field-name": "AuthInHeader", 1586 "x-tag-name": "Authorization,omitempty", 1587 "x-tag-validate": "@string[1,]" 1588 } 1589 }, 1590 { 1591 "name": "appletID", 1592 "in": "query", 1593 "schema": { 1594 "type": "array", 1595 "items": { 1596 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1597 }, 1598 "x-go-field-name": "AppletIDs", 1599 "x-tag-name": "appletID,omitempty" 1600 } 1601 }, 1602 { 1603 "name": "authorization", 1604 "in": "query", 1605 "schema": { 1606 "type": "string", 1607 "minLength": 1, 1608 "x-go-field-name": "AuthInQuery", 1609 "x-tag-name": "authorization,omitempty", 1610 "x-tag-validate": "@string[1,]" 1611 } 1612 }, 1613 { 1614 "name": "lName", 1615 "in": "query", 1616 "schema": { 1617 "type": "string", 1618 "x-go-field-name": "LNameLike", 1619 "x-tag-name": "lName,omitempty" 1620 } 1621 }, 1622 { 1623 "name": "name", 1624 "in": "query", 1625 "schema": { 1626 "type": "string", 1627 "x-go-field-name": "NameLike", 1628 "x-tag-name": "name,omitempty" 1629 } 1630 }, 1631 { 1632 "name": "names", 1633 "in": "query", 1634 "schema": { 1635 "type": "array", 1636 "items": { 1637 "type": "string" 1638 }, 1639 "x-go-field-name": "Names", 1640 "x-tag-name": "names,omitempty" 1641 } 1642 }, 1643 { 1644 "name": "offset", 1645 "in": "query", 1646 "schema": { 1647 "type": "integer", 1648 "format": "int64", 1649 "maximum": 9223372036854776000, 1650 "minimum": 0, 1651 "default": "0", 1652 "x-go-field-name": "Offset", 1653 "x-tag-name": "offset,omitempty", 1654 "x-tag-validate": "@int64[0,]" 1655 } 1656 }, 1657 { 1658 "name": "size", 1659 "in": "query", 1660 "schema": { 1661 "type": "integer", 1662 "format": "int64", 1663 "maximum": 9223372036854776000, 1664 "minimum": -1, 1665 "default": "10", 1666 "x-go-field-name": "Size", 1667 "x-tag-name": "size,omitempty", 1668 "x-tag-validate": "@int64[-1,]" 1669 } 1670 } 1671 ], 1672 "responses": { 1673 "200": { 1674 "description": "", 1675 "content": { 1676 "application/json": { 1677 "schema": { 1678 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletListRsp" 1679 } 1680 } 1681 } 1682 }, 1683 "401": { 1684 "description": "", 1685 "content": { 1686 "application/json": { 1687 "schema": { 1688 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1689 } 1690 } 1691 }, 1692 "x-status-errors": [ 1693 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 1694 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1695 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1696 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1697 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1698 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1699 ] 1700 }, 1701 "404": { 1702 "description": "", 1703 "content": { 1704 "application/json": { 1705 "schema": { 1706 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1707 } 1708 } 1709 }, 1710 "x-status-errors": [ 1711 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 1712 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1713 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 1714 ] 1715 }, 1716 "500": { 1717 "description": "", 1718 "content": { 1719 "application/json": { 1720 "schema": { 1721 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1722 } 1723 } 1724 }, 1725 "x-status-errors": [ 1726 "@StatusErr[DatabaseError][500999002][Database Error]!", 1727 "@StatusErr[DatabaseError][500999002][Database Error]!", 1728 "@StatusErr[DatabaseError][500999002][Database Error]!" 1729 ] 1730 } 1731 } 1732 } 1733 }, 1734 "/srv-applet-mgr/v0/applet/{appletID}": { 1735 "put": { 1736 "tags": [ 1737 "apis/applet" 1738 ], 1739 "operationId": "UpdateApplet", 1740 "parameters": [ 1741 { 1742 "name": "appletID", 1743 "in": "path", 1744 "required": true, 1745 "schema": { 1746 "allOf": [ 1747 { 1748 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1749 }, 1750 { 1751 "x-go-field-name": "AppletID", 1752 "x-tag-name": "appletID" 1753 } 1754 ] 1755 } 1756 }, 1757 { 1758 "name": "Authorization", 1759 "in": "header", 1760 "schema": { 1761 "type": "string", 1762 "minLength": 1, 1763 "x-go-field-name": "AuthInHeader", 1764 "x-tag-name": "Authorization,omitempty", 1765 "x-tag-validate": "@string[1,]" 1766 } 1767 }, 1768 { 1769 "name": "authorization", 1770 "in": "query", 1771 "schema": { 1772 "type": "string", 1773 "minLength": 1, 1774 "x-go-field-name": "AuthInQuery", 1775 "x-tag-name": "authorization,omitempty", 1776 "x-tag-validate": "@string[1,]" 1777 } 1778 } 1779 ], 1780 "requestBody": { 1781 "required": true, 1782 "content": { 1783 "multipart/form-data": { 1784 "schema": { 1785 "allOf": [ 1786 { 1787 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletUpdateReq" 1788 }, 1789 { 1790 "x-go-field-name": "UpdateReq", 1791 "x-tag-mime": "multipart" 1792 } 1793 ] 1794 } 1795 } 1796 } 1797 }, 1798 "responses": { 1799 "200": { 1800 "description": "", 1801 "content": { 1802 "application/json": { 1803 "schema": { 1804 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp" 1805 } 1806 } 1807 } 1808 }, 1809 "400": { 1810 "description": "", 1811 "content": { 1812 "application/json": { 1813 "schema": { 1814 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1815 } 1816 } 1817 }, 1818 "x-status-errors": [ 1819 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!", 1820 "@StatusErr[InvalidVMState][400999012][Invalid VM State]!" 1821 ] 1822 }, 1823 "401": { 1824 "description": "", 1825 "content": { 1826 "application/json": { 1827 "schema": { 1828 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1829 } 1830 } 1831 }, 1832 "x-status-errors": [ 1833 "@StatusErr[InvalidAppletContext][401999016][Invalid Applet]!", 1834 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 1835 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 1836 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 1837 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 1838 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 1839 ] 1840 }, 1841 "403": { 1842 "description": "", 1843 "content": { 1844 "application/json": { 1845 "schema": { 1846 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1847 } 1848 } 1849 }, 1850 "x-status-errors": [ 1851 "@StatusErr[UploadFileDiskLimit][403999006][Upload File Disk Limit]!", 1852 "@StatusErr[UploadFileMd5Unmatched][403999005][Upload File Md5 Unmatched]!", 1853 "@StatusErr[UploadFileSizeLimit][403999004][Upload File Size Limit]!" 1854 ] 1855 }, 1856 "404": { 1857 "description": "", 1858 "content": { 1859 "application/json": { 1860 "schema": { 1861 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1862 } 1863 } 1864 }, 1865 "x-status-errors": [ 1866 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 1867 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 1868 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 1869 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 1870 "@StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!" 1871 ] 1872 }, 1873 "409": { 1874 "description": "", 1875 "content": { 1876 "application/json": { 1877 "schema": { 1878 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1879 } 1880 } 1881 }, 1882 "x-status-errors": [ 1883 "@StatusErr[AppletNameConflict][409999009][Applet Name Conflict]!", 1884 "@StatusErr[ConfigConflict][409999006][Config Conflict]!", 1885 "@StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!", 1886 "@StatusErr[ResourceConflict][409999003][Resource Conflict]!", 1887 "@StatusErr[StrategyConflict][409999005][Strategy Conflict]!" 1888 ] 1889 }, 1890 "500": { 1891 "description": "", 1892 "content": { 1893 "application/json": { 1894 "schema": { 1895 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 1896 } 1897 } 1898 }, 1899 "x-status-errors": [ 1900 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 1901 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 1902 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 1903 "@StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!", 1904 "@StatusErr[DatabaseError][500999002][Database Error]!", 1905 "@StatusErr[DatabaseError][500999002][Database Error]!", 1906 "@StatusErr[UploadFileFailed][500999003][Upload File Failed]!" 1907 ] 1908 } 1909 } 1910 } 1911 }, 1912 "/srv-applet-mgr/v0/configuration/chain_config": { 1913 "get": { 1914 "tags": [ 1915 "apis/configuration" 1916 ], 1917 "operationId": "ChainConfig", 1918 "responses": { 1919 "200": { 1920 "description": "", 1921 "content": { 1922 "application/json": { 1923 "schema": { 1924 "$ref": "#/components/schemas/ChainConfigResp" 1925 } 1926 } 1927 } 1928 } 1929 } 1930 } 1931 }, 1932 "/srv-applet-mgr/v0/configuration/eth_client": { 1933 "get": { 1934 "tags": [ 1935 "apis/configuration" 1936 ], 1937 "operationId": "EthClient", 1938 "responses": { 1939 "200": { 1940 "description": "", 1941 "content": { 1942 "application/json": { 1943 "schema": { 1944 "$ref": "#/components/schemas/EthClientRsp" 1945 } 1946 } 1947 } 1948 } 1949 } 1950 } 1951 }, 1952 "/srv-applet-mgr/v0/cronjob/data/{cronJobID}": { 1953 "delete": { 1954 "tags": [ 1955 "apis/cronjob" 1956 ], 1957 "operationId": "RemoveCronJob", 1958 "parameters": [ 1959 { 1960 "name": "cronJobID", 1961 "in": "path", 1962 "required": true, 1963 "schema": { 1964 "allOf": [ 1965 { 1966 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 1967 }, 1968 { 1969 "x-go-field-name": "CronJobID", 1970 "x-tag-name": "cronJobID" 1971 } 1972 ] 1973 } 1974 }, 1975 { 1976 "name": "Authorization", 1977 "in": "header", 1978 "schema": { 1979 "type": "string", 1980 "minLength": 1, 1981 "x-go-field-name": "AuthInHeader", 1982 "x-tag-name": "Authorization,omitempty", 1983 "x-tag-validate": "@string[1,]" 1984 } 1985 }, 1986 { 1987 "name": "authorization", 1988 "in": "query", 1989 "schema": { 1990 "type": "string", 1991 "minLength": 1, 1992 "x-go-field-name": "AuthInQuery", 1993 "x-tag-name": "authorization,omitempty", 1994 "x-tag-validate": "@string[1,]" 1995 } 1996 } 1997 ], 1998 "responses": { 1999 "204": { 2000 "description": "" 2001 }, 2002 "401": { 2003 "description": "", 2004 "content": { 2005 "application/json": { 2006 "schema": { 2007 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2008 } 2009 } 2010 }, 2011 "x-status-errors": [ 2012 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2013 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2014 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2015 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2016 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2017 ] 2018 }, 2019 "404": { 2020 "description": "", 2021 "content": { 2022 "application/json": { 2023 "schema": { 2024 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2025 } 2026 } 2027 }, 2028 "x-status-errors": [ 2029 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2030 "@StatusErr[CronJobNotFound][404999011][Cron Job Not Found]!", 2031 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 2032 ] 2033 }, 2034 "500": { 2035 "description": "", 2036 "content": { 2037 "application/json": { 2038 "schema": { 2039 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2040 } 2041 } 2042 }, 2043 "x-status-errors": [ 2044 "@StatusErr[DatabaseError][500999002][Database Error]!", 2045 "@StatusErr[DatabaseError][500999002][Database Error]!" 2046 ] 2047 } 2048 } 2049 } 2050 }, 2051 "/srv-applet-mgr/v0/cronjob/{projectID}": { 2052 "get": { 2053 "tags": [ 2054 "apis/cronjob" 2055 ], 2056 "operationId": "ListCronJob", 2057 "parameters": [ 2058 { 2059 "name": "projectID", 2060 "in": "path", 2061 "required": true, 2062 "schema": { 2063 "allOf": [ 2064 { 2065 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2066 }, 2067 { 2068 "x-go-field-name": "ProjectID", 2069 "x-tag-name": "projectID" 2070 } 2071 ] 2072 } 2073 }, 2074 { 2075 "name": "Authorization", 2076 "in": "header", 2077 "schema": { 2078 "type": "string", 2079 "minLength": 1, 2080 "x-go-field-name": "AuthInHeader", 2081 "x-tag-name": "Authorization,omitempty", 2082 "x-tag-validate": "@string[1,]" 2083 } 2084 }, 2085 { 2086 "name": "authorization", 2087 "in": "query", 2088 "schema": { 2089 "type": "string", 2090 "minLength": 1, 2091 "x-go-field-name": "AuthInQuery", 2092 "x-tag-name": "authorization,omitempty", 2093 "x-tag-validate": "@string[1,]" 2094 } 2095 }, 2096 { 2097 "name": "cronJobID", 2098 "in": "query", 2099 "schema": { 2100 "type": "array", 2101 "items": { 2102 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2103 }, 2104 "x-go-field-name": "CronJobIDs", 2105 "x-tag-name": "cronJobID,omitempty" 2106 } 2107 }, 2108 { 2109 "name": "eventType", 2110 "in": "query", 2111 "schema": { 2112 "type": "array", 2113 "items": { 2114 "type": "string" 2115 }, 2116 "x-go-field-name": "EventTypes", 2117 "x-tag-name": "eventType,omitempty" 2118 } 2119 }, 2120 { 2121 "name": "offset", 2122 "in": "query", 2123 "schema": { 2124 "type": "integer", 2125 "format": "int64", 2126 "maximum": 9223372036854776000, 2127 "minimum": 0, 2128 "default": "0", 2129 "x-go-field-name": "Offset", 2130 "x-tag-name": "offset,omitempty", 2131 "x-tag-validate": "@int64[0,]" 2132 } 2133 }, 2134 { 2135 "name": "size", 2136 "in": "query", 2137 "schema": { 2138 "type": "integer", 2139 "format": "int64", 2140 "maximum": 9223372036854776000, 2141 "minimum": -1, 2142 "default": "10", 2143 "x-go-field-name": "Size", 2144 "x-tag-name": "size,omitempty", 2145 "x-tag-validate": "@int64[-1,]" 2146 } 2147 } 2148 ], 2149 "responses": { 2150 "200": { 2151 "description": "", 2152 "content": { 2153 "application/json": { 2154 "schema": { 2155 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesCronjobListRsp" 2156 } 2157 } 2158 } 2159 }, 2160 "401": { 2161 "description": "", 2162 "content": { 2163 "application/json": { 2164 "schema": { 2165 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2166 } 2167 } 2168 }, 2169 "x-status-errors": [ 2170 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2171 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2172 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2173 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2174 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2175 ] 2176 }, 2177 "404": { 2178 "description": "", 2179 "content": { 2180 "application/json": { 2181 "schema": { 2182 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2183 } 2184 } 2185 }, 2186 "x-status-errors": [ 2187 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2188 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 2189 ] 2190 }, 2191 "500": { 2192 "description": "", 2193 "content": { 2194 "application/json": { 2195 "schema": { 2196 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2197 } 2198 } 2199 }, 2200 "x-status-errors": [ 2201 "@StatusErr[DatabaseError][500999002][Database Error]!", 2202 "@StatusErr[DatabaseError][500999002][Database Error]!" 2203 ] 2204 } 2205 } 2206 }, 2207 "post": { 2208 "tags": [ 2209 "apis/cronjob" 2210 ], 2211 "operationId": "CreateCronJob", 2212 "parameters": [ 2213 { 2214 "name": "projectID", 2215 "in": "path", 2216 "required": true, 2217 "schema": { 2218 "allOf": [ 2219 { 2220 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2221 }, 2222 { 2223 "x-go-field-name": "ProjectID", 2224 "x-tag-name": "projectID" 2225 } 2226 ] 2227 } 2228 }, 2229 { 2230 "name": "Authorization", 2231 "in": "header", 2232 "schema": { 2233 "type": "string", 2234 "minLength": 1, 2235 "x-go-field-name": "AuthInHeader", 2236 "x-tag-name": "Authorization,omitempty", 2237 "x-tag-validate": "@string[1,]" 2238 } 2239 }, 2240 { 2241 "name": "authorization", 2242 "in": "query", 2243 "schema": { 2244 "type": "string", 2245 "minLength": 1, 2246 "x-go-field-name": "AuthInQuery", 2247 "x-tag-name": "authorization,omitempty", 2248 "x-tag-validate": "@string[1,]" 2249 } 2250 } 2251 ], 2252 "requestBody": { 2253 "required": true, 2254 "content": { 2255 "application/json": { 2256 "schema": { 2257 "allOf": [ 2258 { 2259 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesCronjobCreateReq" 2260 }, 2261 { 2262 "x-go-field-name": "CreateReq" 2263 } 2264 ] 2265 } 2266 } 2267 } 2268 }, 2269 "responses": { 2270 "201": { 2271 "description": "", 2272 "content": { 2273 "application/json": { 2274 "schema": { 2275 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsCronJob" 2276 } 2277 } 2278 } 2279 }, 2280 "400": { 2281 "description": "", 2282 "content": { 2283 "application/json": { 2284 "schema": { 2285 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2286 } 2287 } 2288 }, 2289 "x-status-errors": [ 2290 "@StatusErr[InvalidCronExpressions][400999005][Invalid Cron Expressions]!" 2291 ] 2292 }, 2293 "401": { 2294 "description": "", 2295 "content": { 2296 "application/json": { 2297 "schema": { 2298 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2299 } 2300 } 2301 }, 2302 "x-status-errors": [ 2303 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2304 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2305 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2306 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2307 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2308 ] 2309 }, 2310 "404": { 2311 "description": "", 2312 "content": { 2313 "application/json": { 2314 "schema": { 2315 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2316 } 2317 } 2318 }, 2319 "x-status-errors": [ 2320 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2321 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 2322 ] 2323 }, 2324 "409": { 2325 "description": "", 2326 "content": { 2327 "application/json": { 2328 "schema": { 2329 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2330 } 2331 } 2332 }, 2333 "x-status-errors": [ 2334 "@StatusErr[CronJobConflict][409999010][Cron Job Conflict]!" 2335 ] 2336 }, 2337 "500": { 2338 "description": "", 2339 "content": { 2340 "application/json": { 2341 "schema": { 2342 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2343 } 2344 } 2345 }, 2346 "x-status-errors": [ 2347 "@StatusErr[DatabaseError][500999002][Database Error]!", 2348 "@StatusErr[DatabaseError][500999002][Database Error]!" 2349 ] 2350 } 2351 } 2352 } 2353 }, 2354 "/srv-applet-mgr/v0/debug/instance/{id}": { 2355 "get": { 2356 "tags": [ 2357 "apis/debug" 2358 ], 2359 "operationId": "GetInstance", 2360 "parameters": [ 2361 { 2362 "name": "id", 2363 "in": "path", 2364 "required": true, 2365 "schema": { 2366 "allOf": [ 2367 { 2368 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2369 }, 2370 { 2371 "x-go-field-name": "ID", 2372 "x-tag-name": "id" 2373 } 2374 ] 2375 } 2376 } 2377 ], 2378 "responses": { 2379 "200": { 2380 "description": "", 2381 "content": { 2382 "application/json": { 2383 "schema": { 2384 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsInstanceState" 2385 } 2386 } 2387 } 2388 } 2389 } 2390 } 2391 }, 2392 "/srv-applet-mgr/v0/debug/instances": { 2393 "get": { 2394 "tags": [ 2395 "apis/debug" 2396 ], 2397 "summary": "FetchInstances fetch instances states in memory", 2398 "operationId": "FetchInstances", 2399 "responses": { 2400 "200": { 2401 "description": "", 2402 "content": { 2403 "application/json": { 2404 "schema": { 2405 "type": "object", 2406 "additionalProperties": { 2407 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsInstanceState" 2408 }, 2409 "propertyNames": { 2410 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2411 } 2412 } 2413 } 2414 } 2415 } 2416 } 2417 } 2418 }, 2419 "/srv-applet-mgr/v0/deploy/applet/{appletID}": { 2420 "get": { 2421 "tags": [ 2422 "apis/deploy" 2423 ], 2424 "operationId": "GetInstanceByAppletID", 2425 "parameters": [ 2426 { 2427 "name": "appletID", 2428 "in": "path", 2429 "required": true, 2430 "schema": { 2431 "allOf": [ 2432 { 2433 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2434 }, 2435 { 2436 "x-go-field-name": "AppletID", 2437 "x-tag-name": "appletID" 2438 } 2439 ] 2440 } 2441 }, 2442 { 2443 "name": "Authorization", 2444 "in": "header", 2445 "schema": { 2446 "type": "string", 2447 "minLength": 1, 2448 "x-go-field-name": "AuthInHeader", 2449 "x-tag-name": "Authorization,omitempty", 2450 "x-tag-validate": "@string[1,]" 2451 } 2452 }, 2453 { 2454 "name": "authorization", 2455 "in": "query", 2456 "schema": { 2457 "type": "string", 2458 "minLength": 1, 2459 "x-go-field-name": "AuthInQuery", 2460 "x-tag-name": "authorization,omitempty", 2461 "x-tag-validate": "@string[1,]" 2462 } 2463 } 2464 ], 2465 "responses": { 2466 "200": { 2467 "description": "", 2468 "content": { 2469 "application/json": { 2470 "schema": { 2471 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstance" 2472 } 2473 } 2474 } 2475 }, 2476 "401": { 2477 "description": "", 2478 "content": { 2479 "application/json": { 2480 "schema": { 2481 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2482 } 2483 } 2484 }, 2485 "x-status-errors": [ 2486 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2487 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2488 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2489 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2490 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2491 ] 2492 }, 2493 "404": { 2494 "description": "", 2495 "content": { 2496 "application/json": { 2497 "schema": { 2498 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2499 } 2500 } 2501 }, 2502 "x-status-errors": [ 2503 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2504 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 2505 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 2506 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 2507 ] 2508 }, 2509 "500": { 2510 "description": "", 2511 "content": { 2512 "application/json": { 2513 "schema": { 2514 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2515 } 2516 } 2517 }, 2518 "x-status-errors": [ 2519 "@StatusErr[DatabaseError][500999002][Database Error]!", 2520 "@StatusErr[DatabaseError][500999002][Database Error]!" 2521 ] 2522 } 2523 } 2524 }, 2525 "post": { 2526 "tags": [ 2527 "apis/deploy" 2528 ], 2529 "operationId": "CreateAndStartInstance", 2530 "parameters": [ 2531 { 2532 "name": "appletID", 2533 "in": "path", 2534 "required": true, 2535 "schema": { 2536 "allOf": [ 2537 { 2538 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2539 }, 2540 { 2541 "x-go-field-name": "AppletID", 2542 "x-tag-name": "appletID" 2543 } 2544 ] 2545 } 2546 }, 2547 { 2548 "name": "Authorization", 2549 "in": "header", 2550 "schema": { 2551 "type": "string", 2552 "minLength": 1, 2553 "x-go-field-name": "AuthInHeader", 2554 "x-tag-name": "Authorization,omitempty", 2555 "x-tag-validate": "@string[1,]" 2556 } 2557 }, 2558 { 2559 "name": "authorization", 2560 "in": "query", 2561 "schema": { 2562 "type": "string", 2563 "minLength": 1, 2564 "x-go-field-name": "AuthInQuery", 2565 "x-tag-name": "authorization,omitempty", 2566 "x-tag-validate": "@string[1,]" 2567 } 2568 } 2569 ], 2570 "requestBody": { 2571 "required": true, 2572 "content": { 2573 "application/json": { 2574 "schema": { 2575 "allOf": [ 2576 { 2577 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesDeployCreateReq" 2578 }, 2579 { 2580 "x-go-field-name": "CreateReq" 2581 } 2582 ] 2583 } 2584 } 2585 } 2586 }, 2587 "responses": { 2588 "201": { 2589 "description": "", 2590 "content": { 2591 "application/json": { 2592 "schema": { 2593 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstance" 2594 } 2595 } 2596 } 2597 }, 2598 "400": { 2599 "description": "", 2600 "content": { 2601 "application/json": { 2602 "schema": { 2603 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2604 } 2605 } 2606 }, 2607 "x-status-errors": [ 2608 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!", 2609 "@StatusErr[InvalidVMState][400999012][Invalid VM State]!", 2610 "@StatusErr[UnknownDeployCommand][400999004][Unknown Deploy Command]!" 2611 ] 2612 }, 2613 "401": { 2614 "description": "", 2615 "content": { 2616 "application/json": { 2617 "schema": { 2618 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2619 } 2620 } 2621 }, 2622 "x-status-errors": [ 2623 "@StatusErr[InvalidAppletContext][401999016][Invalid Applet]!", 2624 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2625 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2626 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2627 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2628 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2629 ] 2630 }, 2631 "404": { 2632 "description": "", 2633 "content": { 2634 "application/json": { 2635 "schema": { 2636 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2637 } 2638 } 2639 }, 2640 "x-status-errors": [ 2641 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2642 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 2643 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 2644 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 2645 "@StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!", 2646 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 2647 ] 2648 }, 2649 "409": { 2650 "description": "", 2651 "content": { 2652 "application/json": { 2653 "schema": { 2654 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2655 } 2656 } 2657 }, 2658 "x-status-errors": [ 2659 "@StatusErr[ConfigConflict][409999006][Config Conflict]!", 2660 "@StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!" 2661 ] 2662 }, 2663 "500": { 2664 "description": "", 2665 "content": { 2666 "application/json": { 2667 "schema": { 2668 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2669 } 2670 } 2671 }, 2672 "x-status-errors": [ 2673 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 2674 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 2675 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 2676 "@StatusErr[CreateInstanceFailed][500999008][Create Instance Failed]!", 2677 "@StatusErr[DatabaseError][500999002][Database Error]!", 2678 "@StatusErr[DatabaseError][500999002][Database Error]!", 2679 "@StatusErr[FetchResourceFailed][500999004][Fetch Resource Failed]!" 2680 ] 2681 } 2682 } 2683 } 2684 }, 2685 "/srv-applet-mgr/v0/deploy/data/{instanceID}": { 2686 "delete": { 2687 "tags": [ 2688 "apis/deploy" 2689 ], 2690 "summary": "RemoveInstance remove instance by instance id", 2691 "operationId": "RemoveInstance", 2692 "parameters": [ 2693 { 2694 "name": "instanceID", 2695 "in": "path", 2696 "required": true, 2697 "schema": { 2698 "allOf": [ 2699 { 2700 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2701 }, 2702 { 2703 "x-go-field-name": "InstanceID", 2704 "x-tag-name": "instanceID" 2705 } 2706 ] 2707 } 2708 }, 2709 { 2710 "name": "Authorization", 2711 "in": "header", 2712 "schema": { 2713 "type": "string", 2714 "minLength": 1, 2715 "x-go-field-name": "AuthInHeader", 2716 "x-tag-name": "Authorization,omitempty", 2717 "x-tag-validate": "@string[1,]" 2718 } 2719 }, 2720 { 2721 "name": "authorization", 2722 "in": "query", 2723 "schema": { 2724 "type": "string", 2725 "minLength": 1, 2726 "x-go-field-name": "AuthInQuery", 2727 "x-tag-name": "authorization,omitempty", 2728 "x-tag-validate": "@string[1,]" 2729 } 2730 } 2731 ], 2732 "responses": { 2733 "204": { 2734 "description": "" 2735 }, 2736 "400": { 2737 "description": "", 2738 "content": { 2739 "application/json": { 2740 "schema": { 2741 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2742 } 2743 } 2744 }, 2745 "x-status-errors": [ 2746 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 2747 ] 2748 }, 2749 "401": { 2750 "description": "", 2751 "content": { 2752 "application/json": { 2753 "schema": { 2754 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2755 } 2756 } 2757 }, 2758 "x-status-errors": [ 2759 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2760 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2761 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2762 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2763 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2764 ] 2765 }, 2766 "404": { 2767 "description": "", 2768 "content": { 2769 "application/json": { 2770 "schema": { 2771 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2772 } 2773 } 2774 }, 2775 "x-status-errors": [ 2776 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2777 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 2778 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 2779 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 2780 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 2781 ] 2782 }, 2783 "500": { 2784 "description": "", 2785 "content": { 2786 "application/json": { 2787 "schema": { 2788 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2789 } 2790 } 2791 }, 2792 "x-status-errors": [ 2793 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 2794 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 2795 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 2796 "@StatusErr[DatabaseError][500999002][Database Error]!", 2797 "@StatusErr[DatabaseError][500999002][Database Error]!" 2798 ] 2799 } 2800 } 2801 } 2802 }, 2803 "/srv-applet-mgr/v0/deploy/instance/{instanceID}": { 2804 "get": { 2805 "tags": [ 2806 "apis/deploy" 2807 ], 2808 "operationId": "GetInstanceByInstanceID", 2809 "parameters": [ 2810 { 2811 "name": "instanceID", 2812 "in": "path", 2813 "required": true, 2814 "schema": { 2815 "allOf": [ 2816 { 2817 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2818 }, 2819 { 2820 "x-go-field-name": "InstanceID", 2821 "x-tag-name": "instanceID" 2822 } 2823 ] 2824 } 2825 }, 2826 { 2827 "name": "Authorization", 2828 "in": "header", 2829 "schema": { 2830 "type": "string", 2831 "minLength": 1, 2832 "x-go-field-name": "AuthInHeader", 2833 "x-tag-name": "Authorization,omitempty", 2834 "x-tag-validate": "@string[1,]" 2835 } 2836 }, 2837 { 2838 "name": "authorization", 2839 "in": "query", 2840 "schema": { 2841 "type": "string", 2842 "minLength": 1, 2843 "x-go-field-name": "AuthInQuery", 2844 "x-tag-name": "authorization,omitempty", 2845 "x-tag-validate": "@string[1,]" 2846 } 2847 } 2848 ], 2849 "responses": { 2850 "200": { 2851 "description": "", 2852 "content": { 2853 "application/json": { 2854 "schema": { 2855 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstance" 2856 } 2857 } 2858 } 2859 }, 2860 "401": { 2861 "description": "", 2862 "content": { 2863 "application/json": { 2864 "schema": { 2865 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2866 } 2867 } 2868 }, 2869 "x-status-errors": [ 2870 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 2871 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 2872 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 2873 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 2874 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 2875 ] 2876 }, 2877 "404": { 2878 "description": "", 2879 "content": { 2880 "application/json": { 2881 "schema": { 2882 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2883 } 2884 } 2885 }, 2886 "x-status-errors": [ 2887 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 2888 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 2889 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 2890 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 2891 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 2892 ] 2893 }, 2894 "500": { 2895 "description": "", 2896 "content": { 2897 "application/json": { 2898 "schema": { 2899 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 2900 } 2901 } 2902 }, 2903 "x-status-errors": [ 2904 "@StatusErr[DatabaseError][500999002][Database Error]!", 2905 "@StatusErr[DatabaseError][500999002][Database Error]!" 2906 ] 2907 } 2908 } 2909 } 2910 }, 2911 "/srv-applet-mgr/v0/deploy/x/{projectName}": { 2912 "delete": { 2913 "tags": [ 2914 "apis/deploy" 2915 ], 2916 "summary": "BatchRemoveInstance remove instances by condition", 2917 "operationId": "BatchRemoveInstance", 2918 "parameters": [ 2919 { 2920 "name": "projectName", 2921 "in": "path", 2922 "required": true, 2923 "schema": { 2924 "type": "string", 2925 "format": "projectName", 2926 "x-go-field-name": "ProjectName", 2927 "x-tag-name": "projectName", 2928 "x-tag-validate": "@projectName" 2929 } 2930 }, 2931 { 2932 "name": "Authorization", 2933 "in": "header", 2934 "schema": { 2935 "type": "string", 2936 "minLength": 1, 2937 "x-go-field-name": "AuthInHeader", 2938 "x-tag-name": "Authorization,omitempty", 2939 "x-tag-validate": "@string[1,]" 2940 } 2941 }, 2942 { 2943 "name": "appletID", 2944 "in": "query", 2945 "schema": { 2946 "type": "array", 2947 "items": { 2948 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2949 }, 2950 "x-go-field-name": "AppletIDs", 2951 "x-tag-name": "appletID,omitempty" 2952 } 2953 }, 2954 { 2955 "name": "authorization", 2956 "in": "query", 2957 "schema": { 2958 "type": "string", 2959 "minLength": 1, 2960 "x-go-field-name": "AuthInQuery", 2961 "x-tag-name": "authorization,omitempty", 2962 "x-tag-validate": "@string[1,]" 2963 } 2964 }, 2965 { 2966 "name": "instanceID", 2967 "in": "query", 2968 "schema": { 2969 "type": "array", 2970 "items": { 2971 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 2972 }, 2973 "x-go-field-name": "InstanceIDs", 2974 "x-tag-name": "instanceID,omitempty" 2975 } 2976 }, 2977 { 2978 "name": "state", 2979 "in": "query", 2980 "schema": { 2981 "type": "array", 2982 "items": { 2983 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsInstanceState" 2984 }, 2985 "x-go-field-name": "States", 2986 "x-tag-name": "state,omitempty" 2987 } 2988 } 2989 ], 2990 "responses": { 2991 "204": { 2992 "description": "" 2993 }, 2994 "400": { 2995 "description": "", 2996 "content": { 2997 "application/json": { 2998 "schema": { 2999 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3000 } 3001 } 3002 }, 3003 "x-status-errors": [ 3004 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 3005 ] 3006 }, 3007 "401": { 3008 "description": "", 3009 "content": { 3010 "application/json": { 3011 "schema": { 3012 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3013 } 3014 } 3015 }, 3016 "x-status-errors": [ 3017 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 3018 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 3019 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3020 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3021 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3022 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3023 ] 3024 }, 3025 "404": { 3026 "description": "", 3027 "content": { 3028 "application/json": { 3029 "schema": { 3030 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3031 } 3032 } 3033 }, 3034 "x-status-errors": [ 3035 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 3036 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3037 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 3038 ] 3039 }, 3040 "500": { 3041 "description": "", 3042 "content": { 3043 "application/json": { 3044 "schema": { 3045 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3046 } 3047 } 3048 }, 3049 "x-status-errors": [ 3050 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 3051 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 3052 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 3053 "@StatusErr[DatabaseError][500999002][Database Error]!", 3054 "@StatusErr[DatabaseError][500999002][Database Error]!", 3055 "@StatusErr[DatabaseError][500999002][Database Error]!" 3056 ] 3057 } 3058 } 3059 } 3060 }, 3061 "/srv-applet-mgr/v0/deploy/{instanceID}/{cmd}": { 3062 "put": { 3063 "tags": [ 3064 "apis/deploy" 3065 ], 3066 "operationId": "ControlInstance", 3067 "parameters": [ 3068 { 3069 "name": "cmd", 3070 "in": "path", 3071 "required": true, 3072 "schema": { 3073 "allOf": [ 3074 { 3075 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsDeployCmd" 3076 }, 3077 { 3078 "x-go-field-name": "Cmd", 3079 "x-tag-name": "cmd" 3080 } 3081 ] 3082 } 3083 }, 3084 { 3085 "name": "instanceID", 3086 "in": "path", 3087 "required": true, 3088 "schema": { 3089 "allOf": [ 3090 { 3091 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 3092 }, 3093 { 3094 "x-go-field-name": "InstanceID", 3095 "x-tag-name": "instanceID" 3096 } 3097 ] 3098 } 3099 }, 3100 { 3101 "name": "Authorization", 3102 "in": "header", 3103 "schema": { 3104 "type": "string", 3105 "minLength": 1, 3106 "x-go-field-name": "AuthInHeader", 3107 "x-tag-name": "Authorization,omitempty", 3108 "x-tag-validate": "@string[1,]" 3109 } 3110 }, 3111 { 3112 "name": "authorization", 3113 "in": "query", 3114 "schema": { 3115 "type": "string", 3116 "minLength": 1, 3117 "x-go-field-name": "AuthInQuery", 3118 "x-tag-name": "authorization,omitempty", 3119 "x-tag-validate": "@string[1,]" 3120 } 3121 } 3122 ], 3123 "responses": { 3124 "204": { 3125 "description": "" 3126 }, 3127 "400": { 3128 "description": "", 3129 "content": { 3130 "application/json": { 3131 "schema": { 3132 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3133 } 3134 } 3135 }, 3136 "x-status-errors": [ 3137 "@StatusErr[UnknownDeployCommand][400999004][Unknown Deploy Command]!" 3138 ] 3139 }, 3140 "401": { 3141 "description": "", 3142 "content": { 3143 "application/json": { 3144 "schema": { 3145 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3146 } 3147 } 3148 }, 3149 "x-status-errors": [ 3150 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 3151 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3152 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3153 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3154 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3155 ] 3156 }, 3157 "404": { 3158 "description": "", 3159 "content": { 3160 "application/json": { 3161 "schema": { 3162 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3163 } 3164 } 3165 }, 3166 "x-status-errors": [ 3167 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3168 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 3169 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 3170 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 3171 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 3172 ] 3173 }, 3174 "409": { 3175 "description": "", 3176 "content": { 3177 "application/json": { 3178 "schema": { 3179 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3180 } 3181 } 3182 }, 3183 "x-status-errors": [ 3184 "@StatusErr[MultiInstanceDeployed][409999008][Multi Instance Deployed]!" 3185 ] 3186 }, 3187 "500": { 3188 "description": "", 3189 "content": { 3190 "application/json": { 3191 "schema": { 3192 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3193 } 3194 } 3195 }, 3196 "x-status-errors": [ 3197 "@StatusErr[DatabaseError][500999002][Database Error]!", 3198 "@StatusErr[DatabaseError][500999002][Database Error]!" 3199 ] 3200 } 3201 } 3202 } 3203 }, 3204 "/srv-applet-mgr/v0/event/{channel}": { 3205 "post": { 3206 "tags": [ 3207 "apis/event" 3208 ], 3209 "operationId": "HandleEvent", 3210 "parameters": [ 3211 { 3212 "name": "channel", 3213 "in": "path", 3214 "required": true, 3215 "schema": { 3216 "type": "string", 3217 "description": "Channel message channel named (intact project name)", 3218 "x-go-field-name": "Channel", 3219 "x-tag-name": "channel" 3220 } 3221 }, 3222 { 3223 "name": "Authorization", 3224 "in": "header", 3225 "schema": { 3226 "type": "string", 3227 "minLength": 1, 3228 "x-go-field-name": "AuthInHeader", 3229 "x-tag-name": "Authorization,omitempty", 3230 "x-tag-validate": "@string[1,]" 3231 } 3232 }, 3233 { 3234 "name": "authorization", 3235 "in": "query", 3236 "schema": { 3237 "type": "string", 3238 "minLength": 1, 3239 "x-go-field-name": "AuthInQuery", 3240 "x-tag-name": "authorization,omitempty", 3241 "x-tag-validate": "@string[1,]" 3242 } 3243 }, 3244 { 3245 "name": "eventID", 3246 "in": "query", 3247 "schema": { 3248 "type": "string", 3249 "description": "EventID unique id for tracing event under channel", 3250 "x-go-field-name": "EventID", 3251 "x-tag-name": "eventID,omitempty" 3252 } 3253 }, 3254 { 3255 "name": "eventType", 3256 "in": "query", 3257 "schema": { 3258 "type": "string", 3259 "description": "EventType used for filter strategies created in w3b before", 3260 "x-go-field-name": "EventType", 3261 "x-tag-name": "eventType,omitempty" 3262 } 3263 }, 3264 { 3265 "name": "from", 3266 "in": "query", 3267 "schema": { 3268 "allOf": [ 3269 { 3270 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsEventSource" 3271 }, 3272 { 3273 "description": "From transport source", 3274 "x-go-field-name": "From", 3275 "x-tag-name": "from,omitempty" 3276 } 3277 ] 3278 } 3279 }, 3280 { 3281 "name": "timestamp", 3282 "in": "query", 3283 "schema": { 3284 "type": "integer", 3285 "format": "int64", 3286 "description": "Timestamp event time when publisher do send", 3287 "x-go-field-name": "Timestamp", 3288 "x-tag-name": "timestamp,omitempty" 3289 } 3290 } 3291 ], 3292 "requestBody": { 3293 "required": true, 3294 "content": { 3295 "application/octet-stream": { 3296 "schema": { 3297 "allOf": [ 3298 { 3299 "$ref": "#/components/schemas/BytesBuffer" 3300 }, 3301 { 3302 "description": "Payload event payload (binary only)", 3303 "x-go-field-name": "Payload", 3304 "x-tag-mime": "stream" 3305 } 3306 ] 3307 } 3308 } 3309 } 3310 }, 3311 "responses": { 3312 "201": { 3313 "description": "", 3314 "content": { 3315 "application/json": { 3316 "schema": { 3317 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesEventEventRsp" 3318 } 3319 } 3320 } 3321 }, 3322 "401": { 3323 "description": "", 3324 "content": { 3325 "application/json": { 3326 "schema": { 3327 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3328 } 3329 } 3330 }, 3331 "x-status-errors": [ 3332 "@StatusErr[InvalidAuthPublisherID][401999012][Invalid Auth Publisher ID]!", 3333 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3334 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3335 "@StatusErr[InvalidDataPushShouldAccount][401999019][invalid data push should account]!", 3336 "@StatusErr[InvalidDataPushShouldPublisher][401999020][invalid data push should publisher]!", 3337 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3338 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3339 ] 3340 }, 3341 "404": { 3342 "description": "", 3343 "content": { 3344 "application/json": { 3345 "schema": { 3346 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3347 } 3348 } 3349 }, 3350 "x-status-errors": [ 3351 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3352 "@StatusErr[InvalidDataPushPayload][404999023][invalid data push payload]!", 3353 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 3354 "@StatusErr[PublisherNotFound][404999008][Publisher Not Found]!" 3355 ] 3356 }, 3357 "429": { 3358 "description": "", 3359 "content": { 3360 "application/json": { 3361 "schema": { 3362 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3363 } 3364 } 3365 }, 3366 "x-status-errors": [ 3367 "@StatusErr[TrafficLimitExceededFailed][429999002][Traffic Limit Exceeded Failed]!" 3368 ] 3369 }, 3370 "500": { 3371 "description": "", 3372 "content": { 3373 "application/json": { 3374 "schema": { 3375 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3376 } 3377 } 3378 }, 3379 "x-status-errors": [ 3380 "@StatusErr[DatabaseError][500999002][Database Error]!", 3381 "@StatusErr[DatabaseError][500999002][Database Error]!" 3382 ] 3383 } 3384 } 3385 } 3386 }, 3387 "/srv-applet-mgr/v0/login": { 3388 "put": { 3389 "tags": [ 3390 "apis/login" 3391 ], 3392 "operationId": "LoginByUsername", 3393 "requestBody": { 3394 "required": true, 3395 "content": { 3396 "application/json": { 3397 "schema": { 3398 "allOf": [ 3399 { 3400 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountLoginByUsernameReq" 3401 }, 3402 { 3403 "x-go-field-name": "LoginByUsernameReq" 3404 } 3405 ] 3406 } 3407 } 3408 } 3409 }, 3410 "responses": { 3411 "200": { 3412 "description": "", 3413 "content": { 3414 "application/json": { 3415 "schema": { 3416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp" 3417 } 3418 } 3419 } 3420 }, 3421 "401": { 3422 "description": "", 3423 "content": { 3424 "application/json": { 3425 "schema": { 3426 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3427 } 3428 } 3429 }, 3430 "x-status-errors": [ 3431 "@StatusErr[InvalidPassword][401999009][Invalid Password]!" 3432 ] 3433 }, 3434 "403": { 3435 "description": "", 3436 "content": { 3437 "application/json": { 3438 "schema": { 3439 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3440 } 3441 } 3442 }, 3443 "x-status-errors": [ 3444 "@StatusErr[DisabledAccount][403999002][Disabled Account]!" 3445 ] 3446 }, 3447 "404": { 3448 "description": "", 3449 "content": { 3450 "application/json": { 3451 "schema": { 3452 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3453 } 3454 } 3455 }, 3456 "x-status-errors": [ 3457 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 3458 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3459 "@StatusErr[AccountPasswordNotFound][404999018][Account Password Not Found]!" 3460 ] 3461 }, 3462 "500": { 3463 "description": "", 3464 "content": { 3465 "application/json": { 3466 "schema": { 3467 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3468 } 3469 } 3470 }, 3471 "x-status-errors": [ 3472 "@StatusErr[DatabaseError][500999002][Database Error]!", 3473 "@StatusErr[GenTokenFailed][500999013][Gen Token Failed]!" 3474 ] 3475 } 3476 } 3477 } 3478 }, 3479 "/srv-applet-mgr/v0/login/wallet": { 3480 "put": { 3481 "tags": [ 3482 "apis/login" 3483 ], 3484 "operationId": "LoginByEthAddress", 3485 "requestBody": { 3486 "required": true, 3487 "content": { 3488 "application/json": { 3489 "schema": { 3490 "allOf": [ 3491 { 3492 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountLoginByEthAddressReq" 3493 }, 3494 { 3495 "x-go-field-name": "LoginByEthAddressReq" 3496 } 3497 ] 3498 } 3499 } 3500 } 3501 }, 3502 "responses": { 3503 "200": { 3504 "description": "", 3505 "content": { 3506 "application/json": { 3507 "schema": { 3508 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp" 3509 } 3510 } 3511 } 3512 }, 3513 "401": { 3514 "description": "", 3515 "content": { 3516 "application/json": { 3517 "schema": { 3518 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3519 } 3520 } 3521 }, 3522 "x-status-errors": [ 3523 "@StatusErr[InvalidEthLoginMessage][401999011][Invalid Siwe Message]!", 3524 "@StatusErr[InvalidEthLoginSignature][401999010][Invalid Siwe Signature]!" 3525 ] 3526 }, 3527 "403": { 3528 "description": "", 3529 "content": { 3530 "application/json": { 3531 "schema": { 3532 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3533 } 3534 } 3535 }, 3536 "x-status-errors": [ 3537 "@StatusErr[DisabledAccount][403999002][Disabled Account]!", 3538 "@StatusErr[WhiteListForbidden][403999003][White List Forbidden]!" 3539 ] 3540 }, 3541 "404": { 3542 "description": "", 3543 "content": { 3544 "application/json": { 3545 "schema": { 3546 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3547 } 3548 } 3549 }, 3550 "x-status-errors": [ 3551 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 3552 ] 3553 }, 3554 "409": { 3555 "description": "", 3556 "content": { 3557 "application/json": { 3558 "schema": { 3559 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3560 } 3561 } 3562 }, 3563 "x-status-errors": [ 3564 "@StatusErr[AccountIdentityConflict][409999014][Account Identity Conflict]!", 3565 "@StatusErr[OperatorConflict][409999017][Operator Conflict]!" 3566 ] 3567 }, 3568 "500": { 3569 "description": "", 3570 "content": { 3571 "application/json": { 3572 "schema": { 3573 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3574 } 3575 } 3576 }, 3577 "x-status-errors": [ 3578 "@StatusErr[DatabaseError][500999002][Database Error]!", 3579 "@StatusErr[GenTokenFailed][500999013][Gen Token Failed]!" 3580 ] 3581 } 3582 } 3583 } 3584 }, 3585 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_height": { 3586 "post": { 3587 "tags": [ 3588 "apis/monitor" 3589 ], 3590 "operationId": "CreateChainHeight", 3591 "parameters": [ 3592 { 3593 "name": "projectName", 3594 "in": "path", 3595 "required": true, 3596 "schema": { 3597 "type": "string", 3598 "format": "projectName", 3599 "x-go-field-name": "ProjectName", 3600 "x-tag-name": "projectName", 3601 "x-tag-validate": "@projectName" 3602 } 3603 }, 3604 { 3605 "name": "Authorization", 3606 "in": "header", 3607 "schema": { 3608 "type": "string", 3609 "minLength": 1, 3610 "x-go-field-name": "AuthInHeader", 3611 "x-tag-name": "Authorization,omitempty", 3612 "x-tag-validate": "@string[1,]" 3613 } 3614 }, 3615 { 3616 "name": "authorization", 3617 "in": "query", 3618 "schema": { 3619 "type": "string", 3620 "minLength": 1, 3621 "x-go-field-name": "AuthInQuery", 3622 "x-tag-name": "authorization,omitempty", 3623 "x-tag-validate": "@string[1,]" 3624 } 3625 } 3626 ], 3627 "requestBody": { 3628 "required": true, 3629 "content": { 3630 "application/json": { 3631 "schema": { 3632 "allOf": [ 3633 { 3634 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainHeightReq" 3635 }, 3636 { 3637 "x-go-field-name": "CreateChainHeightReq" 3638 } 3639 ] 3640 } 3641 } 3642 } 3643 }, 3644 "responses": { 3645 "201": { 3646 "description": "", 3647 "content": { 3648 "application/json": { 3649 "schema": { 3650 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainHeight" 3651 } 3652 } 3653 } 3654 }, 3655 "401": { 3656 "description": "", 3657 "content": { 3658 "application/json": { 3659 "schema": { 3660 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3661 } 3662 } 3663 }, 3664 "x-status-errors": [ 3665 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 3666 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 3667 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3668 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3669 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3670 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3671 ] 3672 }, 3673 "404": { 3674 "description": "", 3675 "content": { 3676 "application/json": { 3677 "schema": { 3678 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3679 } 3680 } 3681 }, 3682 "x-status-errors": [ 3683 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 3684 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3685 "@StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!", 3686 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 3687 ] 3688 }, 3689 "409": { 3690 "description": "", 3691 "content": { 3692 "application/json": { 3693 "schema": { 3694 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3695 } 3696 } 3697 }, 3698 "x-status-errors": [ 3699 "@StatusErr[ChainHeightConflict][409999013][Chain Height Conflict]!" 3700 ] 3701 }, 3702 "500": { 3703 "description": "", 3704 "content": { 3705 "application/json": { 3706 "schema": { 3707 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3708 } 3709 } 3710 }, 3711 "x-status-errors": [ 3712 "@StatusErr[DatabaseError][500999002][Database Error]!", 3713 "@StatusErr[DatabaseError][500999002][Database Error]!", 3714 "@StatusErr[DatabaseError][500999002][Database Error]!" 3715 ] 3716 } 3717 } 3718 } 3719 }, 3720 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_height/{chainHeightID}": { 3721 "delete": { 3722 "tags": [ 3723 "apis/monitor" 3724 ], 3725 "operationId": "RemoveChainHeight", 3726 "parameters": [ 3727 { 3728 "name": "chainHeightID", 3729 "in": "path", 3730 "required": true, 3731 "schema": { 3732 "allOf": [ 3733 { 3734 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 3735 }, 3736 { 3737 "x-go-field-name": "ChainHeightID", 3738 "x-tag-name": "chainHeightID" 3739 } 3740 ] 3741 } 3742 }, 3743 { 3744 "name": "projectName", 3745 "in": "path", 3746 "required": true, 3747 "schema": { 3748 "type": "string", 3749 "format": "projectName", 3750 "x-go-field-name": "ProjectName", 3751 "x-tag-name": "projectName", 3752 "x-tag-validate": "@projectName" 3753 } 3754 }, 3755 { 3756 "name": "Authorization", 3757 "in": "header", 3758 "schema": { 3759 "type": "string", 3760 "minLength": 1, 3761 "x-go-field-name": "AuthInHeader", 3762 "x-tag-name": "Authorization,omitempty", 3763 "x-tag-validate": "@string[1,]" 3764 } 3765 }, 3766 { 3767 "name": "authorization", 3768 "in": "query", 3769 "schema": { 3770 "type": "string", 3771 "minLength": 1, 3772 "x-go-field-name": "AuthInQuery", 3773 "x-tag-name": "authorization,omitempty", 3774 "x-tag-validate": "@string[1,]" 3775 } 3776 } 3777 ], 3778 "responses": { 3779 "204": { 3780 "description": "" 3781 }, 3782 "401": { 3783 "description": "", 3784 "content": { 3785 "application/json": { 3786 "schema": { 3787 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3788 } 3789 } 3790 }, 3791 "x-status-errors": [ 3792 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 3793 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 3794 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3795 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3796 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3797 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3798 ] 3799 }, 3800 "404": { 3801 "description": "", 3802 "content": { 3803 "application/json": { 3804 "schema": { 3805 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3806 } 3807 } 3808 }, 3809 "x-status-errors": [ 3810 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 3811 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 3812 "@StatusErr[ChainHeightNotFound][404999016][Chain Height Not Found]!", 3813 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 3814 ] 3815 }, 3816 "500": { 3817 "description": "", 3818 "content": { 3819 "application/json": { 3820 "schema": { 3821 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3822 } 3823 } 3824 }, 3825 "x-status-errors": [ 3826 "@StatusErr[DatabaseError][500999002][Database Error]!", 3827 "@StatusErr[DatabaseError][500999002][Database Error]!", 3828 "@StatusErr[DatabaseError][500999002][Database Error]!" 3829 ] 3830 } 3831 } 3832 } 3833 }, 3834 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_height/{cmd}": { 3835 "put": { 3836 "tags": [ 3837 "apis/monitor" 3838 ], 3839 "operationId": "ControlChainHeight", 3840 "parameters": [ 3841 { 3842 "name": "cmd", 3843 "in": "path", 3844 "required": true, 3845 "schema": { 3846 "allOf": [ 3847 { 3848 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsMonitorCmd" 3849 }, 3850 { 3851 "x-go-field-name": "Cmd", 3852 "x-tag-name": "cmd" 3853 } 3854 ] 3855 } 3856 }, 3857 { 3858 "name": "projectName", 3859 "in": "path", 3860 "required": true, 3861 "schema": { 3862 "type": "string", 3863 "format": "projectName", 3864 "x-go-field-name": "ProjectName", 3865 "x-tag-name": "projectName", 3866 "x-tag-validate": "@projectName" 3867 } 3868 }, 3869 { 3870 "name": "Authorization", 3871 "in": "header", 3872 "schema": { 3873 "type": "string", 3874 "minLength": 1, 3875 "x-go-field-name": "AuthInHeader", 3876 "x-tag-name": "Authorization,omitempty", 3877 "x-tag-validate": "@string[1,]" 3878 } 3879 }, 3880 { 3881 "name": "authorization", 3882 "in": "query", 3883 "schema": { 3884 "type": "string", 3885 "minLength": 1, 3886 "x-go-field-name": "AuthInQuery", 3887 "x-tag-name": "authorization,omitempty", 3888 "x-tag-validate": "@string[1,]" 3889 } 3890 } 3891 ], 3892 "requestBody": { 3893 "required": true, 3894 "content": { 3895 "application/json": { 3896 "schema": { 3897 "allOf": [ 3898 { 3899 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq" 3900 }, 3901 { 3902 "x-go-field-name": "BatchUpdateMonitorReq" 3903 } 3904 ] 3905 } 3906 } 3907 } 3908 }, 3909 "responses": { 3910 "204": { 3911 "description": "" 3912 }, 3913 "400": { 3914 "description": "", 3915 "content": { 3916 "application/json": { 3917 "schema": { 3918 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3919 } 3920 } 3921 }, 3922 "x-status-errors": [ 3923 "@StatusErr[InvalidChainHeightIDs][400999011][Invalid Chain Height IDs]!", 3924 "@StatusErr[UnknownMonitorCommand][400999008][Unknown Deploy Command]!" 3925 ] 3926 }, 3927 "401": { 3928 "description": "", 3929 "content": { 3930 "application/json": { 3931 "schema": { 3932 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3933 } 3934 } 3935 }, 3936 "x-status-errors": [ 3937 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 3938 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 3939 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 3940 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 3941 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 3942 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 3943 ] 3944 }, 3945 "404": { 3946 "description": "", 3947 "content": { 3948 "application/json": { 3949 "schema": { 3950 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3951 } 3952 } 3953 }, 3954 "x-status-errors": [ 3955 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 3956 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 3957 ] 3958 }, 3959 "500": { 3960 "description": "", 3961 "content": { 3962 "application/json": { 3963 "schema": { 3964 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 3965 } 3966 } 3967 }, 3968 "x-status-errors": [ 3969 "@StatusErr[DatabaseError][500999002][Database Error]!", 3970 "@StatusErr[DatabaseError][500999002][Database Error]!", 3971 "@StatusErr[DatabaseError][500999002][Database Error]!" 3972 ] 3973 } 3974 } 3975 } 3976 }, 3977 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_tx": { 3978 "post": { 3979 "tags": [ 3980 "apis/monitor" 3981 ], 3982 "operationId": "CreateChainTx", 3983 "parameters": [ 3984 { 3985 "name": "projectName", 3986 "in": "path", 3987 "required": true, 3988 "schema": { 3989 "type": "string", 3990 "format": "projectName", 3991 "x-go-field-name": "ProjectName", 3992 "x-tag-name": "projectName", 3993 "x-tag-validate": "@projectName" 3994 } 3995 }, 3996 { 3997 "name": "Authorization", 3998 "in": "header", 3999 "schema": { 4000 "type": "string", 4001 "minLength": 1, 4002 "x-go-field-name": "AuthInHeader", 4003 "x-tag-name": "Authorization,omitempty", 4004 "x-tag-validate": "@string[1,]" 4005 } 4006 }, 4007 { 4008 "name": "authorization", 4009 "in": "query", 4010 "schema": { 4011 "type": "string", 4012 "minLength": 1, 4013 "x-go-field-name": "AuthInQuery", 4014 "x-tag-name": "authorization,omitempty", 4015 "x-tag-validate": "@string[1,]" 4016 } 4017 } 4018 ], 4019 "requestBody": { 4020 "required": true, 4021 "content": { 4022 "application/json": { 4023 "schema": { 4024 "allOf": [ 4025 { 4026 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainTxReq" 4027 }, 4028 { 4029 "x-go-field-name": "CreateChainTxReq" 4030 } 4031 ] 4032 } 4033 } 4034 } 4035 }, 4036 "responses": { 4037 "201": { 4038 "description": "", 4039 "content": { 4040 "application/json": { 4041 "schema": { 4042 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainTx" 4043 } 4044 } 4045 } 4046 }, 4047 "401": { 4048 "description": "", 4049 "content": { 4050 "application/json": { 4051 "schema": { 4052 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4053 } 4054 } 4055 }, 4056 "x-status-errors": [ 4057 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4058 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4059 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4060 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4061 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4062 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4063 ] 4064 }, 4065 "404": { 4066 "description": "", 4067 "content": { 4068 "application/json": { 4069 "schema": { 4070 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4071 } 4072 } 4073 }, 4074 "x-status-errors": [ 4075 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4076 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 4077 "@StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!", 4078 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 4079 ] 4080 }, 4081 "409": { 4082 "description": "", 4083 "content": { 4084 "application/json": { 4085 "schema": { 4086 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4087 } 4088 } 4089 }, 4090 "x-status-errors": [ 4091 "@StatusErr[ChainTxConflict][409999012][Chain Tx Conflict]!" 4092 ] 4093 }, 4094 "500": { 4095 "description": "", 4096 "content": { 4097 "application/json": { 4098 "schema": { 4099 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4100 } 4101 } 4102 }, 4103 "x-status-errors": [ 4104 "@StatusErr[DatabaseError][500999002][Database Error]!", 4105 "@StatusErr[DatabaseError][500999002][Database Error]!", 4106 "@StatusErr[DatabaseError][500999002][Database Error]!" 4107 ] 4108 } 4109 } 4110 } 4111 }, 4112 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_tx/{chainTxID}": { 4113 "delete": { 4114 "tags": [ 4115 "apis/monitor" 4116 ], 4117 "operationId": "RemoveChainTx", 4118 "parameters": [ 4119 { 4120 "name": "chainTxID", 4121 "in": "path", 4122 "required": true, 4123 "schema": { 4124 "allOf": [ 4125 { 4126 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 4127 }, 4128 { 4129 "x-go-field-name": "ChainTxID", 4130 "x-tag-name": "chainTxID" 4131 } 4132 ] 4133 } 4134 }, 4135 { 4136 "name": "projectName", 4137 "in": "path", 4138 "required": true, 4139 "schema": { 4140 "type": "string", 4141 "format": "projectName", 4142 "x-go-field-name": "ProjectName", 4143 "x-tag-name": "projectName", 4144 "x-tag-validate": "@projectName" 4145 } 4146 }, 4147 { 4148 "name": "Authorization", 4149 "in": "header", 4150 "schema": { 4151 "type": "string", 4152 "minLength": 1, 4153 "x-go-field-name": "AuthInHeader", 4154 "x-tag-name": "Authorization,omitempty", 4155 "x-tag-validate": "@string[1,]" 4156 } 4157 }, 4158 { 4159 "name": "authorization", 4160 "in": "query", 4161 "schema": { 4162 "type": "string", 4163 "minLength": 1, 4164 "x-go-field-name": "AuthInQuery", 4165 "x-tag-name": "authorization,omitempty", 4166 "x-tag-validate": "@string[1,]" 4167 } 4168 } 4169 ], 4170 "responses": { 4171 "204": { 4172 "description": "" 4173 }, 4174 "401": { 4175 "description": "", 4176 "content": { 4177 "application/json": { 4178 "schema": { 4179 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4180 } 4181 } 4182 }, 4183 "x-status-errors": [ 4184 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4185 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4186 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4187 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4188 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4189 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4190 ] 4191 }, 4192 "404": { 4193 "description": "", 4194 "content": { 4195 "application/json": { 4196 "schema": { 4197 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4198 } 4199 } 4200 }, 4201 "x-status-errors": [ 4202 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4203 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 4204 "@StatusErr[ChainTxNotFound][404999015][Chain Tx Not Found]!", 4205 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 4206 ] 4207 }, 4208 "500": { 4209 "description": "", 4210 "content": { 4211 "application/json": { 4212 "schema": { 4213 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4214 } 4215 } 4216 }, 4217 "x-status-errors": [ 4218 "@StatusErr[DatabaseError][500999002][Database Error]!", 4219 "@StatusErr[DatabaseError][500999002][Database Error]!", 4220 "@StatusErr[DatabaseError][500999002][Database Error]!" 4221 ] 4222 } 4223 } 4224 } 4225 }, 4226 "/srv-applet-mgr/v0/monitor/x/{projectName}/chain_tx/{cmd}": { 4227 "put": { 4228 "tags": [ 4229 "apis/monitor" 4230 ], 4231 "operationId": "ControlChainTx", 4232 "parameters": [ 4233 { 4234 "name": "cmd", 4235 "in": "path", 4236 "required": true, 4237 "schema": { 4238 "allOf": [ 4239 { 4240 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsMonitorCmd" 4241 }, 4242 { 4243 "x-go-field-name": "Cmd", 4244 "x-tag-name": "cmd" 4245 } 4246 ] 4247 } 4248 }, 4249 { 4250 "name": "projectName", 4251 "in": "path", 4252 "required": true, 4253 "schema": { 4254 "type": "string", 4255 "format": "projectName", 4256 "x-go-field-name": "ProjectName", 4257 "x-tag-name": "projectName", 4258 "x-tag-validate": "@projectName" 4259 } 4260 }, 4261 { 4262 "name": "Authorization", 4263 "in": "header", 4264 "schema": { 4265 "type": "string", 4266 "minLength": 1, 4267 "x-go-field-name": "AuthInHeader", 4268 "x-tag-name": "Authorization,omitempty", 4269 "x-tag-validate": "@string[1,]" 4270 } 4271 }, 4272 { 4273 "name": "authorization", 4274 "in": "query", 4275 "schema": { 4276 "type": "string", 4277 "minLength": 1, 4278 "x-go-field-name": "AuthInQuery", 4279 "x-tag-name": "authorization,omitempty", 4280 "x-tag-validate": "@string[1,]" 4281 } 4282 } 4283 ], 4284 "requestBody": { 4285 "required": true, 4286 "content": { 4287 "application/json": { 4288 "schema": { 4289 "allOf": [ 4290 { 4291 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq" 4292 }, 4293 { 4294 "x-go-field-name": "BatchUpdateMonitorReq" 4295 } 4296 ] 4297 } 4298 } 4299 } 4300 }, 4301 "responses": { 4302 "204": { 4303 "description": "" 4304 }, 4305 "400": { 4306 "description": "", 4307 "content": { 4308 "application/json": { 4309 "schema": { 4310 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4311 } 4312 } 4313 }, 4314 "x-status-errors": [ 4315 "@StatusErr[InvalidChainTxIDs][400999010][Invalid Chain Tx IDs]!", 4316 "@StatusErr[UnknownMonitorCommand][400999008][Unknown Deploy Command]!" 4317 ] 4318 }, 4319 "401": { 4320 "description": "", 4321 "content": { 4322 "application/json": { 4323 "schema": { 4324 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4325 } 4326 } 4327 }, 4328 "x-status-errors": [ 4329 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4330 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4331 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4332 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4333 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4334 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4335 ] 4336 }, 4337 "404": { 4338 "description": "", 4339 "content": { 4340 "application/json": { 4341 "schema": { 4342 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4343 } 4344 } 4345 }, 4346 "x-status-errors": [ 4347 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4348 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 4349 ] 4350 }, 4351 "500": { 4352 "description": "", 4353 "content": { 4354 "application/json": { 4355 "schema": { 4356 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4357 } 4358 } 4359 }, 4360 "x-status-errors": [ 4361 "@StatusErr[DatabaseError][500999002][Database Error]!", 4362 "@StatusErr[DatabaseError][500999002][Database Error]!", 4363 "@StatusErr[DatabaseError][500999002][Database Error]!" 4364 ] 4365 } 4366 } 4367 } 4368 }, 4369 "/srv-applet-mgr/v0/monitor/x/{projectName}/contract_log": { 4370 "post": { 4371 "tags": [ 4372 "apis/monitor" 4373 ], 4374 "operationId": "CreateContractLog", 4375 "parameters": [ 4376 { 4377 "name": "projectName", 4378 "in": "path", 4379 "required": true, 4380 "schema": { 4381 "type": "string", 4382 "format": "projectName", 4383 "x-go-field-name": "ProjectName", 4384 "x-tag-name": "projectName", 4385 "x-tag-validate": "@projectName" 4386 } 4387 }, 4388 { 4389 "name": "Authorization", 4390 "in": "header", 4391 "schema": { 4392 "type": "string", 4393 "minLength": 1, 4394 "x-go-field-name": "AuthInHeader", 4395 "x-tag-name": "Authorization,omitempty", 4396 "x-tag-validate": "@string[1,]" 4397 } 4398 }, 4399 { 4400 "name": "authorization", 4401 "in": "query", 4402 "schema": { 4403 "type": "string", 4404 "minLength": 1, 4405 "x-go-field-name": "AuthInQuery", 4406 "x-tag-name": "authorization,omitempty", 4407 "x-tag-validate": "@string[1,]" 4408 } 4409 } 4410 ], 4411 "requestBody": { 4412 "required": true, 4413 "content": { 4414 "application/json": { 4415 "schema": { 4416 "allOf": [ 4417 { 4418 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainCreateContractLogReq" 4419 }, 4420 { 4421 "x-go-field-name": "CreateContractLogReq" 4422 } 4423 ] 4424 } 4425 } 4426 } 4427 }, 4428 "responses": { 4429 "201": { 4430 "description": "", 4431 "content": { 4432 "application/json": { 4433 "schema": { 4434 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsContractLog" 4435 } 4436 } 4437 } 4438 }, 4439 "401": { 4440 "description": "", 4441 "content": { 4442 "application/json": { 4443 "schema": { 4444 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4445 } 4446 } 4447 }, 4448 "x-status-errors": [ 4449 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4450 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4451 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4452 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4453 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4454 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4455 ] 4456 }, 4457 "404": { 4458 "description": "", 4459 "content": { 4460 "application/json": { 4461 "schema": { 4462 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4463 } 4464 } 4465 }, 4466 "x-status-errors": [ 4467 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4468 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 4469 "@StatusErr[BlockchainNotFound][404999013][Blockchain Not Found]!", 4470 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 4471 ] 4472 }, 4473 "409": { 4474 "description": "", 4475 "content": { 4476 "application/json": { 4477 "schema": { 4478 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4479 } 4480 } 4481 }, 4482 "x-status-errors": [ 4483 "@StatusErr[ContractLogConflict][409999011][Contract Log Conflict]!" 4484 ] 4485 }, 4486 "500": { 4487 "description": "", 4488 "content": { 4489 "application/json": { 4490 "schema": { 4491 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4492 } 4493 } 4494 }, 4495 "x-status-errors": [ 4496 "@StatusErr[DatabaseError][500999002][Database Error]!", 4497 "@StatusErr[DatabaseError][500999002][Database Error]!", 4498 "@StatusErr[DatabaseError][500999002][Database Error]!" 4499 ] 4500 } 4501 } 4502 } 4503 }, 4504 "/srv-applet-mgr/v0/monitor/x/{projectName}/contract_log/{cmd}": { 4505 "put": { 4506 "tags": [ 4507 "apis/monitor" 4508 ], 4509 "operationId": "ControlContractLog", 4510 "parameters": [ 4511 { 4512 "name": "cmd", 4513 "in": "path", 4514 "required": true, 4515 "schema": { 4516 "allOf": [ 4517 { 4518 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsMonitorCmd" 4519 }, 4520 { 4521 "x-go-field-name": "Cmd", 4522 "x-tag-name": "cmd" 4523 } 4524 ] 4525 } 4526 }, 4527 { 4528 "name": "projectName", 4529 "in": "path", 4530 "required": true, 4531 "schema": { 4532 "type": "string", 4533 "format": "projectName", 4534 "x-go-field-name": "ProjectName", 4535 "x-tag-name": "projectName", 4536 "x-tag-validate": "@projectName" 4537 } 4538 }, 4539 { 4540 "name": "Authorization", 4541 "in": "header", 4542 "schema": { 4543 "type": "string", 4544 "minLength": 1, 4545 "x-go-field-name": "AuthInHeader", 4546 "x-tag-name": "Authorization,omitempty", 4547 "x-tag-validate": "@string[1,]" 4548 } 4549 }, 4550 { 4551 "name": "authorization", 4552 "in": "query", 4553 "schema": { 4554 "type": "string", 4555 "minLength": 1, 4556 "x-go-field-name": "AuthInQuery", 4557 "x-tag-name": "authorization,omitempty", 4558 "x-tag-validate": "@string[1,]" 4559 } 4560 } 4561 ], 4562 "requestBody": { 4563 "required": true, 4564 "content": { 4565 "application/json": { 4566 "schema": { 4567 "allOf": [ 4568 { 4569 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq" 4570 }, 4571 { 4572 "x-go-field-name": "BatchUpdateMonitorReq" 4573 } 4574 ] 4575 } 4576 } 4577 } 4578 }, 4579 "responses": { 4580 "204": { 4581 "description": "" 4582 }, 4583 "400": { 4584 "description": "", 4585 "content": { 4586 "application/json": { 4587 "schema": { 4588 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4589 } 4590 } 4591 }, 4592 "x-status-errors": [ 4593 "@StatusErr[InvalidContractLogIDs][400999009][Invalid Contract Log IDs]!", 4594 "@StatusErr[UnknownMonitorCommand][400999008][Unknown Deploy Command]!" 4595 ] 4596 }, 4597 "401": { 4598 "description": "", 4599 "content": { 4600 "application/json": { 4601 "schema": { 4602 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4603 } 4604 } 4605 }, 4606 "x-status-errors": [ 4607 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4608 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4609 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4610 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4611 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4612 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4613 ] 4614 }, 4615 "404": { 4616 "description": "", 4617 "content": { 4618 "application/json": { 4619 "schema": { 4620 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4621 } 4622 } 4623 }, 4624 "x-status-errors": [ 4625 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4626 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 4627 ] 4628 }, 4629 "500": { 4630 "description": "", 4631 "content": { 4632 "application/json": { 4633 "schema": { 4634 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4635 } 4636 } 4637 }, 4638 "x-status-errors": [ 4639 "@StatusErr[DatabaseError][500999002][Database Error]!", 4640 "@StatusErr[DatabaseError][500999002][Database Error]!", 4641 "@StatusErr[DatabaseError][500999002][Database Error]!" 4642 ] 4643 } 4644 } 4645 } 4646 }, 4647 "/srv-applet-mgr/v0/monitor/x/{projectName}/contract_log/{contractLogID}": { 4648 "delete": { 4649 "tags": [ 4650 "apis/monitor" 4651 ], 4652 "operationId": "RemoveContractLog", 4653 "parameters": [ 4654 { 4655 "name": "contractLogID", 4656 "in": "path", 4657 "required": true, 4658 "schema": { 4659 "allOf": [ 4660 { 4661 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 4662 }, 4663 { 4664 "x-go-field-name": "ContractLogID", 4665 "x-tag-name": "contractLogID" 4666 } 4667 ] 4668 } 4669 }, 4670 { 4671 "name": "projectName", 4672 "in": "path", 4673 "required": true, 4674 "schema": { 4675 "type": "string", 4676 "format": "projectName", 4677 "x-go-field-name": "ProjectName", 4678 "x-tag-name": "projectName", 4679 "x-tag-validate": "@projectName" 4680 } 4681 }, 4682 { 4683 "name": "Authorization", 4684 "in": "header", 4685 "schema": { 4686 "type": "string", 4687 "minLength": 1, 4688 "x-go-field-name": "AuthInHeader", 4689 "x-tag-name": "Authorization,omitempty", 4690 "x-tag-validate": "@string[1,]" 4691 } 4692 }, 4693 { 4694 "name": "authorization", 4695 "in": "query", 4696 "schema": { 4697 "type": "string", 4698 "minLength": 1, 4699 "x-go-field-name": "AuthInQuery", 4700 "x-tag-name": "authorization,omitempty", 4701 "x-tag-validate": "@string[1,]" 4702 } 4703 } 4704 ], 4705 "responses": { 4706 "204": { 4707 "description": "" 4708 }, 4709 "401": { 4710 "description": "", 4711 "content": { 4712 "application/json": { 4713 "schema": { 4714 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4715 } 4716 } 4717 }, 4718 "x-status-errors": [ 4719 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 4720 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4721 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4722 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4723 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4724 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 4725 ] 4726 }, 4727 "404": { 4728 "description": "", 4729 "content": { 4730 "application/json": { 4731 "schema": { 4732 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4733 } 4734 } 4735 }, 4736 "x-status-errors": [ 4737 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 4738 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 4739 "@StatusErr[ContractLogNotFound][404999014][Contract Log Not Found]!", 4740 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 4741 ] 4742 }, 4743 "500": { 4744 "description": "", 4745 "content": { 4746 "application/json": { 4747 "schema": { 4748 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4749 } 4750 } 4751 }, 4752 "x-status-errors": [ 4753 "@StatusErr[DatabaseError][500999002][Database Error]!", 4754 "@StatusErr[DatabaseError][500999002][Database Error]!", 4755 "@StatusErr[DatabaseError][500999002][Database Error]!" 4756 ] 4757 } 4758 } 4759 } 4760 }, 4761 "/srv-applet-mgr/v0/operator": { 4762 "post": { 4763 "tags": [ 4764 "apis/operator" 4765 ], 4766 "operationId": "CreateOperator", 4767 "parameters": [ 4768 { 4769 "name": "Authorization", 4770 "in": "header", 4771 "schema": { 4772 "type": "string", 4773 "minLength": 1, 4774 "x-go-field-name": "AuthInHeader", 4775 "x-tag-name": "Authorization,omitempty", 4776 "x-tag-validate": "@string[1,]" 4777 } 4778 }, 4779 { 4780 "name": "authorization", 4781 "in": "query", 4782 "schema": { 4783 "type": "string", 4784 "minLength": 1, 4785 "x-go-field-name": "AuthInQuery", 4786 "x-tag-name": "authorization,omitempty", 4787 "x-tag-validate": "@string[1,]" 4788 } 4789 } 4790 ], 4791 "requestBody": { 4792 "required": true, 4793 "content": { 4794 "application/json": { 4795 "schema": { 4796 "allOf": [ 4797 { 4798 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesOperatorCreateReq" 4799 }, 4800 { 4801 "x-go-field-name": "CreateReq" 4802 } 4803 ] 4804 } 4805 } 4806 } 4807 }, 4808 "responses": { 4809 "201": { 4810 "description": "", 4811 "content": { 4812 "application/json": { 4813 "schema": { 4814 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsOperator" 4815 } 4816 } 4817 } 4818 }, 4819 "400": { 4820 "description": "", 4821 "content": { 4822 "application/json": { 4823 "schema": { 4824 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4825 } 4826 } 4827 }, 4828 "x-status-errors": [ 4829 "@StatusErr[InvalidPrivateKey][400999006][Invalid Private Key]!" 4830 ] 4831 }, 4832 "401": { 4833 "description": "", 4834 "content": { 4835 "application/json": { 4836 "schema": { 4837 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4838 } 4839 } 4840 }, 4841 "x-status-errors": [ 4842 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4843 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4844 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4845 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 4846 ] 4847 }, 4848 "404": { 4849 "description": "", 4850 "content": { 4851 "application/json": { 4852 "schema": { 4853 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4854 } 4855 } 4856 }, 4857 "x-status-errors": [ 4858 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 4859 ] 4860 }, 4861 "409": { 4862 "description": "", 4863 "content": { 4864 "application/json": { 4865 "schema": { 4866 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4867 } 4868 } 4869 }, 4870 "x-status-errors": [ 4871 "@StatusErr[OperatorConflict][409999017][Operator Conflict]!" 4872 ] 4873 }, 4874 "500": { 4875 "description": "", 4876 "content": { 4877 "application/json": { 4878 "schema": { 4879 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4880 } 4881 } 4882 }, 4883 "x-status-errors": [ 4884 "@StatusErr[DatabaseError][500999002][Database Error]!", 4885 "@StatusErr[DatabaseError][500999002][Database Error]!" 4886 ] 4887 } 4888 } 4889 } 4890 }, 4891 "/srv-applet-mgr/v0/operator/data/{operatorID}": { 4892 "delete": { 4893 "tags": [ 4894 "apis/operator" 4895 ], 4896 "operationId": "RemoveOperator", 4897 "parameters": [ 4898 { 4899 "name": "operatorID", 4900 "in": "path", 4901 "required": true, 4902 "schema": { 4903 "allOf": [ 4904 { 4905 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 4906 }, 4907 { 4908 "x-go-field-name": "OperatorID", 4909 "x-tag-name": "operatorID" 4910 } 4911 ] 4912 } 4913 }, 4914 { 4915 "name": "Authorization", 4916 "in": "header", 4917 "schema": { 4918 "type": "string", 4919 "minLength": 1, 4920 "x-go-field-name": "AuthInHeader", 4921 "x-tag-name": "Authorization,omitempty", 4922 "x-tag-validate": "@string[1,]" 4923 } 4924 }, 4925 { 4926 "name": "authorization", 4927 "in": "query", 4928 "schema": { 4929 "type": "string", 4930 "minLength": 1, 4931 "x-go-field-name": "AuthInQuery", 4932 "x-tag-name": "authorization,omitempty", 4933 "x-tag-validate": "@string[1,]" 4934 } 4935 } 4936 ], 4937 "responses": { 4938 "204": { 4939 "description": "" 4940 }, 4941 "401": { 4942 "description": "", 4943 "content": { 4944 "application/json": { 4945 "schema": { 4946 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4947 } 4948 } 4949 }, 4950 "x-status-errors": [ 4951 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 4952 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 4953 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 4954 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 4955 "@StatusErr[NoOperatorPermission][401999005][No Operator Permission]!" 4956 ] 4957 }, 4958 "404": { 4959 "description": "", 4960 "content": { 4961 "application/json": { 4962 "schema": { 4963 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4964 } 4965 } 4966 }, 4967 "x-status-errors": [ 4968 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 4969 "@StatusErr[OperatorNotFound][404999019][Operator Not Found]!" 4970 ] 4971 }, 4972 "500": { 4973 "description": "", 4974 "content": { 4975 "application/json": { 4976 "schema": { 4977 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 4978 } 4979 } 4980 }, 4981 "x-status-errors": [ 4982 "@StatusErr[DatabaseError][500999002][Database Error]!", 4983 "@StatusErr[DatabaseError][500999002][Database Error]!" 4984 ] 4985 } 4986 } 4987 } 4988 }, 4989 "/srv-applet-mgr/v0/operator/datalist": { 4990 "get": { 4991 "tags": [ 4992 "apis/operator" 4993 ], 4994 "operationId": "ListOperator", 4995 "parameters": [ 4996 { 4997 "name": "Authorization", 4998 "in": "header", 4999 "schema": { 5000 "type": "string", 5001 "minLength": 1, 5002 "x-go-field-name": "AuthInHeader", 5003 "x-tag-name": "Authorization,omitempty", 5004 "x-tag-validate": "@string[1,]" 5005 } 5006 }, 5007 { 5008 "name": "authorization", 5009 "in": "query", 5010 "schema": { 5011 "type": "string", 5012 "minLength": 1, 5013 "x-go-field-name": "AuthInQuery", 5014 "x-tag-name": "authorization,omitempty", 5015 "x-tag-validate": "@string[1,]" 5016 } 5017 }, 5018 { 5019 "name": "offset", 5020 "in": "query", 5021 "schema": { 5022 "type": "integer", 5023 "format": "int64", 5024 "maximum": 9223372036854776000, 5025 "minimum": 0, 5026 "default": "0", 5027 "x-go-field-name": "Offset", 5028 "x-tag-name": "offset,omitempty", 5029 "x-tag-validate": "@int64[0,]" 5030 } 5031 }, 5032 { 5033 "name": "size", 5034 "in": "query", 5035 "schema": { 5036 "type": "integer", 5037 "format": "int64", 5038 "maximum": 9223372036854776000, 5039 "minimum": -1, 5040 "default": "10", 5041 "x-go-field-name": "Size", 5042 "x-tag-name": "size,omitempty", 5043 "x-tag-validate": "@int64[-1,]" 5044 } 5045 } 5046 ], 5047 "responses": { 5048 "200": { 5049 "description": "", 5050 "content": { 5051 "application/json": { 5052 "schema": { 5053 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp" 5054 } 5055 } 5056 } 5057 }, 5058 "401": { 5059 "description": "", 5060 "content": { 5061 "application/json": { 5062 "schema": { 5063 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5064 } 5065 } 5066 }, 5067 "x-status-errors": [ 5068 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5069 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5070 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5071 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 5072 ] 5073 }, 5074 "404": { 5075 "description": "", 5076 "content": { 5077 "application/json": { 5078 "schema": { 5079 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5080 } 5081 } 5082 }, 5083 "x-status-errors": [ 5084 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 5085 ] 5086 }, 5087 "500": { 5088 "description": "", 5089 "content": { 5090 "application/json": { 5091 "schema": { 5092 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5093 } 5094 } 5095 }, 5096 "x-status-errors": [ 5097 "@StatusErr[DatabaseError][500999002][Database Error]!", 5098 "@StatusErr[DatabaseError][500999002][Database Error]!" 5099 ] 5100 } 5101 } 5102 } 5103 }, 5104 "/srv-applet-mgr/v0/project": { 5105 "post": { 5106 "tags": [ 5107 "apis/project" 5108 ], 5109 "operationId": "CreateProject", 5110 "parameters": [ 5111 { 5112 "name": "Authorization", 5113 "in": "header", 5114 "schema": { 5115 "type": "string", 5116 "minLength": 1, 5117 "x-go-field-name": "AuthInHeader", 5118 "x-tag-name": "Authorization,omitempty", 5119 "x-tag-validate": "@string[1,]" 5120 } 5121 }, 5122 { 5123 "name": "authorization", 5124 "in": "query", 5125 "schema": { 5126 "type": "string", 5127 "minLength": 1, 5128 "x-go-field-name": "AuthInQuery", 5129 "x-tag-name": "authorization,omitempty", 5130 "x-tag-validate": "@string[1,]" 5131 } 5132 } 5133 ], 5134 "requestBody": { 5135 "required": true, 5136 "content": { 5137 "application/json": { 5138 "schema": { 5139 "allOf": [ 5140 { 5141 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesProjectCreateReq" 5142 }, 5143 { 5144 "x-go-field-name": "CreateReq" 5145 } 5146 ] 5147 } 5148 } 5149 } 5150 }, 5151 "responses": { 5152 "201": { 5153 "description": "", 5154 "content": { 5155 "application/json": { 5156 "schema": { 5157 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp" 5158 } 5159 } 5160 } 5161 }, 5162 "400": { 5163 "description": "", 5164 "content": { 5165 "application/json": { 5166 "schema": { 5167 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5168 } 5169 } 5170 }, 5171 "x-status-errors": [ 5172 "@StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!", 5173 "@StatusErr[RequestTransformFailed][400000000][RequestTransformFailed]" 5174 ] 5175 }, 5176 "401": { 5177 "description": "", 5178 "content": { 5179 "application/json": { 5180 "schema": { 5181 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5182 } 5183 } 5184 }, 5185 "x-status-errors": [ 5186 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 5187 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5188 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5189 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5190 "@StatusErr[InvalidEventToken][401999015][Invalid Event Token]!", 5191 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 5192 ] 5193 }, 5194 "403": { 5195 "description": "", 5196 "content": { 5197 "application/json": { 5198 "schema": { 5199 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5200 } 5201 } 5202 }, 5203 "x-status-errors": [ 5204 "@StatusErr[TopicAlreadySubscribed][403999007][Topic Already Subscribed]!" 5205 ] 5206 }, 5207 "404": { 5208 "description": "", 5209 "content": { 5210 "application/json": { 5211 "schema": { 5212 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5213 } 5214 } 5215 }, 5216 "x-status-errors": [ 5217 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 5218 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 5219 ] 5220 }, 5221 "409": { 5222 "description": "", 5223 "content": { 5224 "application/json": { 5225 "schema": { 5226 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5227 } 5228 } 5229 }, 5230 "x-status-errors": [ 5231 "@StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!", 5232 "@StatusErr[ConfigConflict][409999006][Config Conflict]!", 5233 "@StatusErr[ProjectNameConflict][409999002][Project Name Conflict]!" 5234 ] 5235 }, 5236 "499": { 5237 "description": "", 5238 "content": { 5239 "application/json": { 5240 "schema": { 5241 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5242 } 5243 } 5244 }, 5245 "x-status-errors": [ 5246 "@StatusErr[ClientClosedRequest][499000000][ClientClosedRequest]" 5247 ] 5248 }, 5249 "500": { 5250 "description": "", 5251 "content": { 5252 "application/json": { 5253 "schema": { 5254 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5255 } 5256 } 5257 }, 5258 "x-status-errors": [ 5259 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 5260 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 5261 "@StatusErr[DatabaseError][500999002][Database Error]!", 5262 "@StatusErr[DatabaseError][500999002][Database Error]!", 5263 "@StatusErr[MqttConnectFailed][500999011][MQTT Connect Failed]!", 5264 "@StatusErr[MqttSubscribeFailed][500999010][MQTT Subscribe Failed]!", 5265 "@StatusErr[RequestFailed][500000000][RequestFailed]" 5266 ] 5267 } 5268 } 5269 } 5270 }, 5271 "/srv-applet-mgr/v0/project/datalist": { 5272 "get": { 5273 "tags": [ 5274 "apis/project" 5275 ], 5276 "operationId": "ListProject", 5277 "parameters": [ 5278 { 5279 "name": "Authorization", 5280 "in": "header", 5281 "schema": { 5282 "type": "string", 5283 "minLength": 1, 5284 "x-go-field-name": "AuthInHeader", 5285 "x-tag-name": "Authorization,omitempty", 5286 "x-tag-validate": "@string[1,]" 5287 } 5288 }, 5289 { 5290 "name": "authorization", 5291 "in": "query", 5292 "schema": { 5293 "type": "string", 5294 "minLength": 1, 5295 "x-go-field-name": "AuthInQuery", 5296 "x-tag-name": "authorization,omitempty", 5297 "x-tag-validate": "@string[1,]" 5298 } 5299 }, 5300 { 5301 "name": "name", 5302 "in": "query", 5303 "schema": { 5304 "type": "array", 5305 "items": { 5306 "type": "string" 5307 }, 5308 "x-go-field-name": "Names", 5309 "x-tag-name": "name,omitempty" 5310 } 5311 }, 5312 { 5313 "name": "offset", 5314 "in": "query", 5315 "schema": { 5316 "type": "integer", 5317 "format": "int64", 5318 "maximum": 9223372036854776000, 5319 "minimum": 0, 5320 "default": "0", 5321 "x-go-field-name": "Offset", 5322 "x-tag-name": "offset,omitempty", 5323 "x-tag-validate": "@int64[0,]" 5324 } 5325 }, 5326 { 5327 "name": "projectID", 5328 "in": "query", 5329 "schema": { 5330 "type": "array", 5331 "items": { 5332 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 5333 }, 5334 "x-go-field-name": "ProjectIDs", 5335 "x-tag-name": "projectID,omitempty" 5336 } 5337 }, 5338 { 5339 "name": "size", 5340 "in": "query", 5341 "schema": { 5342 "type": "integer", 5343 "format": "int64", 5344 "maximum": 9223372036854776000, 5345 "minimum": -1, 5346 "default": "10", 5347 "x-go-field-name": "Size", 5348 "x-tag-name": "size,omitempty", 5349 "x-tag-validate": "@int64[-1,]" 5350 } 5351 }, 5352 { 5353 "name": "version", 5354 "in": "query", 5355 "schema": { 5356 "type": "array", 5357 "items": { 5358 "type": "string" 5359 }, 5360 "x-go-field-name": "Versions", 5361 "x-tag-name": "version,omitempty" 5362 } 5363 } 5364 ], 5365 "responses": { 5366 "200": { 5367 "description": "", 5368 "content": { 5369 "application/json": { 5370 "schema": { 5371 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesProjectListRsp" 5372 } 5373 } 5374 } 5375 }, 5376 "401": { 5377 "description": "", 5378 "content": { 5379 "application/json": { 5380 "schema": { 5381 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5382 } 5383 } 5384 }, 5385 "x-status-errors": [ 5386 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5387 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5388 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5389 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 5390 ] 5391 }, 5392 "404": { 5393 "description": "", 5394 "content": { 5395 "application/json": { 5396 "schema": { 5397 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5398 } 5399 } 5400 }, 5401 "x-status-errors": [ 5402 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 5403 ] 5404 }, 5405 "500": { 5406 "description": "", 5407 "content": { 5408 "application/json": { 5409 "schema": { 5410 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5411 } 5412 } 5413 }, 5414 "x-status-errors": [ 5415 "@StatusErr[DatabaseError][500999002][Database Error]!", 5416 "@StatusErr[DatabaseError][500999002][Database Error]!" 5417 ] 5418 } 5419 } 5420 } 5421 }, 5422 "/srv-applet-mgr/v0/project/detail_list": { 5423 "get": { 5424 "tags": [ 5425 "apis/project" 5426 ], 5427 "operationId": "ListProjectDetail", 5428 "parameters": [ 5429 { 5430 "name": "Authorization", 5431 "in": "header", 5432 "schema": { 5433 "type": "string", 5434 "minLength": 1, 5435 "x-go-field-name": "AuthInHeader", 5436 "x-tag-name": "Authorization,omitempty", 5437 "x-tag-validate": "@string[1,]" 5438 } 5439 }, 5440 { 5441 "name": "authorization", 5442 "in": "query", 5443 "schema": { 5444 "type": "string", 5445 "minLength": 1, 5446 "x-go-field-name": "AuthInQuery", 5447 "x-tag-name": "authorization,omitempty", 5448 "x-tag-validate": "@string[1,]" 5449 } 5450 }, 5451 { 5452 "name": "name", 5453 "in": "query", 5454 "schema": { 5455 "type": "array", 5456 "items": { 5457 "type": "string" 5458 }, 5459 "x-go-field-name": "Names", 5460 "x-tag-name": "name,omitempty" 5461 } 5462 }, 5463 { 5464 "name": "offset", 5465 "in": "query", 5466 "schema": { 5467 "type": "integer", 5468 "format": "int64", 5469 "maximum": 9223372036854776000, 5470 "minimum": 0, 5471 "default": "0", 5472 "x-go-field-name": "Offset", 5473 "x-tag-name": "offset,omitempty", 5474 "x-tag-validate": "@int64[0,]" 5475 } 5476 }, 5477 { 5478 "name": "projectID", 5479 "in": "query", 5480 "schema": { 5481 "type": "array", 5482 "items": { 5483 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 5484 }, 5485 "x-go-field-name": "ProjectIDs", 5486 "x-tag-name": "projectID,omitempty" 5487 } 5488 }, 5489 { 5490 "name": "size", 5491 "in": "query", 5492 "schema": { 5493 "type": "integer", 5494 "format": "int64", 5495 "maximum": 9223372036854776000, 5496 "minimum": -1, 5497 "default": "10", 5498 "x-go-field-name": "Size", 5499 "x-tag-name": "size,omitempty", 5500 "x-tag-validate": "@int64[-1,]" 5501 } 5502 }, 5503 { 5504 "name": "version", 5505 "in": "query", 5506 "schema": { 5507 "type": "array", 5508 "items": { 5509 "type": "string" 5510 }, 5511 "x-go-field-name": "Versions", 5512 "x-tag-name": "version,omitempty" 5513 } 5514 } 5515 ], 5516 "responses": { 5517 "200": { 5518 "description": "", 5519 "content": { 5520 "application/json": { 5521 "schema": { 5522 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp" 5523 } 5524 } 5525 } 5526 }, 5527 "401": { 5528 "description": "", 5529 "content": { 5530 "application/json": { 5531 "schema": { 5532 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5533 } 5534 } 5535 }, 5536 "x-status-errors": [ 5537 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5538 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5539 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5540 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 5541 ] 5542 }, 5543 "404": { 5544 "description": "", 5545 "content": { 5546 "application/json": { 5547 "schema": { 5548 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5549 } 5550 } 5551 }, 5552 "x-status-errors": [ 5553 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 5554 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 5555 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 5556 ] 5557 }, 5558 "500": { 5559 "description": "", 5560 "content": { 5561 "application/json": { 5562 "schema": { 5563 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5564 } 5565 } 5566 }, 5567 "x-status-errors": [ 5568 "@StatusErr[DatabaseError][500999002][Database Error]!", 5569 "@StatusErr[DatabaseError][500999002][Database Error]!" 5570 ] 5571 } 5572 } 5573 } 5574 }, 5575 "/srv-applet-mgr/v0/project/x/{projectName}": { 5576 "delete": { 5577 "tags": [ 5578 "apis/project" 5579 ], 5580 "operationId": "RemoveProject", 5581 "parameters": [ 5582 { 5583 "name": "projectName", 5584 "in": "path", 5585 "required": true, 5586 "schema": { 5587 "type": "string", 5588 "format": "projectName", 5589 "x-go-field-name": "ProjectName", 5590 "x-tag-name": "projectName", 5591 "x-tag-validate": "@projectName" 5592 } 5593 }, 5594 { 5595 "name": "Authorization", 5596 "in": "header", 5597 "schema": { 5598 "type": "string", 5599 "minLength": 1, 5600 "x-go-field-name": "AuthInHeader", 5601 "x-tag-name": "Authorization,omitempty", 5602 "x-tag-validate": "@string[1,]" 5603 } 5604 }, 5605 { 5606 "name": "authorization", 5607 "in": "query", 5608 "schema": { 5609 "type": "string", 5610 "minLength": 1, 5611 "x-go-field-name": "AuthInQuery", 5612 "x-tag-name": "authorization,omitempty", 5613 "x-tag-validate": "@string[1,]" 5614 } 5615 } 5616 ], 5617 "responses": { 5618 "204": { 5619 "description": "" 5620 }, 5621 "400": { 5622 "description": "", 5623 "content": { 5624 "application/json": { 5625 "schema": { 5626 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5627 } 5628 } 5629 }, 5630 "x-status-errors": [ 5631 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 5632 ] 5633 }, 5634 "401": { 5635 "description": "", 5636 "content": { 5637 "application/json": { 5638 "schema": { 5639 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5640 } 5641 } 5642 }, 5643 "x-status-errors": [ 5644 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 5645 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5646 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5647 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5648 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 5649 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 5650 ] 5651 }, 5652 "404": { 5653 "description": "", 5654 "content": { 5655 "application/json": { 5656 "schema": { 5657 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5658 } 5659 } 5660 }, 5661 "x-status-errors": [ 5662 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 5663 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 5664 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 5665 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 5666 ] 5667 }, 5668 "500": { 5669 "description": "", 5670 "content": { 5671 "application/json": { 5672 "schema": { 5673 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5674 } 5675 } 5676 }, 5677 "x-status-errors": [ 5678 "@StatusErr[BatchRemoveAppletFailed][500999009][Batch Remove Applet Failed]!", 5679 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 5680 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 5681 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 5682 "@StatusErr[DatabaseError][500999002][Database Error]!", 5683 "@StatusErr[DatabaseError][500999002][Database Error]!", 5684 "@StatusErr[DatabaseError][500999002][Database Error]!" 5685 ] 5686 } 5687 } 5688 } 5689 }, 5690 "/srv-applet-mgr/v0/project/x/{projectName}/data": { 5691 "get": { 5692 "tags": [ 5693 "apis/project" 5694 ], 5695 "operationId": "GetProject", 5696 "parameters": [ 5697 { 5698 "name": "projectName", 5699 "in": "path", 5700 "required": true, 5701 "schema": { 5702 "type": "string", 5703 "format": "projectName", 5704 "x-go-field-name": "ProjectName", 5705 "x-tag-name": "projectName", 5706 "x-tag-validate": "@projectName" 5707 } 5708 }, 5709 { 5710 "name": "Authorization", 5711 "in": "header", 5712 "schema": { 5713 "type": "string", 5714 "minLength": 1, 5715 "x-go-field-name": "AuthInHeader", 5716 "x-tag-name": "Authorization,omitempty", 5717 "x-tag-validate": "@string[1,]" 5718 } 5719 }, 5720 { 5721 "name": "authorization", 5722 "in": "query", 5723 "schema": { 5724 "type": "string", 5725 "minLength": 1, 5726 "x-go-field-name": "AuthInQuery", 5727 "x-tag-name": "authorization,omitempty", 5728 "x-tag-validate": "@string[1,]" 5729 } 5730 } 5731 ], 5732 "responses": { 5733 "200": { 5734 "description": "", 5735 "content": { 5736 "application/json": { 5737 "schema": { 5738 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProject" 5739 } 5740 } 5741 } 5742 }, 5743 "400": { 5744 "description": "", 5745 "content": { 5746 "application/json": { 5747 "schema": { 5748 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5749 } 5750 } 5751 }, 5752 "x-status-errors": [ 5753 "@StatusErr[DeprecatedProject][400999003][Deprecated Project]!" 5754 ] 5755 }, 5756 "401": { 5757 "description": "", 5758 "content": { 5759 "application/json": { 5760 "schema": { 5761 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5762 } 5763 } 5764 }, 5765 "x-status-errors": [ 5766 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 5767 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5768 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5769 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5770 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 5771 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 5772 ] 5773 }, 5774 "404": { 5775 "description": "", 5776 "content": { 5777 "application/json": { 5778 "schema": { 5779 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5780 } 5781 } 5782 }, 5783 "x-status-errors": [ 5784 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 5785 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 5786 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 5787 ] 5788 }, 5789 "500": { 5790 "description": "", 5791 "content": { 5792 "application/json": { 5793 "schema": { 5794 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5795 } 5796 } 5797 }, 5798 "x-status-errors": [ 5799 "@StatusErr[DatabaseError][500999002][Database Error]!", 5800 "@StatusErr[DatabaseError][500999002][Database Error]!", 5801 "@StatusErr[DatabaseError][500999002][Database Error]!" 5802 ] 5803 } 5804 } 5805 } 5806 }, 5807 "/srv-applet-mgr/v0/project_config/x/{projectName}/PROJECT_DATABASE": { 5808 "get": { 5809 "tags": [ 5810 "apis/project_config" 5811 ], 5812 "operationId": "GetProjectSchema", 5813 "parameters": [ 5814 { 5815 "name": "projectName", 5816 "in": "path", 5817 "required": true, 5818 "schema": { 5819 "type": "string", 5820 "format": "projectName", 5821 "x-go-field-name": "ProjectName", 5822 "x-tag-name": "projectName", 5823 "x-tag-validate": "@projectName" 5824 } 5825 }, 5826 { 5827 "name": "Authorization", 5828 "in": "header", 5829 "schema": { 5830 "type": "string", 5831 "minLength": 1, 5832 "x-go-field-name": "AuthInHeader", 5833 "x-tag-name": "Authorization,omitempty", 5834 "x-tag-validate": "@string[1,]" 5835 } 5836 }, 5837 { 5838 "name": "authorization", 5839 "in": "query", 5840 "schema": { 5841 "type": "string", 5842 "minLength": 1, 5843 "x-go-field-name": "AuthInQuery", 5844 "x-tag-name": "authorization,omitempty", 5845 "x-tag-validate": "@string[1,]" 5846 } 5847 } 5848 ], 5849 "responses": { 5850 "200": { 5851 "description": "", 5852 "content": { 5853 "application/json": { 5854 "schema": { 5855 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmDatabase" 5856 } 5857 } 5858 } 5859 }, 5860 "400": { 5861 "description": "", 5862 "content": { 5863 "application/json": { 5864 "schema": { 5865 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5866 } 5867 } 5868 }, 5869 "x-status-errors": [ 5870 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 5871 ] 5872 }, 5873 "401": { 5874 "description": "", 5875 "content": { 5876 "application/json": { 5877 "schema": { 5878 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5879 } 5880 } 5881 }, 5882 "x-status-errors": [ 5883 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 5884 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 5885 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 5886 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 5887 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 5888 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 5889 ] 5890 }, 5891 "404": { 5892 "description": "", 5893 "content": { 5894 "application/json": { 5895 "schema": { 5896 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5897 } 5898 } 5899 }, 5900 "x-status-errors": [ 5901 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 5902 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 5903 "@StatusErr[ConfigNotFound][404999003][Config Not Found]!", 5904 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 5905 ] 5906 }, 5907 "500": { 5908 "description": "", 5909 "content": { 5910 "application/json": { 5911 "schema": { 5912 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 5913 } 5914 } 5915 }, 5916 "x-status-errors": [ 5917 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 5918 "@StatusErr[DatabaseError][500999002][Database Error]!", 5919 "@StatusErr[DatabaseError][500999002][Database Error]!", 5920 "@StatusErr[DatabaseError][500999002][Database Error]!" 5921 ] 5922 } 5923 } 5924 }, 5925 "post": { 5926 "tags": [ 5927 "apis/project_config" 5928 ], 5929 "operationId": "CreateProjectSchema", 5930 "parameters": [ 5931 { 5932 "name": "projectName", 5933 "in": "path", 5934 "required": true, 5935 "schema": { 5936 "type": "string", 5937 "format": "projectName", 5938 "x-go-field-name": "ProjectName", 5939 "x-tag-name": "projectName", 5940 "x-tag-validate": "@projectName" 5941 } 5942 }, 5943 { 5944 "name": "Authorization", 5945 "in": "header", 5946 "schema": { 5947 "type": "string", 5948 "minLength": 1, 5949 "x-go-field-name": "AuthInHeader", 5950 "x-tag-name": "Authorization,omitempty", 5951 "x-tag-validate": "@string[1,]" 5952 } 5953 }, 5954 { 5955 "name": "authorization", 5956 "in": "query", 5957 "schema": { 5958 "type": "string", 5959 "minLength": 1, 5960 "x-go-field-name": "AuthInQuery", 5961 "x-tag-name": "authorization,omitempty", 5962 "x-tag-validate": "@string[1,]" 5963 } 5964 } 5965 ], 5966 "requestBody": { 5967 "required": true, 5968 "content": { 5969 "application/json": { 5970 "schema": { 5971 "allOf": [ 5972 { 5973 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmDatabase" 5974 }, 5975 { 5976 "x-go-field-name": "Database" 5977 } 5978 ] 5979 } 5980 } 5981 } 5982 }, 5983 "responses": { 5984 "201": { 5985 "description": "", 5986 "content": { 5987 "application/json": { 5988 "schema": { 5989 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsConfig" 5990 } 5991 } 5992 } 5993 }, 5994 "401": { 5995 "description": "", 5996 "content": { 5997 "application/json": { 5998 "schema": { 5999 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6000 } 6001 } 6002 }, 6003 "x-status-errors": [ 6004 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 6005 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6006 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6007 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6008 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6009 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6010 ] 6011 }, 6012 "404": { 6013 "description": "", 6014 "content": { 6015 "application/json": { 6016 "schema": { 6017 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6018 } 6019 } 6020 }, 6021 "x-status-errors": [ 6022 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 6023 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6024 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6025 ] 6026 }, 6027 "409": { 6028 "description": "", 6029 "content": { 6030 "application/json": { 6031 "schema": { 6032 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6033 } 6034 } 6035 }, 6036 "x-status-errors": [ 6037 "@StatusErr[ConfigConflict][409999006][Config Conflict]!" 6038 ] 6039 }, 6040 "500": { 6041 "description": "", 6042 "content": { 6043 "application/json": { 6044 "schema": { 6045 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6046 } 6047 } 6048 }, 6049 "x-status-errors": [ 6050 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 6051 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 6052 "@StatusErr[DatabaseError][500999002][Database Error]!", 6053 "@StatusErr[DatabaseError][500999002][Database Error]!", 6054 "@StatusErr[DatabaseError][500999002][Database Error]!" 6055 ] 6056 } 6057 } 6058 } 6059 }, 6060 "/srv-applet-mgr/v0/project_config/x/{projectName}/PROJECT_ENV": { 6061 "get": { 6062 "tags": [ 6063 "apis/project_config" 6064 ], 6065 "operationId": "GetProjectEnv", 6066 "parameters": [ 6067 { 6068 "name": "projectName", 6069 "in": "path", 6070 "required": true, 6071 "schema": { 6072 "type": "string", 6073 "format": "projectName", 6074 "x-go-field-name": "ProjectName", 6075 "x-tag-name": "projectName", 6076 "x-tag-validate": "@projectName" 6077 } 6078 }, 6079 { 6080 "name": "Authorization", 6081 "in": "header", 6082 "schema": { 6083 "type": "string", 6084 "minLength": 1, 6085 "x-go-field-name": "AuthInHeader", 6086 "x-tag-name": "Authorization,omitempty", 6087 "x-tag-validate": "@string[1,]" 6088 } 6089 }, 6090 { 6091 "name": "authorization", 6092 "in": "query", 6093 "schema": { 6094 "type": "string", 6095 "minLength": 1, 6096 "x-go-field-name": "AuthInQuery", 6097 "x-tag-name": "authorization,omitempty", 6098 "x-tag-validate": "@string[1,]" 6099 } 6100 } 6101 ], 6102 "responses": { 6103 "200": { 6104 "description": "", 6105 "content": { 6106 "application/json": { 6107 "schema": { 6108 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmEnv" 6109 } 6110 } 6111 } 6112 }, 6113 "400": { 6114 "description": "", 6115 "content": { 6116 "application/json": { 6117 "schema": { 6118 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6119 } 6120 } 6121 }, 6122 "x-status-errors": [ 6123 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 6124 ] 6125 }, 6126 "401": { 6127 "description": "", 6128 "content": { 6129 "application/json": { 6130 "schema": { 6131 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6132 } 6133 } 6134 }, 6135 "x-status-errors": [ 6136 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 6137 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6138 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6139 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6140 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6141 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6142 ] 6143 }, 6144 "404": { 6145 "description": "", 6146 "content": { 6147 "application/json": { 6148 "schema": { 6149 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6150 } 6151 } 6152 }, 6153 "x-status-errors": [ 6154 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 6155 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6156 "@StatusErr[ConfigNotFound][404999003][Config Not Found]!", 6157 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6158 ] 6159 }, 6160 "500": { 6161 "description": "", 6162 "content": { 6163 "application/json": { 6164 "schema": { 6165 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6166 } 6167 } 6168 }, 6169 "x-status-errors": [ 6170 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 6171 "@StatusErr[DatabaseError][500999002][Database Error]!", 6172 "@StatusErr[DatabaseError][500999002][Database Error]!", 6173 "@StatusErr[DatabaseError][500999002][Database Error]!" 6174 ] 6175 } 6176 } 6177 }, 6178 "post": { 6179 "tags": [ 6180 "apis/project_config" 6181 ], 6182 "operationId": "CreateOrUpdateProjectEnv", 6183 "parameters": [ 6184 { 6185 "name": "projectName", 6186 "in": "path", 6187 "required": true, 6188 "schema": { 6189 "type": "string", 6190 "format": "projectName", 6191 "x-go-field-name": "ProjectName", 6192 "x-tag-name": "projectName", 6193 "x-tag-validate": "@projectName" 6194 } 6195 }, 6196 { 6197 "name": "Authorization", 6198 "in": "header", 6199 "schema": { 6200 "type": "string", 6201 "minLength": 1, 6202 "x-go-field-name": "AuthInHeader", 6203 "x-tag-name": "Authorization,omitempty", 6204 "x-tag-validate": "@string[1,]" 6205 } 6206 }, 6207 { 6208 "name": "authorization", 6209 "in": "query", 6210 "schema": { 6211 "type": "string", 6212 "minLength": 1, 6213 "x-go-field-name": "AuthInQuery", 6214 "x-tag-name": "authorization,omitempty", 6215 "x-tag-validate": "@string[1,]" 6216 } 6217 } 6218 ], 6219 "requestBody": { 6220 "required": true, 6221 "content": { 6222 "application/json": { 6223 "schema": { 6224 "allOf": [ 6225 { 6226 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmEnv" 6227 }, 6228 { 6229 "x-go-field-name": "Env" 6230 } 6231 ] 6232 } 6233 } 6234 } 6235 }, 6236 "responses": { 6237 "201": { 6238 "description": "", 6239 "content": { 6240 "application/json": { 6241 "schema": { 6242 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsConfig" 6243 } 6244 } 6245 } 6246 }, 6247 "400": { 6248 "description": "", 6249 "content": { 6250 "application/json": { 6251 "schema": { 6252 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6253 } 6254 } 6255 }, 6256 "x-status-errors": [ 6257 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 6258 ] 6259 }, 6260 "401": { 6261 "description": "", 6262 "content": { 6263 "application/json": { 6264 "schema": { 6265 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6266 } 6267 } 6268 }, 6269 "x-status-errors": [ 6270 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 6271 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6272 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6273 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6274 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6275 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6276 ] 6277 }, 6278 "404": { 6279 "description": "", 6280 "content": { 6281 "application/json": { 6282 "schema": { 6283 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6284 } 6285 } 6286 }, 6287 "x-status-errors": [ 6288 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 6289 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6290 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6291 ] 6292 }, 6293 "409": { 6294 "description": "", 6295 "content": { 6296 "application/json": { 6297 "schema": { 6298 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6299 } 6300 } 6301 }, 6302 "x-status-errors": [ 6303 "@StatusErr[ConfigConflict][409999006][Config Conflict]!" 6304 ] 6305 }, 6306 "500": { 6307 "description": "", 6308 "content": { 6309 "application/json": { 6310 "schema": { 6311 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6312 } 6313 } 6314 }, 6315 "x-status-errors": [ 6316 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 6317 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 6318 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 6319 "@StatusErr[DatabaseError][500999002][Database Error]!", 6320 "@StatusErr[DatabaseError][500999002][Database Error]!", 6321 "@StatusErr[DatabaseError][500999002][Database Error]!" 6322 ] 6323 } 6324 } 6325 } 6326 }, 6327 "/srv-applet-mgr/v0/project_config/x/{projectName}/PROJECT_FLOW": { 6328 "get": { 6329 "tags": [ 6330 "apis/project_config" 6331 ], 6332 "operationId": "GetProjectFlow", 6333 "parameters": [ 6334 { 6335 "name": "projectName", 6336 "in": "path", 6337 "required": true, 6338 "schema": { 6339 "type": "string", 6340 "format": "projectName", 6341 "x-go-field-name": "ProjectName", 6342 "x-tag-name": "projectName", 6343 "x-tag-validate": "@projectName" 6344 } 6345 }, 6346 { 6347 "name": "Authorization", 6348 "in": "header", 6349 "schema": { 6350 "type": "string", 6351 "minLength": 1, 6352 "x-go-field-name": "AuthInHeader", 6353 "x-tag-name": "Authorization,omitempty", 6354 "x-tag-validate": "@string[1,]" 6355 } 6356 }, 6357 { 6358 "name": "authorization", 6359 "in": "query", 6360 "schema": { 6361 "type": "string", 6362 "minLength": 1, 6363 "x-go-field-name": "AuthInQuery", 6364 "x-tag-name": "authorization,omitempty", 6365 "x-tag-validate": "@string[1,]" 6366 } 6367 } 6368 ], 6369 "responses": { 6370 "200": { 6371 "description": "", 6372 "content": { 6373 "application/json": { 6374 "schema": { 6375 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmFlow" 6376 } 6377 } 6378 } 6379 }, 6380 "400": { 6381 "description": "", 6382 "content": { 6383 "application/json": { 6384 "schema": { 6385 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6386 } 6387 } 6388 }, 6389 "x-status-errors": [ 6390 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 6391 ] 6392 }, 6393 "401": { 6394 "description": "", 6395 "content": { 6396 "application/json": { 6397 "schema": { 6398 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6399 } 6400 } 6401 }, 6402 "x-status-errors": [ 6403 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 6404 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6405 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6406 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6407 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6408 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6409 ] 6410 }, 6411 "404": { 6412 "description": "", 6413 "content": { 6414 "application/json": { 6415 "schema": { 6416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6417 } 6418 } 6419 }, 6420 "x-status-errors": [ 6421 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 6422 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6423 "@StatusErr[ConfigNotFound][404999003][Config Not Found]!", 6424 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6425 ] 6426 }, 6427 "500": { 6428 "description": "", 6429 "content": { 6430 "application/json": { 6431 "schema": { 6432 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6433 } 6434 } 6435 }, 6436 "x-status-errors": [ 6437 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 6438 "@StatusErr[DatabaseError][500999002][Database Error]!", 6439 "@StatusErr[DatabaseError][500999002][Database Error]!", 6440 "@StatusErr[DatabaseError][500999002][Database Error]!" 6441 ] 6442 } 6443 } 6444 }, 6445 "post": { 6446 "tags": [ 6447 "apis/project_config" 6448 ], 6449 "operationId": "CreateOrUpdateProjectFlow", 6450 "parameters": [ 6451 { 6452 "name": "projectName", 6453 "in": "path", 6454 "required": true, 6455 "schema": { 6456 "type": "string", 6457 "format": "projectName", 6458 "x-go-field-name": "ProjectName", 6459 "x-tag-name": "projectName", 6460 "x-tag-validate": "@projectName" 6461 } 6462 }, 6463 { 6464 "name": "Authorization", 6465 "in": "header", 6466 "schema": { 6467 "type": "string", 6468 "minLength": 1, 6469 "x-go-field-name": "AuthInHeader", 6470 "x-tag-name": "Authorization,omitempty", 6471 "x-tag-validate": "@string[1,]" 6472 } 6473 }, 6474 { 6475 "name": "authorization", 6476 "in": "query", 6477 "schema": { 6478 "type": "string", 6479 "minLength": 1, 6480 "x-go-field-name": "AuthInQuery", 6481 "x-tag-name": "authorization,omitempty", 6482 "x-tag-validate": "@string[1,]" 6483 } 6484 } 6485 ], 6486 "requestBody": { 6487 "required": true, 6488 "content": { 6489 "application/json": { 6490 "schema": { 6491 "allOf": [ 6492 { 6493 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmFlow" 6494 }, 6495 { 6496 "x-go-field-name": "Flow" 6497 } 6498 ] 6499 } 6500 } 6501 } 6502 }, 6503 "responses": { 6504 "201": { 6505 "description": "", 6506 "content": { 6507 "application/json": { 6508 "schema": { 6509 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsConfig" 6510 } 6511 } 6512 } 6513 }, 6514 "400": { 6515 "description": "", 6516 "content": { 6517 "application/json": { 6518 "schema": { 6519 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6520 } 6521 } 6522 }, 6523 "x-status-errors": [ 6524 "@StatusErr[InvalidConfigType][400999002][Invalid Config Type]!" 6525 ] 6526 }, 6527 "401": { 6528 "description": "", 6529 "content": { 6530 "application/json": { 6531 "schema": { 6532 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6533 } 6534 } 6535 }, 6536 "x-status-errors": [ 6537 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 6538 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6539 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6540 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6541 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6542 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6543 ] 6544 }, 6545 "404": { 6546 "description": "", 6547 "content": { 6548 "application/json": { 6549 "schema": { 6550 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6551 } 6552 } 6553 }, 6554 "x-status-errors": [ 6555 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 6556 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6557 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6558 ] 6559 }, 6560 "409": { 6561 "description": "", 6562 "content": { 6563 "application/json": { 6564 "schema": { 6565 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6566 } 6567 } 6568 }, 6569 "x-status-errors": [ 6570 "@StatusErr[ConfigConflict][409999006][Config Conflict]!" 6571 ] 6572 }, 6573 "500": { 6574 "description": "", 6575 "content": { 6576 "application/json": { 6577 "schema": { 6578 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6579 } 6580 } 6581 }, 6582 "x-status-errors": [ 6583 "@StatusErr[ConfigInitFailed][500999005][Config Init Failed]!", 6584 "@StatusErr[ConfigParseFailed][500999007][Config Parse Failed]!", 6585 "@StatusErr[ConfigUninitFailed][500999006][Config Uninit Failed]!", 6586 "@StatusErr[DatabaseError][500999002][Database Error]!", 6587 "@StatusErr[DatabaseError][500999002][Database Error]!", 6588 "@StatusErr[DatabaseError][500999002][Database Error]!" 6589 ] 6590 } 6591 } 6592 } 6593 }, 6594 "/srv-applet-mgr/v0/project_operator/data/{projectID}": { 6595 "get": { 6596 "tags": [ 6597 "apis/projectoperator" 6598 ], 6599 "operationId": "GetProjectOperator", 6600 "parameters": [ 6601 { 6602 "name": "projectID", 6603 "in": "path", 6604 "required": true, 6605 "schema": { 6606 "allOf": [ 6607 { 6608 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 6609 }, 6610 { 6611 "x-go-field-name": "ProjectID", 6612 "x-tag-name": "projectID" 6613 } 6614 ] 6615 } 6616 }, 6617 { 6618 "name": "Authorization", 6619 "in": "header", 6620 "schema": { 6621 "type": "string", 6622 "minLength": 1, 6623 "x-go-field-name": "AuthInHeader", 6624 "x-tag-name": "Authorization,omitempty", 6625 "x-tag-validate": "@string[1,]" 6626 } 6627 }, 6628 { 6629 "name": "authorization", 6630 "in": "query", 6631 "schema": { 6632 "type": "string", 6633 "minLength": 1, 6634 "x-go-field-name": "AuthInQuery", 6635 "x-tag-name": "authorization,omitempty", 6636 "x-tag-validate": "@string[1,]" 6637 } 6638 } 6639 ], 6640 "responses": { 6641 "200": { 6642 "description": "", 6643 "content": { 6644 "application/json": { 6645 "schema": { 6646 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesOperatorDetail" 6647 } 6648 } 6649 } 6650 }, 6651 "401": { 6652 "description": "", 6653 "content": { 6654 "application/json": { 6655 "schema": { 6656 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6657 } 6658 } 6659 }, 6660 "x-status-errors": [ 6661 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6662 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6663 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6664 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6665 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6666 ] 6667 }, 6668 "404": { 6669 "description": "", 6670 "content": { 6671 "application/json": { 6672 "schema": { 6673 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6674 } 6675 } 6676 }, 6677 "x-status-errors": [ 6678 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6679 "@StatusErr[OperatorNotFound][404999019][Operator Not Found]!", 6680 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 6681 "@StatusErr[ProjectOperatorNotFound][404999021][Project Operator relationship Not Found]!" 6682 ] 6683 }, 6684 "500": { 6685 "description": "", 6686 "content": { 6687 "application/json": { 6688 "schema": { 6689 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6690 } 6691 } 6692 }, 6693 "x-status-errors": [ 6694 "@StatusErr[DatabaseError][500999002][Database Error]!", 6695 "@StatusErr[DatabaseError][500999002][Database Error]!" 6696 ] 6697 } 6698 } 6699 } 6700 }, 6701 "/srv-applet-mgr/v0/project_operator/{projectID}": { 6702 "delete": { 6703 "tags": [ 6704 "apis/projectoperator" 6705 ], 6706 "operationId": "RemoveProjectOperator", 6707 "parameters": [ 6708 { 6709 "name": "projectID", 6710 "in": "path", 6711 "required": true, 6712 "schema": { 6713 "allOf": [ 6714 { 6715 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 6716 }, 6717 { 6718 "x-go-field-name": "ProjectID", 6719 "x-tag-name": "projectID" 6720 } 6721 ] 6722 } 6723 }, 6724 { 6725 "name": "Authorization", 6726 "in": "header", 6727 "schema": { 6728 "type": "string", 6729 "minLength": 1, 6730 "x-go-field-name": "AuthInHeader", 6731 "x-tag-name": "Authorization,omitempty", 6732 "x-tag-validate": "@string[1,]" 6733 } 6734 }, 6735 { 6736 "name": "authorization", 6737 "in": "query", 6738 "schema": { 6739 "type": "string", 6740 "minLength": 1, 6741 "x-go-field-name": "AuthInQuery", 6742 "x-tag-name": "authorization,omitempty", 6743 "x-tag-validate": "@string[1,]" 6744 } 6745 } 6746 ], 6747 "responses": { 6748 "204": { 6749 "description": "" 6750 }, 6751 "401": { 6752 "description": "", 6753 "content": { 6754 "application/json": { 6755 "schema": { 6756 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6757 } 6758 } 6759 }, 6760 "x-status-errors": [ 6761 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6762 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6763 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6764 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6765 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6766 ] 6767 }, 6768 "404": { 6769 "description": "", 6770 "content": { 6771 "application/json": { 6772 "schema": { 6773 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6774 } 6775 } 6776 }, 6777 "x-status-errors": [ 6778 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6779 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6780 ] 6781 }, 6782 "500": { 6783 "description": "", 6784 "content": { 6785 "application/json": { 6786 "schema": { 6787 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6788 } 6789 } 6790 }, 6791 "x-status-errors": [ 6792 "@StatusErr[DatabaseError][500999002][Database Error]!", 6793 "@StatusErr[DatabaseError][500999002][Database Error]!" 6794 ] 6795 } 6796 } 6797 } 6798 }, 6799 "/srv-applet-mgr/v0/project_operator/{projectID}/{operatorID}": { 6800 "post": { 6801 "tags": [ 6802 "apis/projectoperator" 6803 ], 6804 "operationId": "CreateProjectOperator", 6805 "parameters": [ 6806 { 6807 "name": "operatorID", 6808 "in": "path", 6809 "required": true, 6810 "schema": { 6811 "allOf": [ 6812 { 6813 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 6814 }, 6815 { 6816 "x-go-field-name": "OperatorID", 6817 "x-tag-name": "operatorID" 6818 } 6819 ] 6820 } 6821 }, 6822 { 6823 "name": "projectID", 6824 "in": "path", 6825 "required": true, 6826 "schema": { 6827 "allOf": [ 6828 { 6829 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 6830 }, 6831 { 6832 "x-go-field-name": "ProjectID", 6833 "x-tag-name": "projectID" 6834 } 6835 ] 6836 } 6837 }, 6838 { 6839 "name": "Authorization", 6840 "in": "header", 6841 "schema": { 6842 "type": "string", 6843 "minLength": 1, 6844 "x-go-field-name": "AuthInHeader", 6845 "x-tag-name": "Authorization,omitempty", 6846 "x-tag-validate": "@string[1,]" 6847 } 6848 }, 6849 { 6850 "name": "authorization", 6851 "in": "query", 6852 "schema": { 6853 "type": "string", 6854 "minLength": 1, 6855 "x-go-field-name": "AuthInQuery", 6856 "x-tag-name": "authorization,omitempty", 6857 "x-tag-validate": "@string[1,]" 6858 } 6859 } 6860 ], 6861 "responses": { 6862 "201": { 6863 "description": "", 6864 "content": { 6865 "application/json": { 6866 "schema": { 6867 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProjectOperator" 6868 } 6869 } 6870 } 6871 }, 6872 "401": { 6873 "description": "", 6874 "content": { 6875 "application/json": { 6876 "schema": { 6877 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6878 } 6879 } 6880 }, 6881 "x-status-errors": [ 6882 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6883 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6884 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6885 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 6886 "@StatusErr[NoOperatorPermission][401999005][No Operator Permission]!", 6887 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 6888 ] 6889 }, 6890 "404": { 6891 "description": "", 6892 "content": { 6893 "application/json": { 6894 "schema": { 6895 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6896 } 6897 } 6898 }, 6899 "x-status-errors": [ 6900 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 6901 "@StatusErr[OperatorNotFound][404999019][Operator Not Found]!", 6902 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 6903 ] 6904 }, 6905 "409": { 6906 "description": "", 6907 "content": { 6908 "application/json": { 6909 "schema": { 6910 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6911 } 6912 } 6913 }, 6914 "x-status-errors": [ 6915 "@StatusErr[ProjectOperatorConflict][409999019][Project Operator relationship Conflict]!" 6916 ] 6917 }, 6918 "500": { 6919 "description": "", 6920 "content": { 6921 "application/json": { 6922 "schema": { 6923 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6924 } 6925 } 6926 }, 6927 "x-status-errors": [ 6928 "@StatusErr[DatabaseError][500999002][Database Error]!", 6929 "@StatusErr[DatabaseError][500999002][Database Error]!" 6930 ] 6931 } 6932 } 6933 } 6934 }, 6935 "/srv-applet-mgr/v0/publisher/data/{publisherID}": { 6936 "delete": { 6937 "tags": [ 6938 "apis/publisher" 6939 ], 6940 "summary": "Remove Publisher by Publisher ID", 6941 "operationId": "RemovePublisher", 6942 "parameters": [ 6943 { 6944 "name": "publisherID", 6945 "in": "path", 6946 "required": true, 6947 "schema": { 6948 "allOf": [ 6949 { 6950 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 6951 }, 6952 { 6953 "x-go-field-name": "PublisherID", 6954 "x-tag-name": "publisherID" 6955 } 6956 ] 6957 } 6958 }, 6959 { 6960 "name": "Authorization", 6961 "in": "header", 6962 "schema": { 6963 "type": "string", 6964 "minLength": 1, 6965 "x-go-field-name": "AuthInHeader", 6966 "x-tag-name": "Authorization,omitempty", 6967 "x-tag-validate": "@string[1,]" 6968 } 6969 }, 6970 { 6971 "name": "authorization", 6972 "in": "query", 6973 "schema": { 6974 "type": "string", 6975 "minLength": 1, 6976 "x-go-field-name": "AuthInQuery", 6977 "x-tag-name": "authorization,omitempty", 6978 "x-tag-validate": "@string[1,]" 6979 } 6980 } 6981 ], 6982 "responses": { 6983 "204": { 6984 "description": "" 6985 }, 6986 "401": { 6987 "description": "", 6988 "content": { 6989 "application/json": { 6990 "schema": { 6991 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 6992 } 6993 } 6994 }, 6995 "x-status-errors": [ 6996 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 6997 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 6998 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 6999 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7000 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7001 ] 7002 }, 7003 "404": { 7004 "description": "", 7005 "content": { 7006 "application/json": { 7007 "schema": { 7008 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7009 } 7010 } 7011 }, 7012 "x-status-errors": [ 7013 "@StatusErr[AccessKeyNotFound][404999022][Account Key Not Found]!", 7014 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7015 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 7016 "@StatusErr[PublisherNotFound][404999008][Publisher Not Found]!" 7017 ] 7018 }, 7019 "500": { 7020 "description": "", 7021 "content": { 7022 "application/json": { 7023 "schema": { 7024 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7025 } 7026 } 7027 }, 7028 "x-status-errors": [ 7029 "@StatusErr[DatabaseError][500999002][Database Error]!", 7030 "@StatusErr[DatabaseError][500999002][Database Error]!" 7031 ] 7032 } 7033 } 7034 }, 7035 "get": { 7036 "tags": [ 7037 "apis/publisher" 7038 ], 7039 "summary": "Get Publisher by Publisher ID", 7040 "operationId": "GetPublisher", 7041 "parameters": [ 7042 { 7043 "name": "publisherID", 7044 "in": "path", 7045 "required": true, 7046 "schema": { 7047 "allOf": [ 7048 { 7049 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 7050 }, 7051 { 7052 "x-go-field-name": "PublisherID", 7053 "x-tag-name": "publisherID" 7054 } 7055 ] 7056 } 7057 }, 7058 { 7059 "name": "Authorization", 7060 "in": "header", 7061 "schema": { 7062 "type": "string", 7063 "minLength": 1, 7064 "x-go-field-name": "AuthInHeader", 7065 "x-tag-name": "Authorization,omitempty", 7066 "x-tag-validate": "@string[1,]" 7067 } 7068 }, 7069 { 7070 "name": "authorization", 7071 "in": "query", 7072 "schema": { 7073 "type": "string", 7074 "minLength": 1, 7075 "x-go-field-name": "AuthInQuery", 7076 "x-tag-name": "authorization,omitempty", 7077 "x-tag-validate": "@string[1,]" 7078 } 7079 } 7080 ], 7081 "responses": { 7082 "200": { 7083 "description": "", 7084 "content": { 7085 "application/json": { 7086 "schema": { 7087 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 7088 } 7089 } 7090 } 7091 }, 7092 "401": { 7093 "description": "", 7094 "content": { 7095 "application/json": { 7096 "schema": { 7097 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7098 } 7099 } 7100 }, 7101 "x-status-errors": [ 7102 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7103 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7104 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7105 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7106 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7107 ] 7108 }, 7109 "404": { 7110 "description": "", 7111 "content": { 7112 "application/json": { 7113 "schema": { 7114 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7115 } 7116 } 7117 }, 7118 "x-status-errors": [ 7119 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7120 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 7121 "@StatusErr[PublisherNotFound][404999008][Publisher Not Found]!" 7122 ] 7123 }, 7124 "500": { 7125 "description": "", 7126 "content": { 7127 "application/json": { 7128 "schema": { 7129 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7130 } 7131 } 7132 }, 7133 "x-status-errors": [ 7134 "@StatusErr[DatabaseError][500999002][Database Error]!", 7135 "@StatusErr[DatabaseError][500999002][Database Error]!" 7136 ] 7137 } 7138 } 7139 } 7140 }, 7141 "/srv-applet-mgr/v0/publisher/x/{projectName}": { 7142 "delete": { 7143 "tags": [ 7144 "apis/publisher" 7145 ], 7146 "summary": "Remove Publisher by Given Conditions", 7147 "operationId": "BatchRemovePublisher", 7148 "parameters": [ 7149 { 7150 "name": "projectName", 7151 "in": "path", 7152 "required": true, 7153 "schema": { 7154 "type": "string", 7155 "format": "projectName", 7156 "x-go-field-name": "ProjectName", 7157 "x-tag-name": "projectName", 7158 "x-tag-validate": "@projectName" 7159 } 7160 }, 7161 { 7162 "name": "Authorization", 7163 "in": "header", 7164 "schema": { 7165 "type": "string", 7166 "minLength": 1, 7167 "x-go-field-name": "AuthInHeader", 7168 "x-tag-name": "Authorization,omitempty", 7169 "x-tag-validate": "@string[1,]" 7170 } 7171 }, 7172 { 7173 "name": "authorization", 7174 "in": "query", 7175 "schema": { 7176 "type": "string", 7177 "minLength": 1, 7178 "x-go-field-name": "AuthInQuery", 7179 "x-tag-name": "authorization,omitempty", 7180 "x-tag-validate": "@string[1,]" 7181 } 7182 }, 7183 { 7184 "name": "key", 7185 "in": "query", 7186 "schema": { 7187 "type": "array", 7188 "items": { 7189 "type": "string" 7190 }, 7191 "x-go-field-name": "Keys", 7192 "x-tag-name": "key,omitempty" 7193 } 7194 }, 7195 { 7196 "name": "lname", 7197 "in": "query", 7198 "schema": { 7199 "type": "string", 7200 "x-go-field-name": "LNameLike", 7201 "x-tag-name": "lname,omitempty" 7202 } 7203 }, 7204 { 7205 "name": "name", 7206 "in": "query", 7207 "schema": { 7208 "type": "string", 7209 "x-go-field-name": "NameLike", 7210 "x-tag-name": "name,omitempty" 7211 } 7212 }, 7213 { 7214 "name": "publisherIDs", 7215 "in": "query", 7216 "schema": { 7217 "type": "array", 7218 "items": { 7219 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 7220 }, 7221 "x-go-field-name": "PublisherIDs", 7222 "x-tag-name": "publisherIDs,omitempty" 7223 } 7224 }, 7225 { 7226 "name": "rname", 7227 "in": "query", 7228 "schema": { 7229 "type": "string", 7230 "x-go-field-name": "RNameLike", 7231 "x-tag-name": "rname,omitempty" 7232 } 7233 } 7234 ], 7235 "responses": { 7236 "204": { 7237 "description": "" 7238 }, 7239 "401": { 7240 "description": "", 7241 "content": { 7242 "application/json": { 7243 "schema": { 7244 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7245 } 7246 } 7247 }, 7248 "x-status-errors": [ 7249 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7250 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7251 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7252 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7253 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7254 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7255 ] 7256 }, 7257 "404": { 7258 "description": "", 7259 "content": { 7260 "application/json": { 7261 "schema": { 7262 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7263 } 7264 } 7265 }, 7266 "x-status-errors": [ 7267 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 7268 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7269 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 7270 ] 7271 }, 7272 "500": { 7273 "description": "", 7274 "content": { 7275 "application/json": { 7276 "schema": { 7277 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7278 } 7279 } 7280 }, 7281 "x-status-errors": [ 7282 "@StatusErr[DatabaseError][500999002][Database Error]!", 7283 "@StatusErr[DatabaseError][500999002][Database Error]!", 7284 "@StatusErr[DatabaseError][500999002][Database Error]!" 7285 ] 7286 } 7287 } 7288 }, 7289 "get": { 7290 "tags": [ 7291 "apis/publisher" 7292 ], 7293 "summary": "List Publishers by Conditions", 7294 "operationId": "ListPublisher", 7295 "parameters": [ 7296 { 7297 "name": "projectName", 7298 "in": "path", 7299 "required": true, 7300 "schema": { 7301 "type": "string", 7302 "format": "projectName", 7303 "x-go-field-name": "ProjectName", 7304 "x-tag-name": "projectName", 7305 "x-tag-validate": "@projectName" 7306 } 7307 }, 7308 { 7309 "name": "Authorization", 7310 "in": "header", 7311 "schema": { 7312 "type": "string", 7313 "minLength": 1, 7314 "x-go-field-name": "AuthInHeader", 7315 "x-tag-name": "Authorization,omitempty", 7316 "x-tag-validate": "@string[1,]" 7317 } 7318 }, 7319 { 7320 "name": "authorization", 7321 "in": "query", 7322 "schema": { 7323 "type": "string", 7324 "minLength": 1, 7325 "x-go-field-name": "AuthInQuery", 7326 "x-tag-name": "authorization,omitempty", 7327 "x-tag-validate": "@string[1,]" 7328 } 7329 }, 7330 { 7331 "name": "key", 7332 "in": "query", 7333 "schema": { 7334 "type": "array", 7335 "items": { 7336 "type": "string" 7337 }, 7338 "x-go-field-name": "Keys", 7339 "x-tag-name": "key,omitempty" 7340 } 7341 }, 7342 { 7343 "name": "lname", 7344 "in": "query", 7345 "schema": { 7346 "type": "string", 7347 "x-go-field-name": "LNameLike", 7348 "x-tag-name": "lname,omitempty" 7349 } 7350 }, 7351 { 7352 "name": "name", 7353 "in": "query", 7354 "schema": { 7355 "type": "string", 7356 "x-go-field-name": "NameLike", 7357 "x-tag-name": "name,omitempty" 7358 } 7359 }, 7360 { 7361 "name": "offset", 7362 "in": "query", 7363 "schema": { 7364 "type": "integer", 7365 "format": "int64", 7366 "maximum": 9223372036854776000, 7367 "minimum": 0, 7368 "default": "0", 7369 "x-go-field-name": "Offset", 7370 "x-tag-name": "offset,omitempty", 7371 "x-tag-validate": "@int64[0,]" 7372 } 7373 }, 7374 { 7375 "name": "publisherIDs", 7376 "in": "query", 7377 "schema": { 7378 "type": "array", 7379 "items": { 7380 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 7381 }, 7382 "x-go-field-name": "PublisherIDs", 7383 "x-tag-name": "publisherIDs,omitempty" 7384 } 7385 }, 7386 { 7387 "name": "rname", 7388 "in": "query", 7389 "schema": { 7390 "type": "string", 7391 "x-go-field-name": "RNameLike", 7392 "x-tag-name": "rname,omitempty" 7393 } 7394 }, 7395 { 7396 "name": "size", 7397 "in": "query", 7398 "schema": { 7399 "type": "integer", 7400 "format": "int64", 7401 "maximum": 9223372036854776000, 7402 "minimum": -1, 7403 "default": "10", 7404 "x-go-field-name": "Size", 7405 "x-tag-name": "size,omitempty", 7406 "x-tag-validate": "@int64[-1,]" 7407 } 7408 } 7409 ], 7410 "responses": { 7411 "200": { 7412 "description": "", 7413 "content": { 7414 "application/json": { 7415 "schema": { 7416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesPublisherListRsp" 7417 } 7418 } 7419 } 7420 }, 7421 "401": { 7422 "description": "", 7423 "content": { 7424 "application/json": { 7425 "schema": { 7426 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7427 } 7428 } 7429 }, 7430 "x-status-errors": [ 7431 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7432 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7433 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7434 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7435 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7436 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7437 ] 7438 }, 7439 "404": { 7440 "description": "", 7441 "content": { 7442 "application/json": { 7443 "schema": { 7444 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7445 } 7446 } 7447 }, 7448 "x-status-errors": [ 7449 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 7450 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7451 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 7452 ] 7453 }, 7454 "500": { 7455 "description": "", 7456 "content": { 7457 "application/json": { 7458 "schema": { 7459 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7460 } 7461 } 7462 }, 7463 "x-status-errors": [ 7464 "@StatusErr[DatabaseError][500999002][Database Error]!", 7465 "@StatusErr[DatabaseError][500999002][Database Error]!", 7466 "@StatusErr[DatabaseError][500999002][Database Error]!" 7467 ] 7468 } 7469 } 7470 }, 7471 "post": { 7472 "tags": [ 7473 "apis/publisher" 7474 ], 7475 "summary": "Create Publisher", 7476 "operationId": "CreatePublisher", 7477 "parameters": [ 7478 { 7479 "name": "projectName", 7480 "in": "path", 7481 "required": true, 7482 "schema": { 7483 "type": "string", 7484 "format": "projectName", 7485 "x-go-field-name": "ProjectName", 7486 "x-tag-name": "projectName", 7487 "x-tag-validate": "@projectName" 7488 } 7489 }, 7490 { 7491 "name": "Authorization", 7492 "in": "header", 7493 "schema": { 7494 "type": "string", 7495 "minLength": 1, 7496 "x-go-field-name": "AuthInHeader", 7497 "x-tag-name": "Authorization,omitempty", 7498 "x-tag-validate": "@string[1,]" 7499 } 7500 }, 7501 { 7502 "name": "authorization", 7503 "in": "query", 7504 "schema": { 7505 "type": "string", 7506 "minLength": 1, 7507 "x-go-field-name": "AuthInQuery", 7508 "x-tag-name": "authorization,omitempty", 7509 "x-tag-validate": "@string[1,]" 7510 } 7511 } 7512 ], 7513 "requestBody": { 7514 "required": true, 7515 "content": { 7516 "application/json": { 7517 "schema": { 7518 "allOf": [ 7519 { 7520 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq" 7521 }, 7522 { 7523 "x-go-field-name": "CreateReq" 7524 } 7525 ] 7526 } 7527 } 7528 } 7529 }, 7530 "responses": { 7531 "201": { 7532 "description": "", 7533 "content": { 7534 "application/json": { 7535 "schema": { 7536 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 7537 } 7538 } 7539 } 7540 }, 7541 "400": { 7542 "description": "", 7543 "content": { 7544 "application/json": { 7545 "schema": { 7546 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7547 } 7548 } 7549 }, 7550 "x-status-errors": [ 7551 "@StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!" 7552 ] 7553 }, 7554 "401": { 7555 "description": "", 7556 "content": { 7557 "application/json": { 7558 "schema": { 7559 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7560 } 7561 } 7562 }, 7563 "x-status-errors": [ 7564 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7565 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7566 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7567 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7568 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7569 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7570 ] 7571 }, 7572 "404": { 7573 "description": "", 7574 "content": { 7575 "application/json": { 7576 "schema": { 7577 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7578 } 7579 } 7580 }, 7581 "x-status-errors": [ 7582 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 7583 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7584 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 7585 ] 7586 }, 7587 "409": { 7588 "description": "", 7589 "content": { 7590 "application/json": { 7591 "schema": { 7592 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7593 } 7594 } 7595 }, 7596 "x-status-errors": [ 7597 "@StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!", 7598 "@StatusErr[PublisherConflict][409999007][Publisher Conflict]!" 7599 ] 7600 }, 7601 "500": { 7602 "description": "", 7603 "content": { 7604 "application/json": { 7605 "schema": { 7606 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7607 } 7608 } 7609 }, 7610 "x-status-errors": [ 7611 "@StatusErr[DatabaseError][500999002][Database Error]!", 7612 "@StatusErr[DatabaseError][500999002][Database Error]!", 7613 "@StatusErr[DatabaseError][500999002][Database Error]!" 7614 ] 7615 } 7616 } 7617 } 7618 }, 7619 "/srv-applet-mgr/v0/publisher/x/{projectName}/anonymous": { 7620 "post": { 7621 "tags": [ 7622 "apis/publisher" 7623 ], 7624 "operationId": "CreateAnonymousPublisher", 7625 "parameters": [ 7626 { 7627 "name": "projectName", 7628 "in": "path", 7629 "required": true, 7630 "schema": { 7631 "type": "string", 7632 "format": "projectName", 7633 "x-go-field-name": "ProjectName", 7634 "x-tag-name": "projectName", 7635 "x-tag-validate": "@projectName" 7636 } 7637 }, 7638 { 7639 "name": "Authorization", 7640 "in": "header", 7641 "schema": { 7642 "type": "string", 7643 "minLength": 1, 7644 "x-go-field-name": "AuthInHeader", 7645 "x-tag-name": "Authorization,omitempty", 7646 "x-tag-validate": "@string[1,]" 7647 } 7648 }, 7649 { 7650 "name": "authorization", 7651 "in": "query", 7652 "schema": { 7653 "type": "string", 7654 "minLength": 1, 7655 "x-go-field-name": "AuthInQuery", 7656 "x-tag-name": "authorization,omitempty", 7657 "x-tag-validate": "@string[1,]" 7658 } 7659 } 7660 ], 7661 "responses": { 7662 "201": { 7663 "description": "", 7664 "content": { 7665 "application/json": { 7666 "schema": { 7667 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 7668 } 7669 } 7670 } 7671 }, 7672 "400": { 7673 "description": "", 7674 "content": { 7675 "application/json": { 7676 "schema": { 7677 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7678 } 7679 } 7680 }, 7681 "x-status-errors": [ 7682 "@StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!" 7683 ] 7684 }, 7685 "401": { 7686 "description": "", 7687 "content": { 7688 "application/json": { 7689 "schema": { 7690 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7691 } 7692 } 7693 }, 7694 "x-status-errors": [ 7695 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7696 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7697 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7698 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7699 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7700 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7701 ] 7702 }, 7703 "404": { 7704 "description": "", 7705 "content": { 7706 "application/json": { 7707 "schema": { 7708 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7709 } 7710 } 7711 }, 7712 "x-status-errors": [ 7713 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 7714 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7715 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 7716 ] 7717 }, 7718 "409": { 7719 "description": "", 7720 "content": { 7721 "application/json": { 7722 "schema": { 7723 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7724 } 7725 } 7726 }, 7727 "x-status-errors": [ 7728 "@StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!", 7729 "@StatusErr[ProjectNameConflict][409999002][Project Name Conflict]!" 7730 ] 7731 }, 7732 "500": { 7733 "description": "", 7734 "content": { 7735 "application/json": { 7736 "schema": { 7737 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7738 } 7739 } 7740 }, 7741 "x-status-errors": [ 7742 "@StatusErr[DatabaseError][500999002][Database Error]!", 7743 "@StatusErr[DatabaseError][500999002][Database Error]!", 7744 "@StatusErr[DatabaseError][500999002][Database Error]!" 7745 ] 7746 } 7747 } 7748 } 7749 }, 7750 "/srv-applet-mgr/v0/publisher/x/{projectName}/upsert": { 7751 "post": { 7752 "tags": [ 7753 "apis/publisher" 7754 ], 7755 "operationId": "UpsertPublisher", 7756 "parameters": [ 7757 { 7758 "name": "projectName", 7759 "in": "path", 7760 "required": true, 7761 "schema": { 7762 "type": "string", 7763 "format": "projectName", 7764 "x-go-field-name": "ProjectName", 7765 "x-tag-name": "projectName", 7766 "x-tag-validate": "@projectName" 7767 } 7768 }, 7769 { 7770 "name": "Authorization", 7771 "in": "header", 7772 "schema": { 7773 "type": "string", 7774 "minLength": 1, 7775 "x-go-field-name": "AuthInHeader", 7776 "x-tag-name": "Authorization,omitempty", 7777 "x-tag-validate": "@string[1,]" 7778 } 7779 }, 7780 { 7781 "name": "authorization", 7782 "in": "query", 7783 "schema": { 7784 "type": "string", 7785 "minLength": 1, 7786 "x-go-field-name": "AuthInQuery", 7787 "x-tag-name": "authorization,omitempty", 7788 "x-tag-validate": "@string[1,]" 7789 } 7790 } 7791 ], 7792 "requestBody": { 7793 "required": true, 7794 "content": { 7795 "application/json": { 7796 "schema": { 7797 "allOf": [ 7798 { 7799 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq" 7800 }, 7801 { 7802 "x-go-field-name": "CreateReq" 7803 } 7804 ] 7805 } 7806 } 7807 } 7808 }, 7809 "responses": { 7810 "201": { 7811 "description": "", 7812 "content": { 7813 "application/json": { 7814 "schema": { 7815 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 7816 } 7817 } 7818 } 7819 }, 7820 "400": { 7821 "description": "", 7822 "content": { 7823 "application/json": { 7824 "schema": { 7825 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7826 } 7827 } 7828 }, 7829 "x-status-errors": [ 7830 "@StatusErr[InvalidAccessKeyIdentityType][400999013][Invalid Access Key Identity Type]!" 7831 ] 7832 }, 7833 "401": { 7834 "description": "", 7835 "content": { 7836 "application/json": { 7837 "schema": { 7838 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7839 } 7840 } 7841 }, 7842 "x-status-errors": [ 7843 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7844 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7845 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7846 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7847 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7848 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7849 ] 7850 }, 7851 "404": { 7852 "description": "", 7853 "content": { 7854 "application/json": { 7855 "schema": { 7856 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7857 } 7858 } 7859 }, 7860 "x-status-errors": [ 7861 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 7862 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 7863 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 7864 ] 7865 }, 7866 "409": { 7867 "description": "", 7868 "content": { 7869 "application/json": { 7870 "schema": { 7871 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7872 } 7873 } 7874 }, 7875 "x-status-errors": [ 7876 "@StatusErr[AccessKeyNameConflict][409999020][Access Key Name Conflict]!", 7877 "@StatusErr[PublisherConflict][409999007][Publisher Conflict]!" 7878 ] 7879 }, 7880 "500": { 7881 "description": "", 7882 "content": { 7883 "application/json": { 7884 "schema": { 7885 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7886 } 7887 } 7888 }, 7889 "x-status-errors": [ 7890 "@StatusErr[DatabaseError][500999002][Database Error]!", 7891 "@StatusErr[DatabaseError][500999002][Database Error]!", 7892 "@StatusErr[DatabaseError][500999002][Database Error]!" 7893 ] 7894 } 7895 } 7896 } 7897 }, 7898 "/srv-applet-mgr/v0/publisher/x/{projectName}/{publisherID}": { 7899 "put": { 7900 "tags": [ 7901 "apis/publisher" 7902 ], 7903 "summary": "Update Publisher by Publisher ID", 7904 "operationId": "UpdatePublisher", 7905 "parameters": [ 7906 { 7907 "name": "projectName", 7908 "in": "path", 7909 "required": true, 7910 "schema": { 7911 "type": "string", 7912 "format": "projectName", 7913 "x-go-field-name": "ProjectName", 7914 "x-tag-name": "projectName", 7915 "x-tag-validate": "@projectName" 7916 } 7917 }, 7918 { 7919 "name": "publisherID", 7920 "in": "path", 7921 "required": true, 7922 "schema": { 7923 "allOf": [ 7924 { 7925 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 7926 }, 7927 { 7928 "x-go-field-name": "PublisherID", 7929 "x-tag-name": "publisherID" 7930 } 7931 ] 7932 } 7933 }, 7934 { 7935 "name": "Authorization", 7936 "in": "header", 7937 "schema": { 7938 "type": "string", 7939 "minLength": 1, 7940 "x-go-field-name": "AuthInHeader", 7941 "x-tag-name": "Authorization,omitempty", 7942 "x-tag-validate": "@string[1,]" 7943 } 7944 }, 7945 { 7946 "name": "authorization", 7947 "in": "query", 7948 "schema": { 7949 "type": "string", 7950 "minLength": 1, 7951 "x-go-field-name": "AuthInQuery", 7952 "x-tag-name": "authorization,omitempty", 7953 "x-tag-validate": "@string[1,]" 7954 } 7955 } 7956 ], 7957 "requestBody": { 7958 "required": true, 7959 "content": { 7960 "application/json": { 7961 "schema": { 7962 "allOf": [ 7963 { 7964 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesPublisherUpdateReq" 7965 }, 7966 { 7967 "x-go-field-name": "UpdateReq" 7968 } 7969 ] 7970 } 7971 } 7972 } 7973 }, 7974 "responses": { 7975 "204": { 7976 "description": "" 7977 }, 7978 "401": { 7979 "description": "", 7980 "content": { 7981 "application/json": { 7982 "schema": { 7983 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 7984 } 7985 } 7986 }, 7987 "x-status-errors": [ 7988 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 7989 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 7990 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 7991 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 7992 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 7993 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 7994 ] 7995 }, 7996 "404": { 7997 "description": "", 7998 "content": { 7999 "application/json": { 8000 "schema": { 8001 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8002 } 8003 } 8004 }, 8005 "x-status-errors": [ 8006 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 8007 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8008 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 8009 "@StatusErr[PublisherNotFound][404999008][Publisher Not Found]!" 8010 ] 8011 }, 8012 "409": { 8013 "description": "", 8014 "content": { 8015 "application/json": { 8016 "schema": { 8017 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8018 } 8019 } 8020 }, 8021 "x-status-errors": [ 8022 "@StatusErr[PublisherConflict][409999007][Publisher Conflict]!" 8023 ] 8024 }, 8025 "500": { 8026 "description": "", 8027 "content": { 8028 "application/json": { 8029 "schema": { 8030 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8031 } 8032 } 8033 }, 8034 "x-status-errors": [ 8035 "@StatusErr[DatabaseError][500999002][Database Error]!", 8036 "@StatusErr[DatabaseError][500999002][Database Error]!", 8037 "@StatusErr[DatabaseError][500999002][Database Error]!" 8038 ] 8039 } 8040 } 8041 } 8042 }, 8043 "/srv-applet-mgr/v0/register/admin": { 8044 "post": { 8045 "tags": [ 8046 "apis/account" 8047 ], 8048 "summary": "Create account with username and password", 8049 "operationId": "CreateAccountByUsernameAndPassword", 8050 "requestBody": { 8051 "required": true, 8052 "content": { 8053 "application/json": { 8054 "schema": { 8055 "allOf": [ 8056 { 8057 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameReq" 8058 }, 8059 { 8060 "x-go-field-name": "CreateAccountByUsernameReq" 8061 } 8062 ] 8063 } 8064 } 8065 } 8066 }, 8067 "responses": { 8068 "201": { 8069 "description": "", 8070 "content": { 8071 "application/json": { 8072 "schema": { 8073 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp" 8074 } 8075 } 8076 } 8077 }, 8078 "401": { 8079 "description": "", 8080 "content": { 8081 "application/json": { 8082 "schema": { 8083 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8084 } 8085 } 8086 }, 8087 "x-status-errors": [ 8088 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!" 8089 ] 8090 }, 8091 "409": { 8092 "description": "", 8093 "content": { 8094 "application/json": { 8095 "schema": { 8096 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8097 } 8098 } 8099 }, 8100 "x-status-errors": [ 8101 "@StatusErr[AccountConflict][409999015][Account Conflict]!", 8102 "@StatusErr[AccountIdentityConflict][409999014][Account Identity Conflict]!", 8103 "@StatusErr[AccountPasswordConflict][409999016][Account Password Conflict]!", 8104 "@StatusErr[OperatorConflict][409999017][Operator Conflict]!" 8105 ] 8106 }, 8107 "500": { 8108 "description": "", 8109 "content": { 8110 "application/json": { 8111 "schema": { 8112 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8113 } 8114 } 8115 }, 8116 "x-status-errors": [ 8117 "@StatusErr[DatabaseError][500999002][Database Error]!" 8118 ] 8119 } 8120 } 8121 } 8122 }, 8123 "/srv-applet-mgr/v0/resource": { 8124 "get": { 8125 "tags": [ 8126 "apis/resource" 8127 ], 8128 "operationId": "ListResources", 8129 "parameters": [ 8130 { 8131 "name": "Authorization", 8132 "in": "header", 8133 "schema": { 8134 "type": "string", 8135 "minLength": 1, 8136 "x-go-field-name": "AuthInHeader", 8137 "x-tag-name": "Authorization,omitempty", 8138 "x-tag-validate": "@string[1,]" 8139 } 8140 }, 8141 { 8142 "name": "authorization", 8143 "in": "query", 8144 "schema": { 8145 "type": "string", 8146 "minLength": 1, 8147 "x-go-field-name": "AuthInQuery", 8148 "x-tag-name": "authorization,omitempty", 8149 "x-tag-validate": "@string[1,]" 8150 } 8151 }, 8152 { 8153 "name": "expireAfter", 8154 "in": "query", 8155 "schema": { 8156 "allOf": [ 8157 { 8158 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 8159 }, 8160 { 8161 "x-go-field-name": "ExpireAfter", 8162 "x-tag-name": "expireAfter,omitempty" 8163 } 8164 ] 8165 } 8166 }, 8167 { 8168 "name": "expireBefore", 8169 "in": "query", 8170 "schema": { 8171 "allOf": [ 8172 { 8173 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 8174 }, 8175 { 8176 "x-go-field-name": "ExpireBefore", 8177 "x-tag-name": "expireBefore,omitempty" 8178 } 8179 ] 8180 } 8181 }, 8182 { 8183 "name": "filename", 8184 "in": "query", 8185 "schema": { 8186 "type": "array", 8187 "items": { 8188 "type": "string" 8189 }, 8190 "x-go-field-name": "Filenames", 8191 "x-tag-name": "filename,omitempty" 8192 } 8193 }, 8194 { 8195 "name": "filenameLike", 8196 "in": "query", 8197 "schema": { 8198 "type": "string", 8199 "x-go-field-name": "FilenameLike", 8200 "x-tag-name": "filenameLike,omitempty" 8201 } 8202 }, 8203 { 8204 "name": "md5", 8205 "in": "query", 8206 "schema": { 8207 "type": "string", 8208 "x-go-field-name": "Md5", 8209 "x-tag-name": "md5,omitempty" 8210 } 8211 }, 8212 { 8213 "name": "offset", 8214 "in": "query", 8215 "schema": { 8216 "type": "integer", 8217 "format": "int64", 8218 "maximum": 9223372036854776000, 8219 "minimum": 0, 8220 "default": "0", 8221 "x-go-field-name": "Offset", 8222 "x-tag-name": "offset,omitempty", 8223 "x-tag-validate": "@int64[0,]" 8224 } 8225 }, 8226 { 8227 "name": "resourceID", 8228 "in": "query", 8229 "schema": { 8230 "type": "array", 8231 "items": { 8232 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8233 }, 8234 "x-go-field-name": "ResourceIDs", 8235 "x-tag-name": "resourceID,omitempty" 8236 } 8237 }, 8238 { 8239 "name": "size", 8240 "in": "query", 8241 "schema": { 8242 "type": "integer", 8243 "format": "int64", 8244 "maximum": 9223372036854776000, 8245 "minimum": -1, 8246 "default": "10", 8247 "x-go-field-name": "Size", 8248 "x-tag-name": "size,omitempty", 8249 "x-tag-validate": "@int64[-1,]" 8250 } 8251 }, 8252 { 8253 "name": "uploadedAfter", 8254 "in": "query", 8255 "schema": { 8256 "allOf": [ 8257 { 8258 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 8259 }, 8260 { 8261 "x-go-field-name": "UploadedAfter", 8262 "x-tag-name": "uploadedAfter,omitempty" 8263 } 8264 ] 8265 } 8266 }, 8267 { 8268 "name": "uploadedBefore", 8269 "in": "query", 8270 "schema": { 8271 "allOf": [ 8272 { 8273 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 8274 }, 8275 { 8276 "x-go-field-name": "UploadedBefore", 8277 "x-tag-name": "uploadedBefore,omitempty" 8278 } 8279 ] 8280 } 8281 } 8282 ], 8283 "responses": { 8284 "200": { 8285 "description": "", 8286 "content": { 8287 "application/json": { 8288 "schema": { 8289 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesResourceListRsp" 8290 } 8291 } 8292 } 8293 }, 8294 "401": { 8295 "description": "", 8296 "content": { 8297 "application/json": { 8298 "schema": { 8299 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8300 } 8301 } 8302 }, 8303 "x-status-errors": [ 8304 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8305 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8306 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8307 "@StatusErr[InvalidToken][401999002][Invalid Token]!" 8308 ] 8309 }, 8310 "404": { 8311 "description": "", 8312 "content": { 8313 "application/json": { 8314 "schema": { 8315 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8316 } 8317 } 8318 }, 8319 "x-status-errors": [ 8320 "@StatusErr[AccountNotFound][404999017][Account Not Found]!" 8321 ] 8322 }, 8323 "500": { 8324 "description": "", 8325 "content": { 8326 "application/json": { 8327 "schema": { 8328 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8329 } 8330 } 8331 }, 8332 "x-status-errors": [ 8333 "@StatusErr[DatabaseError][500999002][Database Error]!", 8334 "@StatusErr[DatabaseError][500999002][Database Error]!" 8335 ] 8336 } 8337 } 8338 } 8339 }, 8340 "/srv-applet-mgr/v0/resource/data/{resourceID}": { 8341 "get": { 8342 "tags": [ 8343 "apis/resource" 8344 ], 8345 "summary": "DownloadResource download resource by resource id", 8346 "operationId": "DownloadResource", 8347 "parameters": [ 8348 { 8349 "name": "resourceID", 8350 "in": "path", 8351 "required": true, 8352 "schema": { 8353 "allOf": [ 8354 { 8355 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8356 }, 8357 { 8358 "x-go-field-name": "ResourceID", 8359 "x-tag-name": "resourceID" 8360 } 8361 ] 8362 } 8363 }, 8364 { 8365 "name": "Authorization", 8366 "in": "header", 8367 "schema": { 8368 "type": "string", 8369 "minLength": 1, 8370 "x-go-field-name": "AuthInHeader", 8371 "x-tag-name": "Authorization,omitempty", 8372 "x-tag-validate": "@string[1,]" 8373 } 8374 }, 8375 { 8376 "name": "authorization", 8377 "in": "query", 8378 "schema": { 8379 "type": "string", 8380 "minLength": 1, 8381 "x-go-field-name": "AuthInQuery", 8382 "x-tag-name": "authorization,omitempty", 8383 "x-tag-validate": "@string[1,]" 8384 } 8385 } 8386 ], 8387 "responses": { 8388 "200": { 8389 "description": "", 8390 "content": { 8391 "application/octet-stream": { 8392 "schema": { 8393 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment" 8394 } 8395 } 8396 } 8397 }, 8398 "401": { 8399 "description": "", 8400 "content": { 8401 "application/json": { 8402 "schema": { 8403 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8404 } 8405 } 8406 }, 8407 "x-status-errors": [ 8408 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8409 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8410 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8411 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8412 "@StatusErr[NoResourcePermission][401999017][No Resource Permission]!" 8413 ] 8414 }, 8415 "404": { 8416 "description": "", 8417 "content": { 8418 "application/json": { 8419 "schema": { 8420 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8421 } 8422 } 8423 }, 8424 "x-status-errors": [ 8425 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8426 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!", 8427 "@StatusErr[ResourcePermNotFound][404999010][Resource Perm Not Found]!" 8428 ] 8429 }, 8430 "500": { 8431 "description": "", 8432 "content": { 8433 "application/json": { 8434 "schema": { 8435 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8436 } 8437 } 8438 }, 8439 "x-status-errors": [ 8440 "@StatusErr[DatabaseError][500999002][Database Error]!", 8441 "@StatusErr[DatabaseError][500999002][Database Error]!", 8442 "@StatusErr[FetchResourceFailed][500999004][Fetch Resource Failed]!" 8443 ] 8444 } 8445 } 8446 } 8447 }, 8448 "/srv-applet-mgr/v0/resource/url/{resourceID}": { 8449 "get": { 8450 "tags": [ 8451 "apis/resource" 8452 ], 8453 "operationId": "GetDownloadResourceUrl", 8454 "parameters": [ 8455 { 8456 "name": "resourceID", 8457 "in": "path", 8458 "required": true, 8459 "schema": { 8460 "allOf": [ 8461 { 8462 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8463 }, 8464 { 8465 "x-go-field-name": "ResourceID", 8466 "x-tag-name": "resourceID" 8467 } 8468 ] 8469 } 8470 }, 8471 { 8472 "name": "Authorization", 8473 "in": "header", 8474 "schema": { 8475 "type": "string", 8476 "minLength": 1, 8477 "x-go-field-name": "AuthInHeader", 8478 "x-tag-name": "Authorization,omitempty", 8479 "x-tag-validate": "@string[1,]" 8480 } 8481 }, 8482 { 8483 "name": "authorization", 8484 "in": "query", 8485 "schema": { 8486 "type": "string", 8487 "minLength": 1, 8488 "x-go-field-name": "AuthInQuery", 8489 "x-tag-name": "authorization,omitempty", 8490 "x-tag-validate": "@string[1,]" 8491 } 8492 } 8493 ], 8494 "responses": { 8495 "200": { 8496 "description": "", 8497 "content": { 8498 "application/json": { 8499 "schema": { 8500 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp" 8501 } 8502 } 8503 } 8504 }, 8505 "401": { 8506 "description": "", 8507 "content": { 8508 "application/json": { 8509 "schema": { 8510 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8511 } 8512 } 8513 }, 8514 "x-status-errors": [ 8515 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8516 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8517 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8518 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8519 "@StatusErr[NoResourcePermission][401999017][No Resource Permission]!" 8520 ] 8521 }, 8522 "403": { 8523 "description": "", 8524 "content": { 8525 "application/json": { 8526 "schema": { 8527 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8528 } 8529 } 8530 }, 8531 "x-status-errors": [ 8532 "@StatusErr[UnsupportedFSOperator][403999009][Unsupported FileSystem Operator]!" 8533 ] 8534 }, 8535 "404": { 8536 "description": "", 8537 "content": { 8538 "application/json": { 8539 "schema": { 8540 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8541 } 8542 } 8543 }, 8544 "x-status-errors": [ 8545 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8546 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!", 8547 "@StatusErr[ResourcePermNotFound][404999010][Resource Perm Not Found]!" 8548 ] 8549 }, 8550 "500": { 8551 "description": "", 8552 "content": { 8553 "application/json": { 8554 "schema": { 8555 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8556 } 8557 } 8558 }, 8559 "x-status-errors": [ 8560 "@StatusErr[DatabaseError][500999002][Database Error]!", 8561 "@StatusErr[DatabaseError][500999002][Database Error]!" 8562 ] 8563 } 8564 } 8565 } 8566 }, 8567 "/srv-applet-mgr/v0/resource/{resourceID}": { 8568 "delete": { 8569 "tags": [ 8570 "apis/resource" 8571 ], 8572 "operationId": "RemoveResource", 8573 "parameters": [ 8574 { 8575 "name": "resourceID", 8576 "in": "path", 8577 "required": true, 8578 "schema": { 8579 "allOf": [ 8580 { 8581 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8582 }, 8583 { 8584 "x-go-field-name": "ResourceID", 8585 "x-tag-name": "resourceID" 8586 } 8587 ] 8588 } 8589 }, 8590 { 8591 "name": "Authorization", 8592 "in": "header", 8593 "schema": { 8594 "type": "string", 8595 "minLength": 1, 8596 "x-go-field-name": "AuthInHeader", 8597 "x-tag-name": "Authorization,omitempty", 8598 "x-tag-validate": "@string[1,]" 8599 } 8600 }, 8601 { 8602 "name": "authorization", 8603 "in": "query", 8604 "schema": { 8605 "type": "string", 8606 "minLength": 1, 8607 "x-go-field-name": "AuthInQuery", 8608 "x-tag-name": "authorization,omitempty", 8609 "x-tag-validate": "@string[1,]" 8610 } 8611 } 8612 ], 8613 "responses": { 8614 "204": { 8615 "description": "" 8616 }, 8617 "401": { 8618 "description": "", 8619 "content": { 8620 "application/json": { 8621 "schema": { 8622 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8623 } 8624 } 8625 }, 8626 "x-status-errors": [ 8627 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8628 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8629 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8630 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8631 "@StatusErr[NoResourcePermission][401999017][No Resource Permission]!" 8632 ] 8633 }, 8634 "404": { 8635 "description": "", 8636 "content": { 8637 "application/json": { 8638 "schema": { 8639 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8640 } 8641 } 8642 }, 8643 "x-status-errors": [ 8644 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8645 "@StatusErr[ResourcePermNotFound][404999010][Resource Perm Not Found]!" 8646 ] 8647 }, 8648 "500": { 8649 "description": "", 8650 "content": { 8651 "application/json": { 8652 "schema": { 8653 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8654 } 8655 } 8656 }, 8657 "x-status-errors": [ 8658 "@StatusErr[DatabaseError][500999002][Database Error]!", 8659 "@StatusErr[DatabaseError][500999002][Database Error]!" 8660 ] 8661 } 8662 } 8663 } 8664 }, 8665 "/srv-applet-mgr/v0/strategy/data/{strategyID}": { 8666 "delete": { 8667 "tags": [ 8668 "apis/strategy" 8669 ], 8670 "operationId": "RemoveStrategy", 8671 "parameters": [ 8672 { 8673 "name": "strategyID", 8674 "in": "path", 8675 "required": true, 8676 "schema": { 8677 "allOf": [ 8678 { 8679 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8680 }, 8681 { 8682 "x-go-field-name": "StrategyID", 8683 "x-tag-name": "strategyID" 8684 } 8685 ] 8686 } 8687 }, 8688 { 8689 "name": "Authorization", 8690 "in": "header", 8691 "schema": { 8692 "type": "string", 8693 "minLength": 1, 8694 "x-go-field-name": "AuthInHeader", 8695 "x-tag-name": "Authorization,omitempty", 8696 "x-tag-validate": "@string[1,]" 8697 } 8698 }, 8699 { 8700 "name": "authorization", 8701 "in": "query", 8702 "schema": { 8703 "type": "string", 8704 "minLength": 1, 8705 "x-go-field-name": "AuthInQuery", 8706 "x-tag-name": "authorization,omitempty", 8707 "x-tag-validate": "@string[1,]" 8708 } 8709 } 8710 ], 8711 "responses": { 8712 "204": { 8713 "description": "" 8714 }, 8715 "401": { 8716 "description": "", 8717 "content": { 8718 "application/json": { 8719 "schema": { 8720 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8721 } 8722 } 8723 }, 8724 "x-status-errors": [ 8725 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8726 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8727 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8728 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8729 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 8730 ] 8731 }, 8732 "404": { 8733 "description": "", 8734 "content": { 8735 "application/json": { 8736 "schema": { 8737 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8738 } 8739 } 8740 }, 8741 "x-status-errors": [ 8742 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8743 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 8744 "@StatusErr[StrategyNotFound][404999007][Strategy Not Found]!" 8745 ] 8746 }, 8747 "500": { 8748 "description": "", 8749 "content": { 8750 "application/json": { 8751 "schema": { 8752 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8753 } 8754 } 8755 }, 8756 "x-status-errors": [ 8757 "@StatusErr[DatabaseError][500999002][Database Error]!", 8758 "@StatusErr[DatabaseError][500999002][Database Error]!" 8759 ] 8760 } 8761 } 8762 }, 8763 "get": { 8764 "tags": [ 8765 "apis/strategy" 8766 ], 8767 "operationId": "GetStrategy", 8768 "parameters": [ 8769 { 8770 "name": "strategyID", 8771 "in": "path", 8772 "required": true, 8773 "schema": { 8774 "allOf": [ 8775 { 8776 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8777 }, 8778 { 8779 "x-go-field-name": "StrategyID", 8780 "x-tag-name": "strategyID" 8781 } 8782 ] 8783 } 8784 }, 8785 { 8786 "name": "Authorization", 8787 "in": "header", 8788 "schema": { 8789 "type": "string", 8790 "minLength": 1, 8791 "x-go-field-name": "AuthInHeader", 8792 "x-tag-name": "Authorization,omitempty", 8793 "x-tag-validate": "@string[1,]" 8794 } 8795 }, 8796 { 8797 "name": "authorization", 8798 "in": "query", 8799 "schema": { 8800 "type": "string", 8801 "minLength": 1, 8802 "x-go-field-name": "AuthInQuery", 8803 "x-tag-name": "authorization,omitempty", 8804 "x-tag-validate": "@string[1,]" 8805 } 8806 } 8807 ], 8808 "responses": { 8809 "200": { 8810 "description": "", 8811 "content": { 8812 "application/json": { 8813 "schema": { 8814 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategy" 8815 } 8816 } 8817 } 8818 }, 8819 "401": { 8820 "description": "", 8821 "content": { 8822 "application/json": { 8823 "schema": { 8824 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8825 } 8826 } 8827 }, 8828 "x-status-errors": [ 8829 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8830 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8831 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8832 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8833 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 8834 ] 8835 }, 8836 "404": { 8837 "description": "", 8838 "content": { 8839 "application/json": { 8840 "schema": { 8841 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8842 } 8843 } 8844 }, 8845 "x-status-errors": [ 8846 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8847 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 8848 "@StatusErr[StrategyNotFound][404999007][Strategy Not Found]!" 8849 ] 8850 }, 8851 "500": { 8852 "description": "", 8853 "content": { 8854 "application/json": { 8855 "schema": { 8856 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8857 } 8858 } 8859 }, 8860 "x-status-errors": [ 8861 "@StatusErr[DatabaseError][500999002][Database Error]!", 8862 "@StatusErr[DatabaseError][500999002][Database Error]!" 8863 ] 8864 } 8865 } 8866 } 8867 }, 8868 "/srv-applet-mgr/v0/strategy/x/{projectName}": { 8869 "delete": { 8870 "tags": [ 8871 "apis/strategy" 8872 ], 8873 "operationId": "BatchRemoveStrategy", 8874 "parameters": [ 8875 { 8876 "name": "projectName", 8877 "in": "path", 8878 "required": true, 8879 "schema": { 8880 "type": "string", 8881 "format": "projectName", 8882 "x-go-field-name": "ProjectName", 8883 "x-tag-name": "projectName", 8884 "x-tag-validate": "@projectName" 8885 } 8886 }, 8887 { 8888 "name": "Authorization", 8889 "in": "header", 8890 "schema": { 8891 "type": "string", 8892 "minLength": 1, 8893 "x-go-field-name": "AuthInHeader", 8894 "x-tag-name": "Authorization,omitempty", 8895 "x-tag-validate": "@string[1,]" 8896 } 8897 }, 8898 { 8899 "name": "appletID", 8900 "in": "query", 8901 "schema": { 8902 "type": "array", 8903 "items": { 8904 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8905 }, 8906 "x-go-field-name": "AppletIDs", 8907 "x-tag-name": "appletID,omitempty" 8908 } 8909 }, 8910 { 8911 "name": "authorization", 8912 "in": "query", 8913 "schema": { 8914 "type": "string", 8915 "minLength": 1, 8916 "x-go-field-name": "AuthInQuery", 8917 "x-tag-name": "authorization,omitempty", 8918 "x-tag-validate": "@string[1,]" 8919 } 8920 }, 8921 { 8922 "name": "eventType", 8923 "in": "query", 8924 "schema": { 8925 "type": "array", 8926 "items": { 8927 "type": "string" 8928 }, 8929 "x-go-field-name": "EventTypes", 8930 "x-tag-name": "eventType,omitempty" 8931 } 8932 }, 8933 { 8934 "name": "handler", 8935 "in": "query", 8936 "schema": { 8937 "type": "array", 8938 "items": { 8939 "type": "string" 8940 }, 8941 "x-go-field-name": "Handlers", 8942 "x-tag-name": "handler,omitempty" 8943 } 8944 }, 8945 { 8946 "name": "strategyID", 8947 "in": "query", 8948 "schema": { 8949 "type": "array", 8950 "items": { 8951 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 8952 }, 8953 "x-go-field-name": "StrategyIDs", 8954 "x-tag-name": "strategyID,omitempty" 8955 } 8956 } 8957 ], 8958 "responses": { 8959 "204": { 8960 "description": "" 8961 }, 8962 "401": { 8963 "description": "", 8964 "content": { 8965 "application/json": { 8966 "schema": { 8967 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8968 } 8969 } 8970 }, 8971 "x-status-errors": [ 8972 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 8973 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 8974 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 8975 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 8976 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 8977 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 8978 ] 8979 }, 8980 "404": { 8981 "description": "", 8982 "content": { 8983 "application/json": { 8984 "schema": { 8985 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 8986 } 8987 } 8988 }, 8989 "x-status-errors": [ 8990 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 8991 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 8992 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 8993 ] 8994 }, 8995 "500": { 8996 "description": "", 8997 "content": { 8998 "application/json": { 8999 "schema": { 9000 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9001 } 9002 } 9003 }, 9004 "x-status-errors": [ 9005 "@StatusErr[DatabaseError][500999002][Database Error]!", 9006 "@StatusErr[DatabaseError][500999002][Database Error]!", 9007 "@StatusErr[DatabaseError][500999002][Database Error]!" 9008 ] 9009 } 9010 } 9011 }, 9012 "post": { 9013 "tags": [ 9014 "apis/strategy" 9015 ], 9016 "operationId": "CreateStrategy", 9017 "parameters": [ 9018 { 9019 "name": "projectName", 9020 "in": "path", 9021 "required": true, 9022 "schema": { 9023 "type": "string", 9024 "format": "projectName", 9025 "x-go-field-name": "ProjectName", 9026 "x-tag-name": "projectName", 9027 "x-tag-validate": "@projectName" 9028 } 9029 }, 9030 { 9031 "name": "Authorization", 9032 "in": "header", 9033 "schema": { 9034 "type": "string", 9035 "minLength": 1, 9036 "x-go-field-name": "AuthInHeader", 9037 "x-tag-name": "Authorization,omitempty", 9038 "x-tag-validate": "@string[1,]" 9039 } 9040 }, 9041 { 9042 "name": "authorization", 9043 "in": "query", 9044 "schema": { 9045 "type": "string", 9046 "minLength": 1, 9047 "x-go-field-name": "AuthInQuery", 9048 "x-tag-name": "authorization,omitempty", 9049 "x-tag-validate": "@string[1,]" 9050 } 9051 } 9052 ], 9053 "requestBody": { 9054 "required": true, 9055 "content": { 9056 "application/json": { 9057 "schema": { 9058 "allOf": [ 9059 { 9060 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq" 9061 }, 9062 { 9063 "x-go-field-name": "CreateReq" 9064 } 9065 ] 9066 } 9067 } 9068 } 9069 }, 9070 "responses": { 9071 "201": { 9072 "description": "", 9073 "content": { 9074 "application/json": { 9075 "schema": { 9076 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategy" 9077 } 9078 } 9079 } 9080 }, 9081 "401": { 9082 "description": "", 9083 "content": { 9084 "application/json": { 9085 "schema": { 9086 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9087 } 9088 } 9089 }, 9090 "x-status-errors": [ 9091 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 9092 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9093 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9094 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9095 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9096 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9097 ] 9098 }, 9099 "404": { 9100 "description": "", 9101 "content": { 9102 "application/json": { 9103 "schema": { 9104 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9105 } 9106 } 9107 }, 9108 "x-status-errors": [ 9109 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 9110 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9111 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 9112 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 9113 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 9114 ] 9115 }, 9116 "409": { 9117 "description": "", 9118 "content": { 9119 "application/json": { 9120 "schema": { 9121 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9122 } 9123 } 9124 }, 9125 "x-status-errors": [ 9126 "@StatusErr[StrategyConflict][409999005][Strategy Conflict]!" 9127 ] 9128 }, 9129 "500": { 9130 "description": "", 9131 "content": { 9132 "application/json": { 9133 "schema": { 9134 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9135 } 9136 } 9137 }, 9138 "x-status-errors": [ 9139 "@StatusErr[DatabaseError][500999002][Database Error]!", 9140 "@StatusErr[DatabaseError][500999002][Database Error]!", 9141 "@StatusErr[DatabaseError][500999002][Database Error]!" 9142 ] 9143 } 9144 } 9145 } 9146 }, 9147 "/srv-applet-mgr/v0/strategy/x/{projectName}/datalist": { 9148 "get": { 9149 "tags": [ 9150 "apis/strategy" 9151 ], 9152 "operationId": "ListStrategy", 9153 "parameters": [ 9154 { 9155 "name": "projectName", 9156 "in": "path", 9157 "required": true, 9158 "schema": { 9159 "type": "string", 9160 "format": "projectName", 9161 "x-go-field-name": "ProjectName", 9162 "x-tag-name": "projectName", 9163 "x-tag-validate": "@projectName" 9164 } 9165 }, 9166 { 9167 "name": "Authorization", 9168 "in": "header", 9169 "schema": { 9170 "type": "string", 9171 "minLength": 1, 9172 "x-go-field-name": "AuthInHeader", 9173 "x-tag-name": "Authorization,omitempty", 9174 "x-tag-validate": "@string[1,]" 9175 } 9176 }, 9177 { 9178 "name": "appletID", 9179 "in": "query", 9180 "schema": { 9181 "type": "array", 9182 "items": { 9183 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 9184 }, 9185 "x-go-field-name": "AppletIDs", 9186 "x-tag-name": "appletID,omitempty" 9187 } 9188 }, 9189 { 9190 "name": "authorization", 9191 "in": "query", 9192 "schema": { 9193 "type": "string", 9194 "minLength": 1, 9195 "x-go-field-name": "AuthInQuery", 9196 "x-tag-name": "authorization,omitempty", 9197 "x-tag-validate": "@string[1,]" 9198 } 9199 }, 9200 { 9201 "name": "eventType", 9202 "in": "query", 9203 "schema": { 9204 "type": "array", 9205 "items": { 9206 "type": "string" 9207 }, 9208 "x-go-field-name": "EventTypes", 9209 "x-tag-name": "eventType,omitempty" 9210 } 9211 }, 9212 { 9213 "name": "handler", 9214 "in": "query", 9215 "schema": { 9216 "type": "array", 9217 "items": { 9218 "type": "string" 9219 }, 9220 "x-go-field-name": "Handlers", 9221 "x-tag-name": "handler,omitempty" 9222 } 9223 }, 9224 { 9225 "name": "offset", 9226 "in": "query", 9227 "schema": { 9228 "type": "integer", 9229 "format": "int64", 9230 "maximum": 9223372036854776000, 9231 "minimum": 0, 9232 "default": "0", 9233 "x-go-field-name": "Offset", 9234 "x-tag-name": "offset,omitempty", 9235 "x-tag-validate": "@int64[0,]" 9236 } 9237 }, 9238 { 9239 "name": "size", 9240 "in": "query", 9241 "schema": { 9242 "type": "integer", 9243 "format": "int64", 9244 "maximum": 9223372036854776000, 9245 "minimum": -1, 9246 "default": "10", 9247 "x-go-field-name": "Size", 9248 "x-tag-name": "size,omitempty", 9249 "x-tag-validate": "@int64[-1,]" 9250 } 9251 }, 9252 { 9253 "name": "strategyID", 9254 "in": "query", 9255 "schema": { 9256 "type": "array", 9257 "items": { 9258 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 9259 }, 9260 "x-go-field-name": "StrategyIDs", 9261 "x-tag-name": "strategyID,omitempty" 9262 } 9263 } 9264 ], 9265 "responses": { 9266 "200": { 9267 "description": "", 9268 "content": { 9269 "application/json": { 9270 "schema": { 9271 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesStrategyListRsp" 9272 } 9273 } 9274 } 9275 }, 9276 "401": { 9277 "description": "", 9278 "content": { 9279 "application/json": { 9280 "schema": { 9281 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9282 } 9283 } 9284 }, 9285 "x-status-errors": [ 9286 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 9287 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9288 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9289 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9290 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9291 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9292 ] 9293 }, 9294 "404": { 9295 "description": "", 9296 "content": { 9297 "application/json": { 9298 "schema": { 9299 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9300 } 9301 } 9302 }, 9303 "x-status-errors": [ 9304 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 9305 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9306 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 9307 ] 9308 }, 9309 "500": { 9310 "description": "", 9311 "content": { 9312 "application/json": { 9313 "schema": { 9314 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9315 } 9316 } 9317 }, 9318 "x-status-errors": [ 9319 "@StatusErr[DatabaseError][500999002][Database Error]!", 9320 "@StatusErr[DatabaseError][500999002][Database Error]!", 9321 "@StatusErr[DatabaseError][500999002][Database Error]!" 9322 ] 9323 } 9324 } 9325 } 9326 }, 9327 "/srv-applet-mgr/v0/strategy/{strategyID}": { 9328 "put": { 9329 "tags": [ 9330 "apis/strategy" 9331 ], 9332 "operationId": "UpdateStrategy", 9333 "parameters": [ 9334 { 9335 "name": "strategyID", 9336 "in": "path", 9337 "required": true, 9338 "schema": { 9339 "allOf": [ 9340 { 9341 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 9342 }, 9343 { 9344 "x-go-field-name": "StrategyID", 9345 "x-tag-name": "strategyID" 9346 } 9347 ] 9348 } 9349 }, 9350 { 9351 "name": "Authorization", 9352 "in": "header", 9353 "schema": { 9354 "type": "string", 9355 "minLength": 1, 9356 "x-go-field-name": "AuthInHeader", 9357 "x-tag-name": "Authorization,omitempty", 9358 "x-tag-validate": "@string[1,]" 9359 } 9360 }, 9361 { 9362 "name": "authorization", 9363 "in": "query", 9364 "schema": { 9365 "type": "string", 9366 "minLength": 1, 9367 "x-go-field-name": "AuthInQuery", 9368 "x-tag-name": "authorization,omitempty", 9369 "x-tag-validate": "@string[1,]" 9370 } 9371 } 9372 ], 9373 "requestBody": { 9374 "required": true, 9375 "content": { 9376 "application/json": { 9377 "schema": { 9378 "allOf": [ 9379 { 9380 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq" 9381 }, 9382 { 9383 "x-go-field-name": "UpdateReq" 9384 } 9385 ] 9386 } 9387 } 9388 } 9389 }, 9390 "responses": { 9391 "204": { 9392 "description": "" 9393 }, 9394 "401": { 9395 "description": "", 9396 "content": { 9397 "application/json": { 9398 "schema": { 9399 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9400 } 9401 } 9402 }, 9403 "x-status-errors": [ 9404 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9405 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9406 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9407 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9408 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9409 ] 9410 }, 9411 "404": { 9412 "description": "", 9413 "content": { 9414 "application/json": { 9415 "schema": { 9416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9417 } 9418 } 9419 }, 9420 "x-status-errors": [ 9421 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9422 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 9423 "@StatusErr[StrategyNotFound][404999007][Strategy Not Found]!" 9424 ] 9425 }, 9426 "409": { 9427 "description": "", 9428 "content": { 9429 "application/json": { 9430 "schema": { 9431 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9432 } 9433 } 9434 }, 9435 "x-status-errors": [ 9436 "@StatusErr[StrategyConflict][409999005][Strategy Conflict]!" 9437 ] 9438 }, 9439 "500": { 9440 "description": "", 9441 "content": { 9442 "application/json": { 9443 "schema": { 9444 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9445 } 9446 } 9447 }, 9448 "x-status-errors": [ 9449 "@StatusErr[DatabaseError][500999002][Database Error]!", 9450 "@StatusErr[DatabaseError][500999002][Database Error]!" 9451 ] 9452 } 9453 } 9454 } 9455 }, 9456 "/srv-applet-mgr/v0/traffic/data/{trafficLimitID}": { 9457 "get": { 9458 "tags": [ 9459 "apis/traffic_limit" 9460 ], 9461 "operationId": "GetTrafficLimit", 9462 "parameters": [ 9463 { 9464 "name": "trafficLimitID", 9465 "in": "path", 9466 "required": true, 9467 "schema": { 9468 "allOf": [ 9469 { 9470 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 9471 }, 9472 { 9473 "x-go-field-name": "TrafficLimitID", 9474 "x-tag-name": "trafficLimitID" 9475 } 9476 ] 9477 } 9478 }, 9479 { 9480 "name": "Authorization", 9481 "in": "header", 9482 "schema": { 9483 "type": "string", 9484 "minLength": 1, 9485 "x-go-field-name": "AuthInHeader", 9486 "x-tag-name": "Authorization,omitempty", 9487 "x-tag-validate": "@string[1,]" 9488 } 9489 }, 9490 { 9491 "name": "authorization", 9492 "in": "query", 9493 "schema": { 9494 "type": "string", 9495 "minLength": 1, 9496 "x-go-field-name": "AuthInQuery", 9497 "x-tag-name": "authorization,omitempty", 9498 "x-tag-validate": "@string[1,]" 9499 } 9500 } 9501 ], 9502 "responses": { 9503 "200": { 9504 "description": "", 9505 "content": { 9506 "application/json": { 9507 "schema": { 9508 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsTrafficLimit" 9509 } 9510 } 9511 } 9512 }, 9513 "401": { 9514 "description": "", 9515 "content": { 9516 "application/json": { 9517 "schema": { 9518 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9519 } 9520 } 9521 }, 9522 "x-status-errors": [ 9523 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9524 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9525 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9526 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9527 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!", 9528 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9529 ] 9530 }, 9531 "404": { 9532 "description": "", 9533 "content": { 9534 "application/json": { 9535 "schema": { 9536 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9537 } 9538 } 9539 }, 9540 "x-status-errors": [ 9541 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9542 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 9543 "@StatusErr[TrafficLimitNotFound][404999020][Traffic Limit Not Found]!" 9544 ] 9545 }, 9546 "500": { 9547 "description": "", 9548 "content": { 9549 "application/json": { 9550 "schema": { 9551 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9552 } 9553 } 9554 }, 9555 "x-status-errors": [ 9556 "@StatusErr[DatabaseError][500999002][Database Error]!", 9557 "@StatusErr[DatabaseError][500999002][Database Error]!" 9558 ] 9559 } 9560 } 9561 } 9562 }, 9563 "/srv-applet-mgr/v0/traffic/x/{projectName}": { 9564 "delete": { 9565 "tags": [ 9566 "apis/traffic_limit" 9567 ], 9568 "summary": "BatchRemoveTrafficLimit Remove TrafficLimit by Given Conditions", 9569 "operationId": "BatchRemoveTrafficLimit", 9570 "parameters": [ 9571 { 9572 "name": "projectName", 9573 "in": "path", 9574 "required": true, 9575 "schema": { 9576 "type": "string", 9577 "format": "projectName", 9578 "x-go-field-name": "ProjectName", 9579 "x-tag-name": "projectName", 9580 "x-tag-validate": "@projectName" 9581 } 9582 }, 9583 { 9584 "name": "Authorization", 9585 "in": "header", 9586 "schema": { 9587 "type": "string", 9588 "minLength": 1, 9589 "x-go-field-name": "AuthInHeader", 9590 "x-tag-name": "Authorization,omitempty", 9591 "x-tag-validate": "@string[1,]" 9592 } 9593 }, 9594 { 9595 "name": "apiType", 9596 "in": "query", 9597 "schema": { 9598 "allOf": [ 9599 { 9600 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType" 9601 }, 9602 { 9603 "x-go-field-name": "ApiType", 9604 "x-tag-name": "apiType,omitempty" 9605 } 9606 ] 9607 } 9608 }, 9609 { 9610 "name": "authorization", 9611 "in": "query", 9612 "schema": { 9613 "type": "string", 9614 "minLength": 1, 9615 "x-go-field-name": "AuthInQuery", 9616 "x-tag-name": "authorization,omitempty", 9617 "x-tag-validate": "@string[1,]" 9618 } 9619 } 9620 ], 9621 "responses": { 9622 "204": { 9623 "description": "" 9624 }, 9625 "400": { 9626 "description": "", 9627 "content": { 9628 "application/json": { 9629 "schema": { 9630 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9631 } 9632 } 9633 }, 9634 "x-status-errors": [ 9635 "@StatusErr[InvalidDeleteCondition][400999007][Invalid Delete Condition]!" 9636 ] 9637 }, 9638 "401": { 9639 "description": "", 9640 "content": { 9641 "application/json": { 9642 "schema": { 9643 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9644 } 9645 } 9646 }, 9647 "x-status-errors": [ 9648 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 9649 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9650 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9651 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9652 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9653 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!", 9654 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9655 ] 9656 }, 9657 "404": { 9658 "description": "", 9659 "content": { 9660 "application/json": { 9661 "schema": { 9662 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9663 } 9664 } 9665 }, 9666 "x-status-errors": [ 9667 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 9668 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9669 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 9670 ] 9671 }, 9672 "500": { 9673 "description": "", 9674 "content": { 9675 "application/json": { 9676 "schema": { 9677 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9678 } 9679 } 9680 }, 9681 "x-status-errors": [ 9682 "@StatusErr[DatabaseError][500999002][Database Error]!", 9683 "@StatusErr[DatabaseError][500999002][Database Error]!", 9684 "@StatusErr[DatabaseError][500999002][Database Error]!" 9685 ] 9686 } 9687 } 9688 }, 9689 "post": { 9690 "tags": [ 9691 "apis/traffic_limit" 9692 ], 9693 "operationId": "CreateTrafficLimit", 9694 "parameters": [ 9695 { 9696 "name": "projectName", 9697 "in": "path", 9698 "required": true, 9699 "schema": { 9700 "type": "string", 9701 "format": "projectName", 9702 "x-go-field-name": "ProjectName", 9703 "x-tag-name": "projectName", 9704 "x-tag-validate": "@projectName" 9705 } 9706 }, 9707 { 9708 "name": "Authorization", 9709 "in": "header", 9710 "schema": { 9711 "type": "string", 9712 "minLength": 1, 9713 "x-go-field-name": "AuthInHeader", 9714 "x-tag-name": "Authorization,omitempty", 9715 "x-tag-validate": "@string[1,]" 9716 } 9717 }, 9718 { 9719 "name": "authorization", 9720 "in": "query", 9721 "schema": { 9722 "type": "string", 9723 "minLength": 1, 9724 "x-go-field-name": "AuthInQuery", 9725 "x-tag-name": "authorization,omitempty", 9726 "x-tag-validate": "@string[1,]" 9727 } 9728 } 9729 ], 9730 "requestBody": { 9731 "required": true, 9732 "content": { 9733 "application/json": { 9734 "schema": { 9735 "allOf": [ 9736 { 9737 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesTrafficlimitCreateReq" 9738 }, 9739 { 9740 "x-go-field-name": "CreateReq" 9741 } 9742 ] 9743 } 9744 } 9745 } 9746 }, 9747 "responses": { 9748 "201": { 9749 "description": "", 9750 "content": { 9751 "application/json": { 9752 "schema": { 9753 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsTrafficLimit" 9754 } 9755 } 9756 } 9757 }, 9758 "401": { 9759 "description": "", 9760 "content": { 9761 "application/json": { 9762 "schema": { 9763 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9764 } 9765 } 9766 }, 9767 "x-status-errors": [ 9768 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 9769 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9770 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9771 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9772 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9773 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!", 9774 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9775 ] 9776 }, 9777 "404": { 9778 "description": "", 9779 "content": { 9780 "application/json": { 9781 "schema": { 9782 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9783 } 9784 } 9785 }, 9786 "x-status-errors": [ 9787 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 9788 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9789 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 9790 ] 9791 }, 9792 "409": { 9793 "description": "", 9794 "content": { 9795 "application/json": { 9796 "schema": { 9797 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9798 } 9799 } 9800 }, 9801 "x-status-errors": [ 9802 "@StatusErr[TrafficLimitConflict][409999018][Traffic Limit Conflict]!" 9803 ] 9804 }, 9805 "500": { 9806 "description": "", 9807 "content": { 9808 "application/json": { 9809 "schema": { 9810 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9811 } 9812 } 9813 }, 9814 "x-status-errors": [ 9815 "@StatusErr[DatabaseError][500999002][Database Error]!", 9816 "@StatusErr[DatabaseError][500999002][Database Error]!", 9817 "@StatusErr[DatabaseError][500999002][Database Error]!" 9818 ] 9819 } 9820 } 9821 } 9822 }, 9823 "/srv-applet-mgr/v0/traffic/x/{projectName}/data/{trafficLimitID}": { 9824 "delete": { 9825 "tags": [ 9826 "apis/traffic_limit" 9827 ], 9828 "summary": "RemoveTrafficLimit Remove TrafficLimit by TrafficLimit ID", 9829 "operationId": "RemoveTrafficLimit", 9830 "parameters": [ 9831 { 9832 "name": "projectName", 9833 "in": "path", 9834 "required": true, 9835 "schema": { 9836 "type": "string", 9837 "format": "projectName", 9838 "x-go-field-name": "ProjectName", 9839 "x-tag-name": "projectName", 9840 "x-tag-validate": "@projectName" 9841 } 9842 }, 9843 { 9844 "name": "trafficLimitID", 9845 "in": "path", 9846 "required": true, 9847 "schema": { 9848 "allOf": [ 9849 { 9850 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 9851 }, 9852 { 9853 "x-go-field-name": "TrafficLimitID", 9854 "x-tag-name": "trafficLimitID" 9855 } 9856 ] 9857 } 9858 }, 9859 { 9860 "name": "Authorization", 9861 "in": "header", 9862 "schema": { 9863 "type": "string", 9864 "minLength": 1, 9865 "x-go-field-name": "AuthInHeader", 9866 "x-tag-name": "Authorization,omitempty", 9867 "x-tag-validate": "@string[1,]" 9868 } 9869 }, 9870 { 9871 "name": "authorization", 9872 "in": "query", 9873 "schema": { 9874 "type": "string", 9875 "minLength": 1, 9876 "x-go-field-name": "AuthInQuery", 9877 "x-tag-name": "authorization,omitempty", 9878 "x-tag-validate": "@string[1,]" 9879 } 9880 } 9881 ], 9882 "responses": { 9883 "204": { 9884 "description": "" 9885 }, 9886 "401": { 9887 "description": "", 9888 "content": { 9889 "application/json": { 9890 "schema": { 9891 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9892 } 9893 } 9894 }, 9895 "x-status-errors": [ 9896 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 9897 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 9898 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 9899 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 9900 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 9901 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!", 9902 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 9903 ] 9904 }, 9905 "404": { 9906 "description": "", 9907 "content": { 9908 "application/json": { 9909 "schema": { 9910 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9911 } 9912 } 9913 }, 9914 "x-status-errors": [ 9915 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 9916 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 9917 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 9918 ] 9919 }, 9920 "500": { 9921 "description": "", 9922 "content": { 9923 "application/json": { 9924 "schema": { 9925 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 9926 } 9927 } 9928 }, 9929 "x-status-errors": [ 9930 "@StatusErr[DatabaseError][500999002][Database Error]!", 9931 "@StatusErr[DatabaseError][500999002][Database Error]!", 9932 "@StatusErr[DatabaseError][500999002][Database Error]!" 9933 ] 9934 } 9935 } 9936 } 9937 }, 9938 "/srv-applet-mgr/v0/traffic/x/{projectName}/datalist": { 9939 "get": { 9940 "tags": [ 9941 "apis/traffic_limit" 9942 ], 9943 "operationId": "ListTrafficLimit", 9944 "parameters": [ 9945 { 9946 "name": "projectName", 9947 "in": "path", 9948 "required": true, 9949 "schema": { 9950 "type": "string", 9951 "format": "projectName", 9952 "x-go-field-name": "ProjectName", 9953 "x-tag-name": "projectName", 9954 "x-tag-validate": "@projectName" 9955 } 9956 }, 9957 { 9958 "name": "Authorization", 9959 "in": "header", 9960 "schema": { 9961 "type": "string", 9962 "minLength": 1, 9963 "x-go-field-name": "AuthInHeader", 9964 "x-tag-name": "Authorization,omitempty", 9965 "x-tag-validate": "@string[1,]" 9966 } 9967 }, 9968 { 9969 "name": "apiType", 9970 "in": "query", 9971 "schema": { 9972 "allOf": [ 9973 { 9974 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType" 9975 }, 9976 { 9977 "x-go-field-name": "ApiType", 9978 "x-tag-name": "apiType,omitempty" 9979 } 9980 ] 9981 } 9982 }, 9983 { 9984 "name": "authorization", 9985 "in": "query", 9986 "schema": { 9987 "type": "string", 9988 "minLength": 1, 9989 "x-go-field-name": "AuthInQuery", 9990 "x-tag-name": "authorization,omitempty", 9991 "x-tag-validate": "@string[1,]" 9992 } 9993 }, 9994 { 9995 "name": "offset", 9996 "in": "query", 9997 "schema": { 9998 "type": "integer", 9999 "format": "int64", 10000 "maximum": 9223372036854776000, 10001 "minimum": 0, 10002 "default": "0", 10003 "x-go-field-name": "Offset", 10004 "x-tag-name": "offset,omitempty", 10005 "x-tag-validate": "@int64[0,]" 10006 } 10007 }, 10008 { 10009 "name": "size", 10010 "in": "query", 10011 "schema": { 10012 "type": "integer", 10013 "format": "int64", 10014 "maximum": 9223372036854776000, 10015 "minimum": -1, 10016 "default": "10", 10017 "x-go-field-name": "Size", 10018 "x-tag-name": "size,omitempty", 10019 "x-tag-validate": "@int64[-1,]" 10020 } 10021 } 10022 ], 10023 "responses": { 10024 "200": { 10025 "description": "", 10026 "content": { 10027 "application/json": { 10028 "schema": { 10029 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp" 10030 } 10031 } 10032 } 10033 }, 10034 "401": { 10035 "description": "", 10036 "content": { 10037 "application/json": { 10038 "schema": { 10039 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10040 } 10041 } 10042 }, 10043 "x-status-errors": [ 10044 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 10045 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 10046 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 10047 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 10048 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 10049 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!", 10050 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 10051 ] 10052 }, 10053 "404": { 10054 "description": "", 10055 "content": { 10056 "application/json": { 10057 "schema": { 10058 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10059 } 10060 } 10061 }, 10062 "x-status-errors": [ 10063 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 10064 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 10065 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!" 10066 ] 10067 }, 10068 "500": { 10069 "description": "", 10070 "content": { 10071 "application/json": { 10072 "schema": { 10073 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10074 } 10075 } 10076 }, 10077 "x-status-errors": [ 10078 "@StatusErr[DatabaseError][500999002][Database Error]!", 10079 "@StatusErr[DatabaseError][500999002][Database Error]!", 10080 "@StatusErr[DatabaseError][500999002][Database Error]!" 10081 ] 10082 } 10083 } 10084 } 10085 }, 10086 "/srv-applet-mgr/v0/traffic/x/{projectName}/{trafficLimitID}": { 10087 "put": { 10088 "tags": [ 10089 "apis/traffic_limit" 10090 ], 10091 "operationId": "UpdateTrafficLimit", 10092 "parameters": [ 10093 { 10094 "name": "projectName", 10095 "in": "path", 10096 "required": true, 10097 "schema": { 10098 "type": "string", 10099 "format": "projectName", 10100 "x-go-field-name": "ProjectName", 10101 "x-tag-name": "projectName", 10102 "x-tag-validate": "@projectName" 10103 } 10104 }, 10105 { 10106 "name": "trafficLimitID", 10107 "in": "path", 10108 "required": true, 10109 "schema": { 10110 "allOf": [ 10111 { 10112 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 10113 }, 10114 { 10115 "x-go-field-name": "TrafficLimitID", 10116 "x-tag-name": "trafficLimitID" 10117 } 10118 ] 10119 } 10120 }, 10121 { 10122 "name": "Authorization", 10123 "in": "header", 10124 "schema": { 10125 "type": "string", 10126 "minLength": 1, 10127 "x-go-field-name": "AuthInHeader", 10128 "x-tag-name": "Authorization,omitempty", 10129 "x-tag-validate": "@string[1,]" 10130 } 10131 }, 10132 { 10133 "name": "authorization", 10134 "in": "query", 10135 "schema": { 10136 "type": "string", 10137 "minLength": 1, 10138 "x-go-field-name": "AuthInQuery", 10139 "x-tag-name": "authorization,omitempty", 10140 "x-tag-validate": "@string[1,]" 10141 } 10142 } 10143 ], 10144 "requestBody": { 10145 "required": true, 10146 "content": { 10147 "application/json": { 10148 "schema": { 10149 "allOf": [ 10150 { 10151 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesTrafficlimitUpdateReq" 10152 }, 10153 { 10154 "x-go-field-name": "UpdateReq" 10155 } 10156 ] 10157 } 10158 } 10159 } 10160 }, 10161 "responses": { 10162 "200": { 10163 "description": "", 10164 "content": { 10165 "application/json": { 10166 "schema": { 10167 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsTrafficLimit" 10168 } 10169 } 10170 } 10171 }, 10172 "401": { 10173 "description": "", 10174 "content": { 10175 "application/json": { 10176 "schema": { 10177 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10178 } 10179 } 10180 }, 10181 "x-status-errors": [ 10182 "@StatusErr[CurrentAccountAbsence][401999013][Current Account Absence]!", 10183 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 10184 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 10185 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 10186 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 10187 "@StatusErr[NoAdminPermission][401999006][No Admin Permission]!" 10188 ] 10189 }, 10190 "404": { 10191 "description": "", 10192 "content": { 10193 "application/json": { 10194 "schema": { 10195 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10196 } 10197 } 10198 }, 10199 "x-status-errors": [ 10200 "@StatusErr[AccountIdentityNotFound][404999009][Account Identity Not Found]!", 10201 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 10202 "@StatusErr[TrafficLimitNotFound][404999020][Traffic Limit Not Found]!" 10203 ] 10204 }, 10205 "500": { 10206 "description": "", 10207 "content": { 10208 "application/json": { 10209 "schema": { 10210 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10211 } 10212 } 10213 }, 10214 "x-status-errors": [ 10215 "@StatusErr[DatabaseError][500999002][Database Error]!", 10216 "@StatusErr[DatabaseError][500999002][Database Error]!", 10217 "@StatusErr[DatabaseError][500999002][Database Error]!" 10218 ] 10219 } 10220 } 10221 } 10222 }, 10223 "/srv-applet-mgr/v0/wasmlog/{instanceID}": { 10224 "delete": { 10225 "tags": [ 10226 "apis/wasmlog" 10227 ], 10228 "operationId": "RemoveWasmLogByInstanceID", 10229 "parameters": [ 10230 { 10231 "name": "instanceID", 10232 "in": "path", 10233 "required": true, 10234 "schema": { 10235 "allOf": [ 10236 { 10237 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 10238 }, 10239 { 10240 "x-go-field-name": "InstanceID", 10241 "x-tag-name": "instanceID" 10242 } 10243 ] 10244 } 10245 }, 10246 { 10247 "name": "Authorization", 10248 "in": "header", 10249 "schema": { 10250 "type": "string", 10251 "minLength": 1, 10252 "x-go-field-name": "AuthInHeader", 10253 "x-tag-name": "Authorization,omitempty", 10254 "x-tag-validate": "@string[1,]" 10255 } 10256 }, 10257 { 10258 "name": "authorization", 10259 "in": "query", 10260 "schema": { 10261 "type": "string", 10262 "minLength": 1, 10263 "x-go-field-name": "AuthInQuery", 10264 "x-tag-name": "authorization,omitempty", 10265 "x-tag-validate": "@string[1,]" 10266 } 10267 } 10268 ], 10269 "responses": { 10270 "204": { 10271 "description": "" 10272 }, 10273 "401": { 10274 "description": "", 10275 "content": { 10276 "application/json": { 10277 "schema": { 10278 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10279 } 10280 } 10281 }, 10282 "x-status-errors": [ 10283 "@StatusErr[InvalidAuthAccountID][401999003][Invalid Auth Account ID]!", 10284 "@StatusErr[InvalidAuthValue][401999002][Invalid Auth Value]!", 10285 "@StatusErr[InvalidClaim][401999003][Invalid Claim]!", 10286 "@StatusErr[InvalidToken][401999002][Invalid Token]!", 10287 "@StatusErr[NoProjectPermission][401999004][No Project Permission]!" 10288 ] 10289 }, 10290 "404": { 10291 "description": "", 10292 "content": { 10293 "application/json": { 10294 "schema": { 10295 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10296 } 10297 } 10298 }, 10299 "x-status-errors": [ 10300 "@StatusErr[AccountNotFound][404999017][Account Not Found]!", 10301 "@StatusErr[AppletNotFound][404999005][Applet Not Found]!", 10302 "@StatusErr[InstanceNotFound][404999006][Instance Not Found]!", 10303 "@StatusErr[ProjectNotFound][404999002][Project Not Found]!", 10304 "@StatusErr[ResourceNotFound][404999004][Resource Not Found]!" 10305 ] 10306 }, 10307 "500": { 10308 "description": "", 10309 "content": { 10310 "application/json": { 10311 "schema": { 10312 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10313 } 10314 } 10315 }, 10316 "x-status-errors": [ 10317 "@StatusErr[BatchRemoveWasmLogFailed][500999012][Batch Remove WasmLog Failed]!", 10318 "@StatusErr[DatabaseError][500999002][Database Error]!", 10319 "@StatusErr[DatabaseError][500999002][Database Error]!" 10320 ] 10321 } 10322 } 10323 } 10324 }, 10325 "/version": { 10326 "get": { 10327 "tags": [ 10328 "apis/version" 10329 ], 10330 "operationId": "VersionRouter", 10331 "responses": { 10332 "200": { 10333 "description": "", 10334 "content": { 10335 "application/json": { 10336 "schema": { 10337 "type": "string" 10338 } 10339 } 10340 } 10341 } 10342 } 10343 } 10344 } 10345 }, 10346 "components": { 10347 "schemas": { 10348 "BytesBuffer": { 10349 "type": "string", 10350 "format": "binary", 10351 "x-go-vendor-type": "bytes.Buffer", 10352 "x-id": "BytesBuffer" 10353 }, 10354 "ChainConfigResp": { 10355 "type": "object", 10356 "properties": { 10357 "chains": { 10358 "type": "string", 10359 "x-go-field-name": "Chains", 10360 "x-tag-json": "chains" 10361 } 10362 }, 10363 "required": [ 10364 "chains" 10365 ], 10366 "x-id": "ChainConfigResp" 10367 }, 10368 "CurrentAccount": { 10369 "allOf": [ 10370 { 10371 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsAccount" 10372 }, 10373 { 10374 "type": "object", 10375 "x-id": "CurrentAccount" 10376 } 10377 ] 10378 }, 10379 "CurrentPublisher": { 10380 "allOf": [ 10381 { 10382 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 10383 }, 10384 { 10385 "type": "object", 10386 "x-id": "CurrentPublisher" 10387 } 10388 ] 10389 }, 10390 "EthClientRsp": { 10391 "type": "object", 10392 "properties": { 10393 "clients": { 10394 "type": "string", 10395 "x-go-field-name": "Clients", 10396 "x-tag-json": "clients" 10397 } 10398 }, 10399 "required": [ 10400 "clients" 10401 ], 10402 "x-id": "EthClientRsp" 10403 }, 10404 "GithubComMachinefiW3BstreamPkgDependsBaseTypesDuration": { 10405 "type": "integer", 10406 "format": "int64", 10407 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/base/types.Duration", 10408 "x-id": "GithubComMachinefiW3BstreamPkgDependsBaseTypesDuration" 10409 }, 10410 "GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID": { 10411 "type": "integer", 10412 "format": "uint64", 10413 "description": "Number.MAX_SAFE_INTEGER JavaScript (2^53 – 1)", 10414 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/base/types.SFID", 10415 "x-id": "GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 10416 }, 10417 "GithubComMachinefiW3BstreamPkgDependsBaseTypesSFIDs": { 10418 "type": "array", 10419 "items": { 10420 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 10421 }, 10422 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/base/types.SFIDs", 10423 "x-id": "GithubComMachinefiW3BstreamPkgDependsBaseTypesSFIDs" 10424 }, 10425 "GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp": { 10426 "type": "string", 10427 "format": "date-time", 10428 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/base/types.Timestamp", 10429 "x-id": "GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 10430 }, 10431 "GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment": { 10432 "type": "string", 10433 "format": "binary", 10434 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/httptransport/httpx.Attachment", 10435 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitHttptransportHttpxAttachment" 10436 }, 10437 "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool": { 10438 "type": "boolean", 10439 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/sqlx/datatypes.Bool", 10440 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 10441 }, 10442 "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes": { 10443 "type": "object", 10444 "properties": { 10445 "createdAt": { 10446 "allOf": [ 10447 { 10448 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 10449 }, 10450 { 10451 "x-go-field-name": "CreatedAt", 10452 "x-tag-json": "createdAt" 10453 } 10454 ] 10455 }, 10456 "updatedAt": { 10457 "allOf": [ 10458 { 10459 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 10460 }, 10461 { 10462 "x-go-field-name": "UpdatedAt", 10463 "x-tag-json": "updatedAt" 10464 } 10465 ] 10466 } 10467 }, 10468 "required": [ 10469 "createdAt", 10470 "updatedAt" 10471 ], 10472 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/sqlx/datatypes.OperationTimes", 10473 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 10474 }, 10475 "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted": { 10476 "allOf": [ 10477 { 10478 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 10479 }, 10480 { 10481 "type": "object", 10482 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/sqlx/datatypes.OperationTimesWithDeleted", 10483 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 10484 } 10485 ] 10486 }, 10487 "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID": { 10488 "type": "object", 10489 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/sqlx/datatypes.PrimaryID", 10490 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 10491 }, 10492 "GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorField": { 10493 "type": "object", 10494 "properties": { 10495 "field": { 10496 "type": "string", 10497 "description": "Field path: prop.slice[2].a", 10498 "x-go-field-name": "Field", 10499 "x-tag-json": "field", 10500 "x-tag-xml": "field" 10501 }, 10502 "in": { 10503 "type": "string", 10504 "description": "In location eq. body, query, header, path, formData", 10505 "x-go-field-name": "In", 10506 "x-tag-json": "in", 10507 "x-tag-xml": "in" 10508 }, 10509 "msg": { 10510 "type": "string", 10511 "description": "Msg message", 10512 "x-go-field-name": "Msg", 10513 "x-tag-json": "msg", 10514 "x-tag-xml": "msg" 10515 } 10516 }, 10517 "required": [ 10518 "field", 10519 "msg", 10520 "in" 10521 ], 10522 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/statusx.ErrorField", 10523 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorField" 10524 }, 10525 "GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorFields": { 10526 "type": "array", 10527 "items": { 10528 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorField" 10529 }, 10530 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/statusx.ErrorFields", 10531 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorFields" 10532 }, 10533 "GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr": { 10534 "type": "object", 10535 "properties": { 10536 "canBeTalk": { 10537 "type": "boolean", 10538 "description": "can be task error; for client to should error msg to end user", 10539 "x-go-field-name": "CanBeTalk", 10540 "x-tag-json": "canBeTalk", 10541 "x-tag-xml": "canBeTalk" 10542 }, 10543 "code": { 10544 "type": "integer", 10545 "format": "int32", 10546 "description": "unique err code", 10547 "x-go-field-name": "Code", 10548 "x-tag-json": "code", 10549 "x-tag-xml": "code" 10550 }, 10551 "desc": { 10552 "type": "string", 10553 "description": "desc of err", 10554 "x-go-field-name": "Desc", 10555 "x-tag-json": "desc", 10556 "x-tag-xml": "desc" 10557 }, 10558 "fields": { 10559 "allOf": [ 10560 { 10561 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitStatusxErrorFields" 10562 }, 10563 { 10564 "description": "error in where fields", 10565 "x-go-field-name": "Fields", 10566 "x-tag-json": "fields", 10567 "x-tag-xml": "fields" 10568 } 10569 ] 10570 }, 10571 "id": { 10572 "type": "string", 10573 "description": "request ID or other request context", 10574 "x-go-field-name": "ID", 10575 "x-tag-json": "id", 10576 "x-tag-xml": "id" 10577 }, 10578 "key": { 10579 "type": "string", 10580 "description": "key of err", 10581 "x-go-field-name": "Key", 10582 "x-tag-json": "key", 10583 "x-tag-xml": "key" 10584 }, 10585 "msg": { 10586 "type": "string", 10587 "description": "msg of err", 10588 "x-go-field-name": "Msg", 10589 "x-tag-json": "msg", 10590 "x-tag-xml": "msg" 10591 }, 10592 "sources": { 10593 "type": "array", 10594 "items": { 10595 "type": "string" 10596 }, 10597 "description": "error tracing", 10598 "x-go-field-name": "Sources", 10599 "x-tag-json": "sources", 10600 "x-tag-xml": "sources" 10601 } 10602 }, 10603 "required": [ 10604 "key", 10605 "code", 10606 "msg", 10607 "desc", 10608 "canBeTalk", 10609 "id", 10610 "sources", 10611 "fields" 10612 ], 10613 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/depends/kit/statusx.StatusErr", 10614 "x-id": "GithubComMachinefiW3BstreamPkgDependsKitStatusxStatusErr" 10615 }, 10616 "GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType": { 10617 "type": "string", 10618 "enum": [ 10619 "ACCOUNT", 10620 "PUBLISHER" 10621 ], 10622 "x-enum-labels": [ 10623 "ACCOUNT", 10624 "PUBLISHER" 10625 ], 10626 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.AccessKeyIdentityType", 10627 "x-id": "GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType" 10628 }, 10629 "GithubComMachinefiW3BstreamPkgEnumsAccessPermission": { 10630 "type": "string", 10631 "enum": [ 10632 "NO_ACCESS", 10633 "READONLY", 10634 "READ_WRITE" 10635 ], 10636 "x-enum-labels": [ 10637 "NO_ACCESS", 10638 "READONLY", 10639 "READ_WRITE" 10640 ], 10641 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.AccessPermission", 10642 "x-id": "GithubComMachinefiW3BstreamPkgEnumsAccessPermission" 10643 }, 10644 "GithubComMachinefiW3BstreamPkgEnumsAccountRole": { 10645 "type": "string", 10646 "enum": [ 10647 "ADMIN", 10648 "DEVELOPER" 10649 ], 10650 "x-enum-labels": [ 10651 "ADMIN", 10652 "DEVELOPER" 10653 ], 10654 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.AccountRole", 10655 "x-id": "GithubComMachinefiW3BstreamPkgEnumsAccountRole" 10656 }, 10657 "GithubComMachinefiW3BstreamPkgEnumsAccountState": { 10658 "type": "string", 10659 "enum": [ 10660 "ENABLED", 10661 "DISABLED" 10662 ], 10663 "x-enum-labels": [ 10664 "ENABLED", 10665 "DISABLED" 10666 ], 10667 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.AccountState", 10668 "x-id": "GithubComMachinefiW3BstreamPkgEnumsAccountState" 10669 }, 10670 "GithubComMachinefiW3BstreamPkgEnumsCacheMode": { 10671 "type": "string", 10672 "enum": [ 10673 "MEMORY", 10674 "REDIS" 10675 ], 10676 "x-enum-labels": [ 10677 "MEMORY", 10678 "REDIS" 10679 ], 10680 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.CacheMode", 10681 "x-id": "GithubComMachinefiW3BstreamPkgEnumsCacheMode" 10682 }, 10683 "GithubComMachinefiW3BstreamPkgEnumsChainName": { 10684 "type": "string", 10685 "enum": [ 10686 "arbitrum-goerli", 10687 "arbitrum-one", 10688 "base-goerli", 10689 "base-mainnet", 10690 "conflux-espace-mainnet", 10691 "conflux-espace-testnet", 10692 "ethereum-mainnet", 10693 "goerli", 10694 "iotex-mainnet", 10695 "iotex-testnet", 10696 "mumbai", 10697 "op-goerli", 10698 "op-mainnet", 10699 "polygon-mainnet", 10700 "solana-devnet", 10701 "solana-mainnet-beta", 10702 "solana-testnet", 10703 "zksync-era-mainnet", 10704 "zksync-era-testnet" 10705 ], 10706 "x-enum-labels": [ 10707 "arbitrum-goerli", 10708 "arbitrum-one", 10709 "base-goerli", 10710 "base-mainnet", 10711 "conflux-espace-mainnet", 10712 "conflux-espace-testnet", 10713 "ethereum-mainnet", 10714 "goerli", 10715 "iotex-mainnet", 10716 "iotex-testnet", 10717 "mumbai", 10718 "op-goerli", 10719 "op-mainnet", 10720 "polygon-mainnet", 10721 "solana-devnet", 10722 "solana-mainnet-beta", 10723 "solana-testnet", 10724 "zksync-era-mainnet", 10725 "zksync-era-testnet" 10726 ], 10727 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.ChainName", 10728 "x-id": "GithubComMachinefiW3BstreamPkgEnumsChainName" 10729 }, 10730 "GithubComMachinefiW3BstreamPkgEnumsConfigType": { 10731 "type": "string", 10732 "enum": [ 10733 "PROJECT_DATABASE", 10734 "INSTANCE_CACHE", 10735 "PROJECT_ENV", 10736 "PROJECT_FLOW" 10737 ], 10738 "x-enum-labels": [ 10739 "PROJECT_DATABASE", 10740 "INSTANCE_CACHE", 10741 "PROJECT_ENV", 10742 "PROJECT_FLOW" 10743 ], 10744 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.ConfigType", 10745 "x-id": "GithubComMachinefiW3BstreamPkgEnumsConfigType" 10746 }, 10747 "GithubComMachinefiW3BstreamPkgEnumsDeployCmd": { 10748 "type": "string", 10749 "enum": [ 10750 "START", 10751 "HUNGUP" 10752 ], 10753 "x-enum-labels": [ 10754 "start wasm vm", 10755 "stop wasm vm" 10756 ], 10757 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.DeployCmd", 10758 "x-id": "GithubComMachinefiW3BstreamPkgEnumsDeployCmd" 10759 }, 10760 "GithubComMachinefiW3BstreamPkgEnumsEventSource": { 10761 "type": "string", 10762 "enum": [ 10763 "MQTT", 10764 "HTTP", 10765 "MONITOR" 10766 ], 10767 "x-enum-labels": [ 10768 "MQTT", 10769 "HTTP", 10770 "MONITOR" 10771 ], 10772 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.EventSource", 10773 "x-id": "GithubComMachinefiW3BstreamPkgEnumsEventSource" 10774 }, 10775 "GithubComMachinefiW3BstreamPkgEnumsFlowOperator": { 10776 "type": "string", 10777 "enum": [ 10778 "FILTER", 10779 "MAP", 10780 "FLATMAP", 10781 "WINDOW", 10782 "GROUP", 10783 "REDUCE" 10784 ], 10785 "x-enum-labels": [ 10786 "FILTER", 10787 "MAP", 10788 "FLATMAP", 10789 "WINDOW", 10790 "GROUP", 10791 "REDUCE" 10792 ], 10793 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.FlowOperator", 10794 "x-id": "GithubComMachinefiW3BstreamPkgEnumsFlowOperator" 10795 }, 10796 "GithubComMachinefiW3BstreamPkgEnumsFlowSink": { 10797 "type": "string", 10798 "enum": [ 10799 "RMDB", 10800 "BLOCKCHAIN" 10801 ], 10802 "x-enum-labels": [ 10803 "RMDB", 10804 "BLOCKCHAIN" 10805 ], 10806 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.FlowSink", 10807 "x-id": "GithubComMachinefiW3BstreamPkgEnumsFlowSink" 10808 }, 10809 "GithubComMachinefiW3BstreamPkgEnumsInstanceState": { 10810 "type": "string", 10811 "enum": [ 10812 "STARTED", 10813 "STOPPED" 10814 ], 10815 "x-enum-labels": [ 10816 "ready to receive data", 10817 "stopped to receive data" 10818 ], 10819 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.InstanceState", 10820 "x-id": "GithubComMachinefiW3BstreamPkgEnumsInstanceState" 10821 }, 10822 "GithubComMachinefiW3BstreamPkgEnumsMonitorCmd": { 10823 "type": "string", 10824 "enum": [ 10825 "START", 10826 "PAUSE" 10827 ], 10828 "x-enum-labels": [ 10829 "START", 10830 "PAUSE" 10831 ], 10832 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.MonitorCmd", 10833 "x-id": "GithubComMachinefiW3BstreamPkgEnumsMonitorCmd" 10834 }, 10835 "GithubComMachinefiW3BstreamPkgEnumsOperatorKeyType": { 10836 "type": "integer", 10837 "format": "int32", 10838 "enum": [ 10839 0, 10840 1, 10841 2 10842 ], 10843 "x-enum-labels": [ 10844 "0", 10845 "1", 10846 "2" 10847 ], 10848 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.OperatorKeyType", 10849 "x-id": "GithubComMachinefiW3BstreamPkgEnumsOperatorKeyType" 10850 }, 10851 "GithubComMachinefiW3BstreamPkgEnumsProtocol": { 10852 "type": "string", 10853 "enum": [ 10854 "TCP", 10855 "UDP", 10856 "WEBSOCET", 10857 "HTTP", 10858 "HTTPS", 10859 "MQTT" 10860 ], 10861 "x-enum-labels": [ 10862 "tcp", 10863 "udp", 10864 "websocket", 10865 "http", 10866 "https", 10867 "mqtt" 10868 ], 10869 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.Protocol", 10870 "x-id": "GithubComMachinefiW3BstreamPkgEnumsProtocol" 10871 }, 10872 "GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType": { 10873 "type": "string", 10874 "enum": [ 10875 "EVENT", 10876 "BLOCKCHAIN" 10877 ], 10878 "x-enum-labels": [ 10879 "EVENT", 10880 "BLOCKCHAIN" 10881 ], 10882 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.TrafficLimitType", 10883 "x-id": "GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType" 10884 }, 10885 "GithubComMachinefiW3BstreamPkgEnumsWasmDBDatatype": { 10886 "type": "string", 10887 "enum": [ 10888 "INT", 10889 "INT8", 10890 "INT16", 10891 "INT32", 10892 "INT64", 10893 "UINT", 10894 "UINT8", 10895 "UINT16", 10896 "UINT32", 10897 "UINT64", 10898 "FLOAT32", 10899 "FLOAT64", 10900 "TEXT", 10901 "BOOL", 10902 "TIMESTAMP", 10903 "DECIMAL", 10904 "NUMERIC" 10905 ], 10906 "x-enum-labels": [ 10907 "INT", 10908 "INT8", 10909 "INT16", 10910 "INT32", 10911 "INT64", 10912 "UINT", 10913 "UINT8", 10914 "UINT16", 10915 "UINT32", 10916 "UINT64", 10917 "FLOAT32", 10918 "FLOAT64", 10919 "TEXT", 10920 "BOOL", 10921 "use epoch timestamp (integer, UTC)", 10922 "DECIMAL", 10923 "NUMERIC" 10924 ], 10925 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.WasmDBDatatype", 10926 "x-id": "GithubComMachinefiW3BstreamPkgEnumsWasmDBDatatype" 10927 }, 10928 "GithubComMachinefiW3BstreamPkgEnumsWasmDBDialect": { 10929 "type": "string", 10930 "enum": [ 10931 "POSTGRES" 10932 ], 10933 "x-enum-labels": [ 10934 "POSTGRES" 10935 ], 10936 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/enums.WasmDBDialect", 10937 "x-id": "GithubComMachinefiW3BstreamPkgEnumsWasmDBDialect" 10938 }, 10939 "GithubComMachinefiW3BstreamPkgModelsAccount": { 10940 "allOf": [ 10941 { 10942 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 10943 }, 10944 { 10945 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelAccount" 10946 }, 10947 { 10948 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsAccountInfo" 10949 }, 10950 { 10951 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 10952 }, 10953 { 10954 "type": "object", 10955 "description": "Account w3bstream account", 10956 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Account", 10957 "x-id": "GithubComMachinefiW3BstreamPkgModelsAccount" 10958 } 10959 ] 10960 }, 10961 "GithubComMachinefiW3BstreamPkgModelsAccountInfo": { 10962 "type": "object", 10963 "properties": { 10964 "avatar": { 10965 "type": "string", 10966 "x-go-field-name": "Avatar", 10967 "x-tag-json": "avatar,omitempty" 10968 }, 10969 "meta": { 10970 "allOf": [ 10971 { 10972 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsMeta" 10973 }, 10974 { 10975 "x-go-field-name": "Meta", 10976 "x-tag-json": "meta,omitempty" 10977 } 10978 ] 10979 }, 10980 "role": { 10981 "allOf": [ 10982 { 10983 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccountRole" 10984 }, 10985 { 10986 "x-go-field-name": "Role", 10987 "x-tag-json": "role" 10988 } 10989 ] 10990 }, 10991 "state": { 10992 "allOf": [ 10993 { 10994 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccountState" 10995 }, 10996 { 10997 "x-go-field-name": "State", 10998 "x-tag-json": "state" 10999 } 11000 ] 11001 } 11002 }, 11003 "required": [ 11004 "role", 11005 "state" 11006 ], 11007 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.AccountInfo", 11008 "x-id": "GithubComMachinefiW3BstreamPkgModelsAccountInfo" 11009 }, 11010 "GithubComMachinefiW3BstreamPkgModelsApplet": { 11011 "allOf": [ 11012 { 11013 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11014 }, 11015 { 11016 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 11017 }, 11018 { 11019 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelApplet" 11020 }, 11021 { 11022 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelResource" 11023 }, 11024 { 11025 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsAppletInfo" 11026 }, 11027 { 11028 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11029 }, 11030 { 11031 "type": "object", 11032 "description": "Applet database model applet", 11033 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Applet", 11034 "x-id": "GithubComMachinefiW3BstreamPkgModelsApplet" 11035 } 11036 ] 11037 }, 11038 "GithubComMachinefiW3BstreamPkgModelsAppletInfo": { 11039 "type": "object", 11040 "properties": { 11041 "name": { 11042 "type": "string", 11043 "x-go-field-name": "Name", 11044 "x-tag-json": "name" 11045 } 11046 }, 11047 "required": [ 11048 "name" 11049 ], 11050 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.AppletInfo", 11051 "x-id": "GithubComMachinefiW3BstreamPkgModelsAppletInfo" 11052 }, 11053 "GithubComMachinefiW3BstreamPkgModelsChainHeight": { 11054 "allOf": [ 11055 { 11056 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11057 }, 11058 { 11059 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelChainHeight" 11060 }, 11061 { 11062 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainHeightData" 11063 }, 11064 { 11065 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11066 }, 11067 { 11068 "type": "object", 11069 "description": "ChainHeight database model chainheight", 11070 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainHeight", 11071 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainHeight" 11072 } 11073 ] 11074 }, 11075 "GithubComMachinefiW3BstreamPkgModelsChainHeightData": { 11076 "allOf": [ 11077 { 11078 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainHeightInfo" 11079 }, 11080 { 11081 "type": "object", 11082 "properties": { 11083 "projectName": { 11084 "type": "string", 11085 "x-go-field-name": "ProjectName", 11086 "x-tag-json": "projectName" 11087 } 11088 }, 11089 "required": [ 11090 "projectName" 11091 ], 11092 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainHeightData", 11093 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainHeightData" 11094 } 11095 ] 11096 }, 11097 "GithubComMachinefiW3BstreamPkgModelsChainHeightInfo": { 11098 "type": "object", 11099 "properties": { 11100 "chainID": { 11101 "type": "integer", 11102 "format": "uint64", 11103 "x-go-field-name": "ChainID", 11104 "x-tag-json": "chainID,omitempty" 11105 }, 11106 "chainName": { 11107 "allOf": [ 11108 { 11109 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsChainName" 11110 }, 11111 { 11112 "x-go-field-name": "ChainName", 11113 "x-tag-json": "chainName,omitempty" 11114 } 11115 ] 11116 }, 11117 "eventType": { 11118 "type": "string", 11119 "x-go-field-name": "EventType", 11120 "x-tag-json": "eventType,omitempty,default='MONITOR_DEFAULT'" 11121 }, 11122 "height": { 11123 "type": "integer", 11124 "format": "uint64", 11125 "x-go-field-name": "Height", 11126 "x-tag-json": "height" 11127 }, 11128 "paused": { 11129 "allOf": [ 11130 { 11131 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 11132 }, 11133 { 11134 "x-go-field-name": "Paused", 11135 "x-tag-json": "paused,omitempty,default='false'" 11136 } 11137 ] 11138 } 11139 }, 11140 "required": [ 11141 "height" 11142 ], 11143 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainHeightInfo", 11144 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainHeightInfo" 11145 }, 11146 "GithubComMachinefiW3BstreamPkgModelsChainTx": { 11147 "allOf": [ 11148 { 11149 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11150 }, 11151 { 11152 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelChainTx" 11153 }, 11154 { 11155 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainTxData" 11156 }, 11157 { 11158 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11159 }, 11160 { 11161 "type": "object", 11162 "description": "ChainTx database model chain tx", 11163 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainTx", 11164 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainTx" 11165 } 11166 ] 11167 }, 11168 "GithubComMachinefiW3BstreamPkgModelsChainTxData": { 11169 "allOf": [ 11170 { 11171 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainTxInfo" 11172 }, 11173 { 11174 "type": "object", 11175 "properties": { 11176 "projectName": { 11177 "type": "string", 11178 "x-go-field-name": "ProjectName", 11179 "x-tag-json": "projectName" 11180 } 11181 }, 11182 "required": [ 11183 "projectName" 11184 ], 11185 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainTxData", 11186 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainTxData" 11187 } 11188 ] 11189 }, 11190 "GithubComMachinefiW3BstreamPkgModelsChainTxInfo": { 11191 "type": "object", 11192 "properties": { 11193 "chainID": { 11194 "type": "integer", 11195 "format": "uint64", 11196 "x-go-field-name": "ChainID", 11197 "x-tag-json": "chainID" 11198 }, 11199 "eventType": { 11200 "type": "string", 11201 "x-go-field-name": "EventType", 11202 "x-tag-json": "eventType,omitempty,default='MONITOR_DEFAULT'" 11203 }, 11204 "paused": { 11205 "allOf": [ 11206 { 11207 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 11208 }, 11209 { 11210 "x-go-field-name": "Paused", 11211 "x-tag-json": "paused,omitempty,default='false'" 11212 } 11213 ] 11214 }, 11215 "txAddress": { 11216 "type": "string", 11217 "x-go-field-name": "TxAddress", 11218 "x-tag-json": "txAddress" 11219 } 11220 }, 11221 "required": [ 11222 "chainID", 11223 "txAddress" 11224 ], 11225 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ChainTxInfo", 11226 "x-id": "GithubComMachinefiW3BstreamPkgModelsChainTxInfo" 11227 }, 11228 "GithubComMachinefiW3BstreamPkgModelsConfig": { 11229 "allOf": [ 11230 { 11231 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11232 }, 11233 { 11234 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelConfig" 11235 }, 11236 { 11237 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsConfigBase" 11238 }, 11239 { 11240 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11241 }, 11242 { 11243 "type": "object", 11244 "description": "Config database model config for configuration management", 11245 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Config", 11246 "x-id": "GithubComMachinefiW3BstreamPkgModelsConfig" 11247 } 11248 ] 11249 }, 11250 "GithubComMachinefiW3BstreamPkgModelsConfigBase": { 11251 "type": "object", 11252 "properties": { 11253 "relID": { 11254 "allOf": [ 11255 { 11256 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11257 }, 11258 { 11259 "x-go-field-name": "RelID", 11260 "x-tag-json": "relID" 11261 } 11262 ] 11263 }, 11264 "type": { 11265 "allOf": [ 11266 { 11267 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsConfigType" 11268 }, 11269 { 11270 "x-go-field-name": "Type", 11271 "x-tag-json": "type" 11272 } 11273 ] 11274 } 11275 }, 11276 "required": [ 11277 "relID", 11278 "type" 11279 ], 11280 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ConfigBase", 11281 "x-id": "GithubComMachinefiW3BstreamPkgModelsConfigBase" 11282 }, 11283 "GithubComMachinefiW3BstreamPkgModelsContractLog": { 11284 "allOf": [ 11285 { 11286 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11287 }, 11288 { 11289 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelContractLog" 11290 }, 11291 { 11292 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsContractLogData" 11293 }, 11294 { 11295 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11296 }, 11297 { 11298 "type": "object", 11299 "description": "ContractLog database model contract log", 11300 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ContractLog", 11301 "x-id": "GithubComMachinefiW3BstreamPkgModelsContractLog" 11302 } 11303 ] 11304 }, 11305 "GithubComMachinefiW3BstreamPkgModelsContractLogData": { 11306 "allOf": [ 11307 { 11308 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsContractLogInfo" 11309 }, 11310 { 11311 "type": "object", 11312 "properties": { 11313 "projectName": { 11314 "type": "string", 11315 "x-go-field-name": "ProjectName", 11316 "x-tag-json": "projectName" 11317 } 11318 }, 11319 "required": [ 11320 "projectName" 11321 ], 11322 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ContractLogData", 11323 "x-id": "GithubComMachinefiW3BstreamPkgModelsContractLogData" 11324 } 11325 ] 11326 }, 11327 "GithubComMachinefiW3BstreamPkgModelsContractLogInfo": { 11328 "type": "object", 11329 "properties": { 11330 "blockCurrent": { 11331 "type": "integer", 11332 "format": "uint64", 11333 "x-go-field-name": "BlockCurrent", 11334 "x-tag-json": "blockCurrent,omitempty" 11335 }, 11336 "blockEnd": { 11337 "type": "integer", 11338 "format": "uint64", 11339 "x-go-field-name": "BlockEnd", 11340 "x-tag-json": "blockEnd,omitempty" 11341 }, 11342 "blockStart": { 11343 "type": "integer", 11344 "format": "uint64", 11345 "x-go-field-name": "BlockStart", 11346 "x-tag-json": "blockStart" 11347 }, 11348 "chainID": { 11349 "type": "integer", 11350 "format": "uint64", 11351 "x-go-field-name": "ChainID", 11352 "x-tag-json": "chainID" 11353 }, 11354 "contractAddress": { 11355 "type": "string", 11356 "x-go-field-name": "ContractAddress", 11357 "x-tag-json": "contractAddress" 11358 }, 11359 "eventType": { 11360 "type": "string", 11361 "x-go-field-name": "EventType", 11362 "x-tag-json": "eventType,omitempty,default='MONITOR_DEFAULT'" 11363 }, 11364 "paused": { 11365 "allOf": [ 11366 { 11367 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 11368 }, 11369 { 11370 "x-go-field-name": "Paused", 11371 "x-tag-json": "paused,omitempty,default='false'" 11372 } 11373 ] 11374 }, 11375 "topic0": { 11376 "type": "string", 11377 "x-go-field-name": "Topic0", 11378 "x-tag-json": "topic0,omitempty" 11379 }, 11380 "topic1": { 11381 "type": "string", 11382 "x-go-field-name": "Topic1", 11383 "x-tag-json": "topic1,omitempty" 11384 }, 11385 "topic2": { 11386 "type": "string", 11387 "x-go-field-name": "Topic2", 11388 "x-tag-json": "topic2,omitempty" 11389 }, 11390 "topic3": { 11391 "type": "string", 11392 "x-go-field-name": "Topic3", 11393 "x-tag-json": "topic3,omitempty" 11394 } 11395 }, 11396 "required": [ 11397 "chainID", 11398 "contractAddress", 11399 "blockStart" 11400 ], 11401 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ContractLogInfo", 11402 "x-id": "GithubComMachinefiW3BstreamPkgModelsContractLogInfo" 11403 }, 11404 "GithubComMachinefiW3BstreamPkgModelsCronJob": { 11405 "allOf": [ 11406 { 11407 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11408 }, 11409 { 11410 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelCronJob" 11411 }, 11412 { 11413 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 11414 }, 11415 { 11416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsCronJobInfo" 11417 }, 11418 { 11419 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 11420 }, 11421 { 11422 "type": "object", 11423 "description": "CronJob schema for cron job information", 11424 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.CronJob", 11425 "x-id": "GithubComMachinefiW3BstreamPkgModelsCronJob" 11426 } 11427 ] 11428 }, 11429 "GithubComMachinefiW3BstreamPkgModelsCronJobInfo": { 11430 "type": "object", 11431 "properties": { 11432 "cronExpressions": { 11433 "type": "string", 11434 "x-go-field-name": "CronExpressions", 11435 "x-tag-json": "cronExpressions" 11436 }, 11437 "eventType": { 11438 "type": "string", 11439 "x-go-field-name": "EventType", 11440 "x-tag-json": "eventType,omitempty" 11441 } 11442 }, 11443 "required": [ 11444 "cronExpressions" 11445 ], 11446 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.CronJobInfo", 11447 "x-id": "GithubComMachinefiW3BstreamPkgModelsCronJobInfo" 11448 }, 11449 "GithubComMachinefiW3BstreamPkgModelsInstance": { 11450 "allOf": [ 11451 { 11452 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11453 }, 11454 { 11455 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelInstance" 11456 }, 11457 { 11458 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelApplet" 11459 }, 11460 { 11461 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstanceInfo" 11462 }, 11463 { 11464 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11465 }, 11466 { 11467 "type": "object", 11468 "description": "Instance database model instance", 11469 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Instance", 11470 "x-id": "GithubComMachinefiW3BstreamPkgModelsInstance" 11471 } 11472 ] 11473 }, 11474 "GithubComMachinefiW3BstreamPkgModelsInstanceInfo": { 11475 "type": "object", 11476 "properties": { 11477 "state": { 11478 "allOf": [ 11479 { 11480 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsInstanceState" 11481 }, 11482 { 11483 "x-go-field-name": "State", 11484 "x-tag-json": "state" 11485 } 11486 ] 11487 } 11488 }, 11489 "required": [ 11490 "state" 11491 ], 11492 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.InstanceInfo", 11493 "x-id": "GithubComMachinefiW3BstreamPkgModelsInstanceInfo" 11494 }, 11495 "GithubComMachinefiW3BstreamPkgModelsMeta": { 11496 "type": "object", 11497 "additionalProperties": { 11498 "type": "string" 11499 }, 11500 "propertyNames": { 11501 "type": "string" 11502 }, 11503 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Meta", 11504 "x-id": "GithubComMachinefiW3BstreamPkgModelsMeta" 11505 }, 11506 "GithubComMachinefiW3BstreamPkgModelsOperator": { 11507 "allOf": [ 11508 { 11509 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11510 }, 11511 { 11512 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelAccount" 11513 }, 11514 { 11515 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelOperator" 11516 }, 11517 { 11518 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsOperatorInfo" 11519 }, 11520 { 11521 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 11522 }, 11523 { 11524 "type": "object", 11525 "description": "Operator schema for blockchain operate information", 11526 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Operator", 11527 "x-id": "GithubComMachinefiW3BstreamPkgModelsOperator" 11528 } 11529 ] 11530 }, 11531 "GithubComMachinefiW3BstreamPkgModelsOperatorInfo": { 11532 "type": "object", 11533 "properties": { 11534 "name": { 11535 "type": "string", 11536 "x-go-field-name": "Name", 11537 "x-tag-json": "name" 11538 }, 11539 "type": { 11540 "allOf": [ 11541 { 11542 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsOperatorKeyType" 11543 }, 11544 { 11545 "x-go-field-name": "Type", 11546 "x-tag-json": "type,omitempty,default='1'" 11547 } 11548 ] 11549 } 11550 }, 11551 "required": [ 11552 "name" 11553 ], 11554 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.OperatorInfo", 11555 "x-id": "GithubComMachinefiW3BstreamPkgModelsOperatorInfo" 11556 }, 11557 "GithubComMachinefiW3BstreamPkgModelsProject": { 11558 "allOf": [ 11559 { 11560 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11561 }, 11562 { 11563 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 11564 }, 11565 { 11566 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelAccount" 11567 }, 11568 { 11569 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProjectName" 11570 }, 11571 { 11572 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProjectBase" 11573 }, 11574 { 11575 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 11576 }, 11577 { 11578 "type": "object", 11579 "description": "Project schema for project information", 11580 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Project", 11581 "x-id": "GithubComMachinefiW3BstreamPkgModelsProject" 11582 } 11583 ] 11584 }, 11585 "GithubComMachinefiW3BstreamPkgModelsProjectBase": { 11586 "type": "object", 11587 "properties": { 11588 "description": { 11589 "type": "string", 11590 "x-go-field-name": "Description", 11591 "x-tag-json": "description,omitempty" 11592 }, 11593 "protocol": { 11594 "allOf": [ 11595 { 11596 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsProtocol" 11597 }, 11598 { 11599 "description": "Proto project protocol for event publisher", 11600 "x-go-field-name": "Proto", 11601 "x-tag-json": "protocol,omitempty" 11602 } 11603 ] 11604 }, 11605 "public": { 11606 "allOf": [ 11607 { 11608 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 11609 }, 11610 { 11611 "description": "Public is true, project receive event from anonymous publisher", 11612 "x-go-field-name": "Public", 11613 "x-tag-json": "public,omitempty" 11614 } 11615 ] 11616 }, 11617 "version": { 11618 "type": "string", 11619 "description": "Version project version", 11620 "x-go-field-name": "Version", 11621 "x-tag-json": "version,omitempty" 11622 } 11623 }, 11624 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ProjectBase", 11625 "x-id": "GithubComMachinefiW3BstreamPkgModelsProjectBase" 11626 }, 11627 "GithubComMachinefiW3BstreamPkgModelsProjectName": { 11628 "type": "object", 11629 "properties": { 11630 "name": { 11631 "type": "string", 11632 "format": "projectName", 11633 "description": "Name project name", 11634 "x-go-field-name": "Name", 11635 "x-tag-json": "name", 11636 "x-tag-validate": "@projectName" 11637 } 11638 }, 11639 "required": [ 11640 "name" 11641 ], 11642 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ProjectName", 11643 "x-id": "GithubComMachinefiW3BstreamPkgModelsProjectName" 11644 }, 11645 "GithubComMachinefiW3BstreamPkgModelsProjectOperator": { 11646 "allOf": [ 11647 { 11648 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11649 }, 11650 { 11651 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 11652 }, 11653 { 11654 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelOperator" 11655 }, 11656 { 11657 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 11658 }, 11659 { 11660 "type": "object", 11661 "description": "ProjectOperator schema for project operator relationship", 11662 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ProjectOperator", 11663 "x-id": "GithubComMachinefiW3BstreamPkgModelsProjectOperator" 11664 } 11665 ] 11666 }, 11667 "GithubComMachinefiW3BstreamPkgModelsPublisher": { 11668 "allOf": [ 11669 { 11670 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 11671 }, 11672 { 11673 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 11674 }, 11675 { 11676 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelPublisher" 11677 }, 11678 { 11679 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisherInfo" 11680 }, 11681 { 11682 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 11683 }, 11684 { 11685 "type": "object", 11686 "description": "Publisher database model demo", 11687 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Publisher", 11688 "x-id": "GithubComMachinefiW3BstreamPkgModelsPublisher" 11689 } 11690 ] 11691 }, 11692 "GithubComMachinefiW3BstreamPkgModelsPublisherInfo": { 11693 "type": "object", 11694 "properties": { 11695 "key": { 11696 "type": "string", 11697 "description": "Key the unique identifier for publisher", 11698 "x-go-field-name": "Key", 11699 "x-tag-json": "key" 11700 }, 11701 "name": { 11702 "type": "string", 11703 "x-go-field-name": "Name", 11704 "x-tag-json": "name" 11705 }, 11706 "token": { 11707 "type": "string", 11708 "x-go-field-name": "Token", 11709 "x-tag-json": "token" 11710 } 11711 }, 11712 "required": [ 11713 "name", 11714 "key", 11715 "token" 11716 ], 11717 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.PublisherInfo", 11718 "x-id": "GithubComMachinefiW3BstreamPkgModelsPublisherInfo" 11719 }, 11720 "GithubComMachinefiW3BstreamPkgModelsRelAccount": { 11721 "type": "object", 11722 "properties": { 11723 "accountID": { 11724 "allOf": [ 11725 { 11726 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11727 }, 11728 { 11729 "description": "\nAccountID account id", 11730 "x-go-field-name": "AccountID", 11731 "x-tag-json": "accountID" 11732 } 11733 ] 11734 } 11735 }, 11736 "required": [ 11737 "accountID" 11738 ], 11739 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelAccount", 11740 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelAccount" 11741 }, 11742 "GithubComMachinefiW3BstreamPkgModelsRelApplet": { 11743 "type": "object", 11744 "properties": { 11745 "appletID": { 11746 "allOf": [ 11747 { 11748 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11749 }, 11750 { 11751 "x-go-field-name": "AppletID", 11752 "x-tag-json": "appletID" 11753 } 11754 ] 11755 } 11756 }, 11757 "required": [ 11758 "appletID" 11759 ], 11760 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelApplet", 11761 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelApplet" 11762 }, 11763 "GithubComMachinefiW3BstreamPkgModelsRelChainHeight": { 11764 "type": "object", 11765 "properties": { 11766 "chainHeightID": { 11767 "allOf": [ 11768 { 11769 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11770 }, 11771 { 11772 "x-go-field-name": "ChainHeightID", 11773 "x-tag-json": "chainHeightID" 11774 } 11775 ] 11776 } 11777 }, 11778 "required": [ 11779 "chainHeightID" 11780 ], 11781 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelChainHeight", 11782 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelChainHeight" 11783 }, 11784 "GithubComMachinefiW3BstreamPkgModelsRelChainTx": { 11785 "type": "object", 11786 "properties": { 11787 "chaintxID": { 11788 "allOf": [ 11789 { 11790 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11791 }, 11792 { 11793 "x-go-field-name": "ChainTxID", 11794 "x-tag-json": "chaintxID" 11795 } 11796 ] 11797 } 11798 }, 11799 "required": [ 11800 "chaintxID" 11801 ], 11802 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelChainTx", 11803 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelChainTx" 11804 }, 11805 "GithubComMachinefiW3BstreamPkgModelsRelConfig": { 11806 "type": "object", 11807 "properties": { 11808 "configID": { 11809 "allOf": [ 11810 { 11811 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11812 }, 11813 { 11814 "x-go-field-name": "ConfigID", 11815 "x-tag-json": "configID" 11816 } 11817 ] 11818 } 11819 }, 11820 "required": [ 11821 "configID" 11822 ], 11823 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelConfig", 11824 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelConfig" 11825 }, 11826 "GithubComMachinefiW3BstreamPkgModelsRelContractLog": { 11827 "type": "object", 11828 "properties": { 11829 "contractlogID": { 11830 "allOf": [ 11831 { 11832 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11833 }, 11834 { 11835 "x-go-field-name": "ContractLogID", 11836 "x-tag-json": "contractlogID" 11837 } 11838 ] 11839 } 11840 }, 11841 "required": [ 11842 "contractlogID" 11843 ], 11844 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelContractLog", 11845 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelContractLog" 11846 }, 11847 "GithubComMachinefiW3BstreamPkgModelsRelCronJob": { 11848 "type": "object", 11849 "properties": { 11850 "cronJobID": { 11851 "allOf": [ 11852 { 11853 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11854 }, 11855 { 11856 "x-go-field-name": "CronJobID", 11857 "x-tag-json": "cronJobID" 11858 } 11859 ] 11860 } 11861 }, 11862 "required": [ 11863 "cronJobID" 11864 ], 11865 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelCronJob", 11866 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelCronJob" 11867 }, 11868 "GithubComMachinefiW3BstreamPkgModelsRelInstance": { 11869 "type": "object", 11870 "properties": { 11871 "instanceID": { 11872 "allOf": [ 11873 { 11874 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11875 }, 11876 { 11877 "x-go-field-name": "InstanceID", 11878 "x-tag-json": "instanceID" 11879 } 11880 ] 11881 } 11882 }, 11883 "required": [ 11884 "instanceID" 11885 ], 11886 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelInstance", 11887 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelInstance" 11888 }, 11889 "GithubComMachinefiW3BstreamPkgModelsRelOperator": { 11890 "type": "object", 11891 "properties": { 11892 "operatorID": { 11893 "allOf": [ 11894 { 11895 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11896 }, 11897 { 11898 "x-go-field-name": "OperatorID", 11899 "x-tag-json": "operatorID" 11900 } 11901 ] 11902 } 11903 }, 11904 "required": [ 11905 "operatorID" 11906 ], 11907 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelOperator", 11908 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelOperator" 11909 }, 11910 "GithubComMachinefiW3BstreamPkgModelsRelProject": { 11911 "type": "object", 11912 "properties": { 11913 "projectID": { 11914 "allOf": [ 11915 { 11916 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11917 }, 11918 { 11919 "x-go-field-name": "ProjectID", 11920 "x-tag-json": "projectID" 11921 } 11922 ] 11923 } 11924 }, 11925 "required": [ 11926 "projectID" 11927 ], 11928 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelProject", 11929 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelProject" 11930 }, 11931 "GithubComMachinefiW3BstreamPkgModelsRelPublisher": { 11932 "type": "object", 11933 "properties": { 11934 "publisherID": { 11935 "allOf": [ 11936 { 11937 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11938 }, 11939 { 11940 "x-go-field-name": "PublisherID", 11941 "x-tag-json": "publisherID" 11942 } 11943 ] 11944 } 11945 }, 11946 "required": [ 11947 "publisherID" 11948 ], 11949 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelPublisher", 11950 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelPublisher" 11951 }, 11952 "GithubComMachinefiW3BstreamPkgModelsRelResource": { 11953 "type": "object", 11954 "properties": { 11955 "resourceID": { 11956 "allOf": [ 11957 { 11958 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11959 }, 11960 { 11961 "x-go-field-name": "ResourceID", 11962 "x-tag-json": "resourceID" 11963 } 11964 ] 11965 } 11966 }, 11967 "required": [ 11968 "resourceID" 11969 ], 11970 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelResource", 11971 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelResource" 11972 }, 11973 "GithubComMachinefiW3BstreamPkgModelsRelStrategy": { 11974 "type": "object", 11975 "properties": { 11976 "strategyID": { 11977 "allOf": [ 11978 { 11979 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 11980 }, 11981 { 11982 "x-go-field-name": "StrategyID", 11983 "x-tag-json": "strategyID" 11984 } 11985 ] 11986 } 11987 }, 11988 "required": [ 11989 "strategyID" 11990 ], 11991 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelStrategy", 11992 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelStrategy" 11993 }, 11994 "GithubComMachinefiW3BstreamPkgModelsRelTrafficLimit": { 11995 "type": "object", 11996 "properties": { 11997 "trafficLimitID": { 11998 "allOf": [ 11999 { 12000 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 12001 }, 12002 { 12003 "x-go-field-name": "TrafficLimitID", 12004 "x-tag-json": "trafficLimitID" 12005 } 12006 ] 12007 } 12008 }, 12009 "required": [ 12010 "trafficLimitID" 12011 ], 12012 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.RelTrafficLimit", 12013 "x-id": "GithubComMachinefiW3BstreamPkgModelsRelTrafficLimit" 12014 }, 12015 "GithubComMachinefiW3BstreamPkgModelsResource": { 12016 "allOf": [ 12017 { 12018 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 12019 }, 12020 { 12021 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelResource" 12022 }, 12023 { 12024 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsResourceInfo" 12025 }, 12026 { 12027 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 12028 }, 12029 { 12030 "type": "object", 12031 "description": "Resource database model wasm_resource", 12032 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Resource", 12033 "x-id": "GithubComMachinefiW3BstreamPkgModelsResource" 12034 } 12035 ] 12036 }, 12037 "GithubComMachinefiW3BstreamPkgModelsResourceInfo": { 12038 "type": "object", 12039 "properties": { 12040 "md5": { 12041 "type": "string", 12042 "x-go-field-name": "Md5", 12043 "x-tag-json": "md5" 12044 }, 12045 "path": { 12046 "type": "string", 12047 "description": "Path rel path", 12048 "x-go-field-name": "Path", 12049 "x-tag-json": "path" 12050 } 12051 }, 12052 "required": [ 12053 "path", 12054 "md5" 12055 ], 12056 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ResourceInfo", 12057 "x-id": "GithubComMachinefiW3BstreamPkgModelsResourceInfo" 12058 }, 12059 "GithubComMachinefiW3BstreamPkgModelsResourceOwnerInfo": { 12060 "type": "object", 12061 "properties": { 12062 "comment": { 12063 "type": "string", 12064 "x-go-field-name": "Comment", 12065 "x-tag-json": "comment" 12066 }, 12067 "expireAt": { 12068 "allOf": [ 12069 { 12070 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12071 }, 12072 { 12073 "x-go-field-name": "ExpireAt", 12074 "x-tag-json": "expireAt" 12075 } 12076 ] 12077 }, 12078 "filename": { 12079 "type": "string", 12080 "x-go-field-name": "Filename", 12081 "x-tag-json": "filename" 12082 }, 12083 "uploadedAt": { 12084 "allOf": [ 12085 { 12086 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12087 }, 12088 { 12089 "x-go-field-name": "UploadedAt", 12090 "x-tag-json": "uploadedAt" 12091 } 12092 ] 12093 } 12094 }, 12095 "required": [ 12096 "uploadedAt", 12097 "expireAt", 12098 "filename", 12099 "comment" 12100 ], 12101 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.ResourceOwnerInfo", 12102 "x-id": "GithubComMachinefiW3BstreamPkgModelsResourceOwnerInfo" 12103 }, 12104 "GithubComMachinefiW3BstreamPkgModelsStrategy": { 12105 "allOf": [ 12106 { 12107 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 12108 }, 12109 { 12110 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelStrategy" 12111 }, 12112 { 12113 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 12114 }, 12115 { 12116 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelApplet" 12117 }, 12118 { 12119 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategyInfo" 12120 }, 12121 { 12122 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 12123 }, 12124 { 12125 "type": "object", 12126 "description": "Strategy event route strategy", 12127 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.Strategy", 12128 "x-id": "GithubComMachinefiW3BstreamPkgModelsStrategy" 12129 } 12130 ] 12131 }, 12132 "GithubComMachinefiW3BstreamPkgModelsStrategyInfo": { 12133 "type": "object", 12134 "properties": { 12135 "autoCollectMetric": { 12136 "allOf": [ 12137 { 12138 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 12139 }, 12140 { 12141 "description": "AutoCollectMetric if allow host collect event data for metering", 12142 "x-go-field-name": "AutoCollectMetric", 12143 "x-tag-json": "autoCollectMetric,omitempty" 12144 } 12145 ] 12146 }, 12147 "eventType": { 12148 "type": "string", 12149 "description": "EventType user defined event type", 12150 "x-go-field-name": "EventType", 12151 "x-tag-json": "eventType" 12152 }, 12153 "handler": { 12154 "type": "string", 12155 "description": "Handler wasm handler fn name", 12156 "x-go-field-name": "Handler", 12157 "x-tag-json": "handler" 12158 } 12159 }, 12160 "required": [ 12161 "eventType", 12162 "handler" 12163 ], 12164 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.StrategyInfo", 12165 "x-id": "GithubComMachinefiW3BstreamPkgModelsStrategyInfo" 12166 }, 12167 "GithubComMachinefiW3BstreamPkgModelsTrafficLimit": { 12168 "allOf": [ 12169 { 12170 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesPrimaryID" 12171 }, 12172 { 12173 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelTrafficLimit" 12174 }, 12175 { 12176 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelProject" 12177 }, 12178 { 12179 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsTrafficLimitInfo" 12180 }, 12181 { 12182 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimesWithDeleted" 12183 }, 12184 { 12185 "type": "object", 12186 "description": "TrafficLimit traffic limit for each project", 12187 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.TrafficLimit", 12188 "x-id": "GithubComMachinefiW3BstreamPkgModelsTrafficLimit" 12189 } 12190 ] 12191 }, 12192 "GithubComMachinefiW3BstreamPkgModelsTrafficLimitInfo": { 12193 "type": "object", 12194 "properties": { 12195 "apiType": { 12196 "allOf": [ 12197 { 12198 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType" 12199 }, 12200 { 12201 "x-go-field-name": "ApiType", 12202 "x-tag-json": "apiType" 12203 } 12204 ] 12205 }, 12206 "duration": { 12207 "allOf": [ 12208 { 12209 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesDuration" 12210 }, 12211 { 12212 "x-go-field-name": "Duration", 12213 "x-tag-json": "duration" 12214 } 12215 ] 12216 }, 12217 "startAt": { 12218 "allOf": [ 12219 { 12220 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12221 }, 12222 { 12223 "x-go-field-name": "StartAt", 12224 "x-tag-json": "startAt" 12225 } 12226 ] 12227 }, 12228 "threshold": { 12229 "type": "integer", 12230 "format": "int32", 12231 "x-go-field-name": "Threshold", 12232 "x-tag-json": "threshold" 12233 } 12234 }, 12235 "required": [ 12236 "threshold", 12237 "duration", 12238 "apiType", 12239 "startAt" 12240 ], 12241 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/models.TrafficLimitInfo", 12242 "x-id": "GithubComMachinefiW3BstreamPkgModelsTrafficLimitInfo" 12243 }, 12244 "GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateReqBase": { 12245 "type": "object", 12246 "properties": { 12247 "desc": { 12248 "type": "string", 12249 "description": "Description access token description", 12250 "x-go-field-name": "Desc", 12251 "x-tag-json": "desc,omitempty" 12252 }, 12253 "expirationDays": { 12254 "type": "integer", 12255 "format": "int32", 12256 "description": "ExpirationDays access token valid in ExpirationDays, if 0 means token will not be expired.", 12257 "x-go-field-name": "ExpirationDays", 12258 "x-tag-json": "expirationDays,omitempty" 12259 }, 12260 "name": { 12261 "type": "string", 12262 "description": "Name access token name", 12263 "x-go-field-name": "Name", 12264 "x-tag-json": "name" 12265 }, 12266 "privileges": { 12267 "allOf": [ 12268 { 12269 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivileges" 12270 }, 12271 { 12272 "description": "Privileges operator group access privileges", 12273 "x-go-field-name": "Privileges", 12274 "x-tag-json": "privileges,omitempty" 12275 } 12276 ] 12277 } 12278 }, 12279 "required": [ 12280 "name" 12281 ], 12282 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.CreateReqBase", 12283 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateReqBase" 12284 }, 12285 "GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp": { 12286 "type": "object", 12287 "properties": { 12288 "accessKey": { 12289 "type": "string", 12290 "x-go-field-name": "AccessKey", 12291 "x-tag-json": "accessKey" 12292 }, 12293 "desc": { 12294 "type": "string", 12295 "x-go-field-name": "Desc", 12296 "x-tag-json": "desc,omitempty" 12297 }, 12298 "expiredAt": { 12299 "allOf": [ 12300 { 12301 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12302 }, 12303 { 12304 "x-go-field-name": "ExpiredAt", 12305 "x-go-star-level": 1, 12306 "x-tag-json": "expiredAt,omitempty" 12307 } 12308 ] 12309 }, 12310 "identityID": { 12311 "allOf": [ 12312 { 12313 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 12314 }, 12315 { 12316 "x-go-field-name": "IdentityID", 12317 "x-tag-json": "identityID" 12318 } 12319 ] 12320 }, 12321 "identityType": { 12322 "allOf": [ 12323 { 12324 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType" 12325 }, 12326 { 12327 "x-go-field-name": "IdentityType", 12328 "x-tag-json": "identityType" 12329 } 12330 ] 12331 }, 12332 "name": { 12333 "type": "string", 12334 "x-go-field-name": "Name", 12335 "x-tag-json": "name" 12336 }, 12337 "privileges": { 12338 "type": "array", 12339 "items": { 12340 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaWithPrivilege" 12341 }, 12342 "x-go-field-name": "Privileges", 12343 "x-tag-json": "privileges" 12344 } 12345 }, 12346 "required": [ 12347 "name", 12348 "identityType", 12349 "identityID", 12350 "accessKey", 12351 "privileges" 12352 ], 12353 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.CreateRsp", 12354 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyCreateRsp" 12355 }, 12356 "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivilege": { 12357 "type": "object", 12358 "properties": { 12359 "name": { 12360 "type": "string", 12361 "x-go-field-name": "Name", 12362 "x-tag-json": "name" 12363 }, 12364 "perm": { 12365 "allOf": [ 12366 { 12367 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccessPermission" 12368 }, 12369 { 12370 "x-go-field-name": "Perm", 12371 "x-tag-json": "perm" 12372 } 12373 ] 12374 } 12375 }, 12376 "required": [ 12377 "name", 12378 "perm" 12379 ], 12380 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.GroupAccessPrivilege", 12381 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivilege" 12382 }, 12383 "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivileges": { 12384 "type": "array", 12385 "items": { 12386 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivilege" 12387 }, 12388 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.GroupAccessPrivileges", 12389 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivileges" 12390 }, 12391 "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase": { 12392 "type": "object", 12393 "properties": { 12394 "desc": { 12395 "type": "string", 12396 "x-go-field-name": "Desc", 12397 "x-tag-json": "desc" 12398 }, 12399 "name": { 12400 "type": "string", 12401 "x-go-field-name": "Name", 12402 "x-tag-json": "name" 12403 } 12404 }, 12405 "required": [ 12406 "name", 12407 "desc" 12408 ], 12409 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.GroupMetaBase", 12410 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase" 12411 }, 12412 "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaWithPrivilege": { 12413 "allOf": [ 12414 { 12415 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaBase" 12416 }, 12417 { 12418 "type": "object", 12419 "properties": { 12420 "perm": { 12421 "allOf": [ 12422 { 12423 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccessPermission" 12424 }, 12425 { 12426 "x-go-field-name": "Perm", 12427 "x-tag-json": "perm" 12428 } 12429 ] 12430 } 12431 }, 12432 "required": [ 12433 "perm" 12434 ], 12435 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.GroupMetaWithPrivilege", 12436 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaWithPrivilege" 12437 } 12438 ] 12439 }, 12440 "GithubComMachinefiW3BstreamPkgModulesAccessKeyListData": { 12441 "allOf": [ 12442 { 12443 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 12444 }, 12445 { 12446 "type": "object", 12447 "properties": { 12448 "desc": { 12449 "type": "string", 12450 "x-go-field-name": "Desc", 12451 "x-tag-json": "desc,omitempty" 12452 }, 12453 "expiredAt": { 12454 "allOf": [ 12455 { 12456 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12457 }, 12458 { 12459 "x-go-field-name": "ExpiredAt", 12460 "x-go-star-level": 1, 12461 "x-tag-json": "expiredAt,omitempty" 12462 } 12463 ] 12464 }, 12465 "lastUsed": { 12466 "allOf": [ 12467 { 12468 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12469 }, 12470 { 12471 "x-go-field-name": "LastUsed", 12472 "x-go-star-level": 1, 12473 "x-tag-json": "lastUsed,omitempty" 12474 } 12475 ] 12476 }, 12477 "name": { 12478 "type": "string", 12479 "x-go-field-name": "Name", 12480 "x-tag-json": "name" 12481 }, 12482 "privileges": { 12483 "type": "array", 12484 "items": { 12485 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaWithPrivilege" 12486 }, 12487 "x-go-field-name": "Privileges", 12488 "x-tag-json": "privileges,omitempty" 12489 } 12490 }, 12491 "required": [ 12492 "name" 12493 ], 12494 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.ListData", 12495 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyListData" 12496 } 12497 ] 12498 }, 12499 "GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp": { 12500 "type": "object", 12501 "properties": { 12502 "data": { 12503 "type": "array", 12504 "items": { 12505 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyListData" 12506 }, 12507 "x-go-field-name": "Data", 12508 "x-tag-json": "data" 12509 }, 12510 "total": { 12511 "type": "integer", 12512 "format": "int64", 12513 "x-go-field-name": "Total", 12514 "x-tag-json": "total" 12515 } 12516 }, 12517 "required": [ 12518 "data", 12519 "total" 12520 ], 12521 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.ListRsp", 12522 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyListRsp" 12523 }, 12524 "GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateReq": { 12525 "type": "object", 12526 "properties": { 12527 "desc": { 12528 "type": "string", 12529 "x-go-field-name": "Desc", 12530 "x-tag-json": "desc,omitempty" 12531 }, 12532 "expirationDays": { 12533 "type": "integer", 12534 "format": "int32", 12535 "x-go-field-name": "ExpirationDays", 12536 "x-tag-json": "expirationDays,omitempty" 12537 }, 12538 "privileges": { 12539 "allOf": [ 12540 { 12541 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupAccessPrivileges" 12542 }, 12543 { 12544 "x-go-field-name": "Privileges", 12545 "x-tag-json": "privileges,omitempty" 12546 } 12547 ] 12548 } 12549 }, 12550 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.UpdateReq", 12551 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateReq" 12552 }, 12553 "GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp": { 12554 "type": "object", 12555 "properties": { 12556 "desc": { 12557 "type": "string", 12558 "x-go-field-name": "Desc", 12559 "x-tag-json": "desc,omitempty" 12560 }, 12561 "expiredAt": { 12562 "allOf": [ 12563 { 12564 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12565 }, 12566 { 12567 "x-go-field-name": "ExpiredAt", 12568 "x-go-star-level": 1, 12569 "x-tag-json": "expiredAt,omitempty" 12570 } 12571 ] 12572 }, 12573 "identityID": { 12574 "allOf": [ 12575 { 12576 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 12577 }, 12578 { 12579 "x-go-field-name": "IdentityID", 12580 "x-tag-json": "identityID" 12581 } 12582 ] 12583 }, 12584 "identityType": { 12585 "allOf": [ 12586 { 12587 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccessKeyIdentityType" 12588 }, 12589 { 12590 "x-go-field-name": "IdentityType", 12591 "x-tag-json": "identityType" 12592 } 12593 ] 12594 }, 12595 "lastUsed": { 12596 "allOf": [ 12597 { 12598 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12599 }, 12600 { 12601 "x-go-field-name": "LastUsed", 12602 "x-go-star-level": 1, 12603 "x-tag-json": "lastUsed,omitempty" 12604 } 12605 ] 12606 }, 12607 "name": { 12608 "type": "string", 12609 "x-go-field-name": "Name", 12610 "x-tag-json": "name" 12611 }, 12612 "privileges": { 12613 "type": "array", 12614 "items": { 12615 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAccessKeyGroupMetaWithPrivilege" 12616 }, 12617 "x-go-field-name": "Privileges", 12618 "x-tag-json": "privileges" 12619 } 12620 }, 12621 "required": [ 12622 "name", 12623 "identityType", 12624 "identityID", 12625 "privileges" 12626 ], 12627 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/access_key.UpdateRsp", 12628 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccessKeyUpdateRsp" 12629 }, 12630 "GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameReq": { 12631 "type": "object", 12632 "properties": { 12633 "avatarURL": { 12634 "type": "string", 12635 "format": "url", 12636 "x-go-field-name": "AvatarURL", 12637 "x-tag-json": "avatarURL,omitempty", 12638 "x-tag-validate": "@url" 12639 }, 12640 "role": { 12641 "allOf": [ 12642 { 12643 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccountRole" 12644 }, 12645 { 12646 "x-go-field-name": "Role", 12647 "x-tag-json": "role" 12648 } 12649 ] 12650 }, 12651 "username": { 12652 "type": "string", 12653 "x-go-field-name": "Username", 12654 "x-tag-json": "username" 12655 } 12656 }, 12657 "required": [ 12658 "username", 12659 "role" 12660 ], 12661 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.CreateAccountByUsernameReq", 12662 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameReq" 12663 }, 12664 "GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp": { 12665 "allOf": [ 12666 { 12667 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsAccount" 12668 }, 12669 { 12670 "type": "object", 12671 "properties": { 12672 "password": { 12673 "type": "string", 12674 "x-go-field-name": "Password", 12675 "x-tag-json": "password" 12676 } 12677 }, 12678 "required": [ 12679 "password" 12680 ], 12681 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.CreateAccountByUsernameRsp", 12682 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountCreateAccountByUsernameRsp" 12683 } 12684 ] 12685 }, 12686 "GithubComMachinefiW3BstreamPkgModulesAccountLoginByEthAddressReq": { 12687 "type": "object", 12688 "properties": { 12689 "message": { 12690 "type": "string", 12691 "description": "Message siwe serialized message", 12692 "x-go-field-name": "Message", 12693 "x-tag-json": "message" 12694 }, 12695 "signature": { 12696 "type": "string", 12697 "description": "Signature should have '0x' prefix", 12698 "x-go-field-name": "Signature", 12699 "x-tag-json": "signature" 12700 } 12701 }, 12702 "required": [ 12703 "message", 12704 "signature" 12705 ], 12706 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.LoginByEthAddressReq", 12707 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountLoginByEthAddressReq" 12708 }, 12709 "GithubComMachinefiW3BstreamPkgModulesAccountLoginByUsernameReq": { 12710 "type": "object", 12711 "properties": { 12712 "password": { 12713 "type": "string", 12714 "x-go-field-name": "Password", 12715 "x-tag-json": "password" 12716 }, 12717 "username": { 12718 "type": "string", 12719 "x-go-field-name": "Username", 12720 "x-tag-json": "username" 12721 } 12722 }, 12723 "required": [ 12724 "username", 12725 "password" 12726 ], 12727 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.LoginByUsernameReq", 12728 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountLoginByUsernameReq" 12729 }, 12730 "GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp": { 12731 "type": "object", 12732 "properties": { 12733 "accountID": { 12734 "allOf": [ 12735 { 12736 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 12737 }, 12738 { 12739 "x-go-field-name": "AccountID", 12740 "x-tag-json": "accountID" 12741 } 12742 ] 12743 }, 12744 "accountRole": { 12745 "allOf": [ 12746 { 12747 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsAccountRole" 12748 }, 12749 { 12750 "x-go-field-name": "AccountRole", 12751 "x-tag-json": "accountRole" 12752 } 12753 ] 12754 }, 12755 "expireAt": { 12756 "allOf": [ 12757 { 12758 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesTimestamp" 12759 }, 12760 { 12761 "x-go-field-name": "ExpireAt", 12762 "x-tag-json": "expireAt" 12763 } 12764 ] 12765 }, 12766 "issuer": { 12767 "type": "string", 12768 "x-go-field-name": "Issuer", 12769 "x-tag-json": "issuer" 12770 }, 12771 "token": { 12772 "type": "string", 12773 "x-go-field-name": "Token", 12774 "x-tag-json": "token" 12775 } 12776 }, 12777 "required": [ 12778 "accountID", 12779 "accountRole", 12780 "token", 12781 "expireAt", 12782 "issuer" 12783 ], 12784 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.LoginRsp", 12785 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountLoginRsp" 12786 }, 12787 "GithubComMachinefiW3BstreamPkgModulesAccountUpdatePasswordReq": { 12788 "type": "object", 12789 "properties": { 12790 "oldPassword": { 12791 "type": "string", 12792 "x-go-field-name": "OldPassword", 12793 "x-tag-json": "oldPassword" 12794 }, 12795 "password": { 12796 "type": "string", 12797 "x-go-field-name": "Password", 12798 "x-tag-json": "password" 12799 } 12800 }, 12801 "required": [ 12802 "oldPassword", 12803 "password" 12804 ], 12805 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/account.UpdatePasswordReq", 12806 "x-id": "GithubComMachinefiW3BstreamPkgModulesAccountUpdatePasswordReq" 12807 }, 12808 "GithubComMachinefiW3BstreamPkgModulesAppletCreateReq": { 12809 "type": "object", 12810 "properties": { 12811 "file": { 12812 "type": "string", 12813 "format": "binary", 12814 "x-go-field-name": "File", 12815 "x-go-star-level": 1, 12816 "x-tag-name": "file" 12817 }, 12818 "info": { 12819 "allOf": [ 12820 { 12821 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletInfo" 12822 }, 12823 { 12824 "x-go-field-name": "Info", 12825 "x-tag-name": "info" 12826 } 12827 ] 12828 } 12829 }, 12830 "required": [ 12831 "file", 12832 "info" 12833 ], 12834 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.CreateReq", 12835 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletCreateReq" 12836 }, 12837 "GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp": { 12838 "allOf": [ 12839 { 12840 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsApplet" 12841 }, 12842 { 12843 "type": "object", 12844 "properties": { 12845 "instance": { 12846 "allOf": [ 12847 { 12848 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstance" 12849 }, 12850 { 12851 "x-go-field-name": "Instance", 12852 "x-go-star-level": 1, 12853 "x-tag-json": "instance" 12854 } 12855 ] 12856 }, 12857 "resource": { 12858 "allOf": [ 12859 { 12860 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsResource" 12861 }, 12862 { 12863 "x-go-field-name": "Resource", 12864 "x-go-star-level": 1, 12865 "x-tag-json": "resource,omitempty" 12866 } 12867 ] 12868 }, 12869 "strategies": { 12870 "type": "array", 12871 "items": { 12872 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategy" 12873 }, 12874 "x-go-field-name": "Strategies", 12875 "x-tag-json": "strategies,omitempty" 12876 } 12877 }, 12878 "required": [ 12879 "instance" 12880 ], 12881 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.CreateRsp", 12882 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletCreateRsp" 12883 } 12884 ] 12885 }, 12886 "GithubComMachinefiW3BstreamPkgModulesAppletDetail": { 12887 "allOf": [ 12888 { 12889 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsApplet" 12890 }, 12891 { 12892 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsResourceInfo" 12893 }, 12894 { 12895 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelInstance" 12896 }, 12897 { 12898 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsInstanceInfo" 12899 }, 12900 { 12901 "type": "object", 12902 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.Detail", 12903 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletDetail" 12904 } 12905 ] 12906 }, 12907 "GithubComMachinefiW3BstreamPkgModulesAppletInfo": { 12908 "type": "object", 12909 "properties": { 12910 "appletName": { 12911 "type": "string", 12912 "x-go-field-name": "AppletName", 12913 "x-tag-json": "appletName" 12914 }, 12915 "strategies": { 12916 "type": "array", 12917 "items": { 12918 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategyInfo" 12919 }, 12920 "x-go-field-name": "Strategies", 12921 "x-tag-json": "strategies,omitempty" 12922 }, 12923 "wasmCache": { 12924 "allOf": [ 12925 { 12926 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmCache" 12927 }, 12928 { 12929 "x-go-field-name": "WasmCache", 12930 "x-go-star-level": 1, 12931 "x-tag-json": "wasmCache,omitempty" 12932 } 12933 ] 12934 }, 12935 "wasmMd5": { 12936 "type": "string", 12937 "x-go-field-name": "WasmMd5", 12938 "x-tag-json": "wasmMd5,omitempty" 12939 }, 12940 "wasmName": { 12941 "type": "string", 12942 "x-go-field-name": "WasmName", 12943 "x-tag-json": "wasmName,omitempty" 12944 } 12945 }, 12946 "required": [ 12947 "appletName" 12948 ], 12949 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.Info", 12950 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletInfo" 12951 }, 12952 "GithubComMachinefiW3BstreamPkgModulesAppletListRsp": { 12953 "type": "object", 12954 "properties": { 12955 "data": { 12956 "type": "array", 12957 "items": { 12958 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsApplet" 12959 }, 12960 "x-go-field-name": "Data", 12961 "x-tag-json": "data" 12962 }, 12963 "total": { 12964 "type": "integer", 12965 "format": "int64", 12966 "x-go-field-name": "Total", 12967 "x-tag-json": "total" 12968 } 12969 }, 12970 "required": [ 12971 "data", 12972 "total" 12973 ], 12974 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.ListRsp", 12975 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletListRsp" 12976 }, 12977 "GithubComMachinefiW3BstreamPkgModulesAppletUpdateReq": { 12978 "type": "object", 12979 "properties": { 12980 "file": { 12981 "type": "string", 12982 "format": "binary", 12983 "x-go-field-name": "File", 12984 "x-go-star-level": 1, 12985 "x-tag-name": "file,omitempty" 12986 }, 12987 "info": { 12988 "allOf": [ 12989 { 12990 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletInfo" 12991 }, 12992 { 12993 "x-go-field-name": "Info", 12994 "x-tag-name": "info" 12995 } 12996 ] 12997 } 12998 }, 12999 "required": [ 13000 "info" 13001 ], 13002 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/applet.UpdateReq", 13003 "x-id": "GithubComMachinefiW3BstreamPkgModulesAppletUpdateReq" 13004 }, 13005 "GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq": { 13006 "type": "object", 13007 "properties": { 13008 "ids": { 13009 "type": "array", 13010 "items": { 13011 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 13012 }, 13013 "x-go-field-name": "IDs", 13014 "x-tag-json": "ids" 13015 } 13016 }, 13017 "required": [ 13018 "ids" 13019 ], 13020 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/blockchain.BatchUpdateMonitorReq", 13021 "x-id": "GithubComMachinefiW3BstreamPkgModulesBlockchainBatchUpdateMonitorReq" 13022 }, 13023 "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainHeightReq": { 13024 "allOf": [ 13025 { 13026 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainHeightInfo" 13027 }, 13028 { 13029 "type": "object", 13030 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/blockchain.CreateChainHeightReq", 13031 "x-id": "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainHeightReq" 13032 } 13033 ] 13034 }, 13035 "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainTxReq": { 13036 "allOf": [ 13037 { 13038 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsChainTxInfo" 13039 }, 13040 { 13041 "type": "object", 13042 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/blockchain.CreateChainTxReq", 13043 "x-id": "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateChainTxReq" 13044 } 13045 ] 13046 }, 13047 "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateContractLogReq": { 13048 "allOf": [ 13049 { 13050 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsContractLogInfo" 13051 }, 13052 { 13053 "type": "object", 13054 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/blockchain.CreateContractLogReq", 13055 "x-id": "GithubComMachinefiW3BstreamPkgModulesBlockchainCreateContractLogReq" 13056 } 13057 ] 13058 }, 13059 "GithubComMachinefiW3BstreamPkgModulesCronjobCreateReq": { 13060 "allOf": [ 13061 { 13062 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsCronJobInfo" 13063 }, 13064 { 13065 "type": "object", 13066 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/cronjob.CreateReq", 13067 "x-id": "GithubComMachinefiW3BstreamPkgModulesCronjobCreateReq" 13068 } 13069 ] 13070 }, 13071 "GithubComMachinefiW3BstreamPkgModulesCronjobListRsp": { 13072 "type": "object", 13073 "properties": { 13074 "data": { 13075 "type": "array", 13076 "items": { 13077 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsCronJob" 13078 }, 13079 "x-go-field-name": "Data", 13080 "x-tag-json": "data" 13081 }, 13082 "total": { 13083 "type": "integer", 13084 "format": "int64", 13085 "x-go-field-name": "Total", 13086 "x-tag-json": "total" 13087 } 13088 }, 13089 "required": [ 13090 "data", 13091 "total" 13092 ], 13093 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/cronjob.ListRsp", 13094 "x-id": "GithubComMachinefiW3BstreamPkgModulesCronjobListRsp" 13095 }, 13096 "GithubComMachinefiW3BstreamPkgModulesDeployCreateReq": { 13097 "type": "object", 13098 "properties": { 13099 "cache": { 13100 "allOf": [ 13101 { 13102 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmCache" 13103 }, 13104 { 13105 "x-go-field-name": "Cache", 13106 "x-go-star-level": 1, 13107 "x-tag-json": "cache,omitempty" 13108 } 13109 ] 13110 } 13111 }, 13112 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/deploy.CreateReq", 13113 "x-id": "GithubComMachinefiW3BstreamPkgModulesDeployCreateReq" 13114 }, 13115 "GithubComMachinefiW3BstreamPkgModulesEventDataPushRsp": { 13116 "type": "object", 13117 "properties": { 13118 "index": { 13119 "type": "integer", 13120 "format": "int32", 13121 "x-go-field-name": "Index", 13122 "x-tag-json": "index" 13123 }, 13124 "results": { 13125 "type": "array", 13126 "items": { 13127 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesEventResult" 13128 }, 13129 "x-go-field-name": "Results", 13130 "x-tag-json": "results" 13131 } 13132 }, 13133 "required": [ 13134 "index", 13135 "results" 13136 ], 13137 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/event.DataPushRsp", 13138 "x-id": "GithubComMachinefiW3BstreamPkgModulesEventDataPushRsp" 13139 }, 13140 "GithubComMachinefiW3BstreamPkgModulesEventDataPushRsps": { 13141 "type": "array", 13142 "items": { 13143 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesEventDataPushRsp" 13144 }, 13145 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/event.DataPushRsps", 13146 "x-id": "GithubComMachinefiW3BstreamPkgModulesEventDataPushRsps" 13147 }, 13148 "GithubComMachinefiW3BstreamPkgModulesEventEventRsp": { 13149 "type": "object", 13150 "properties": { 13151 "channel": { 13152 "type": "string", 13153 "description": "Channel intact project name", 13154 "x-go-field-name": "Channel", 13155 "x-tag-json": "channel" 13156 }, 13157 "error": { 13158 "type": "string", 13159 "description": "Error error message from w3b node (api level), different from Result.Error", 13160 "x-go-field-name": "Error", 13161 "x-tag-json": "error,omitempty" 13162 }, 13163 "eventID": { 13164 "type": "string", 13165 "description": "EventID same as EventReq.EventID", 13166 "x-go-field-name": "EventID", 13167 "x-tag-json": "eventID" 13168 }, 13169 "publisherID": { 13170 "allOf": [ 13171 { 13172 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 13173 }, 13174 { 13175 "description": "PublisherID publisher(device) unique id in w3b node", 13176 "x-go-field-name": "PublisherID", 13177 "x-tag-json": "publisherID" 13178 } 13179 ] 13180 }, 13181 "publisherKey": { 13182 "type": "string", 13183 "description": "PublisherKey publisher(device) mn unique id of this device", 13184 "x-go-field-name": "PublisherKey", 13185 "x-tag-json": "publisherKey" 13186 }, 13187 "results": { 13188 "type": "array", 13189 "items": { 13190 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesEventResult" 13191 }, 13192 "description": "Results result for each wasm invoke, which hits strategies.", 13193 "x-go-field-name": "Results", 13194 "x-tag-json": "results" 13195 }, 13196 "timestamp": { 13197 "type": "integer", 13198 "format": "int64", 13199 "description": "Timestamp event respond time when event handled done.", 13200 "x-go-field-name": "Timestamp", 13201 "x-tag-json": "timestamp" 13202 } 13203 }, 13204 "required": [ 13205 "channel", 13206 "publisherID", 13207 "publisherKey", 13208 "eventID", 13209 "timestamp", 13210 "results" 13211 ], 13212 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/event.EventRsp", 13213 "x-id": "GithubComMachinefiW3BstreamPkgModulesEventEventRsp" 13214 }, 13215 "GithubComMachinefiW3BstreamPkgModulesEventResult": { 13216 "type": "object", 13217 "properties": { 13218 "appletName": { 13219 "type": "string", 13220 "description": "AppletName applet name(unique) under published channel(project)", 13221 "x-go-field-name": "AppletName", 13222 "x-tag-json": "appletName" 13223 }, 13224 "code": { 13225 "type": "integer", 13226 "format": "int32", 13227 "description": "ReturnCode wasm call returned code", 13228 "x-go-field-name": "ReturnCode", 13229 "x-tag-json": "code" 13230 }, 13231 "error": { 13232 "type": "string", 13233 "description": "Error message instance module, presents result for wasm invoking", 13234 "x-go-field-name": "Error", 13235 "x-tag-json": "error,omitempty" 13236 }, 13237 "handler": { 13238 "type": "string", 13239 "description": "Handler invoked wasm entry name", 13240 "x-go-field-name": "Handler", 13241 "x-tag-json": "handler" 13242 }, 13243 "instanceID": { 13244 "allOf": [ 13245 { 13246 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 13247 }, 13248 { 13249 "description": "InstanceID the unique wasm vm id", 13250 "x-go-field-name": "InstanceID", 13251 "x-tag-json": "instanceID" 13252 } 13253 ] 13254 }, 13255 "returnValue": { 13256 "type": "array", 13257 "items": { 13258 "type": "integer", 13259 "format": "uint8" 13260 }, 13261 "description": "ReturnValue wasm call returned value", 13262 "x-go-field-name": "ReturnValue", 13263 "x-tag-json": "returnValue" 13264 } 13265 }, 13266 "required": [ 13267 "appletName", 13268 "instanceID", 13269 "handler", 13270 "returnValue", 13271 "code" 13272 ], 13273 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/event.Result", 13274 "x-id": "GithubComMachinefiW3BstreamPkgModulesEventResult" 13275 }, 13276 "GithubComMachinefiW3BstreamPkgModulesOperatorCreateReq": { 13277 "type": "object", 13278 "properties": { 13279 "name": { 13280 "type": "string", 13281 "x-go-field-name": "Name", 13282 "x-tag-json": "name" 13283 }, 13284 "paymasterKey": { 13285 "type": "string", 13286 "x-go-field-name": "PaymasterKey", 13287 "x-tag-json": "paymasterKey,omitempty" 13288 }, 13289 "privateKey": { 13290 "type": "string", 13291 "x-go-field-name": "PrivateKey", 13292 "x-tag-json": "privateKey" 13293 }, 13294 "type": { 13295 "allOf": [ 13296 { 13297 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsOperatorKeyType" 13298 }, 13299 { 13300 "x-go-field-name": "Type", 13301 "x-tag-json": "type,omitempty,default='1'" 13302 } 13303 ] 13304 } 13305 }, 13306 "required": [ 13307 "name", 13308 "privateKey" 13309 ], 13310 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/operator.CreateReq", 13311 "x-id": "GithubComMachinefiW3BstreamPkgModulesOperatorCreateReq" 13312 }, 13313 "GithubComMachinefiW3BstreamPkgModulesOperatorDetail": { 13314 "allOf": [ 13315 { 13316 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsOperator" 13317 }, 13318 { 13319 "type": "object", 13320 "properties": { 13321 "address": { 13322 "type": "string", 13323 "x-go-field-name": "Address", 13324 "x-tag-json": "address" 13325 } 13326 }, 13327 "required": [ 13328 "address" 13329 ], 13330 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/operator.Detail", 13331 "x-id": "GithubComMachinefiW3BstreamPkgModulesOperatorDetail" 13332 } 13333 ] 13334 }, 13335 "GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp": { 13336 "type": "object", 13337 "properties": { 13338 "data": { 13339 "type": "array", 13340 "items": { 13341 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesOperatorDetail" 13342 }, 13343 "x-go-field-name": "Data", 13344 "x-tag-json": "data" 13345 }, 13346 "total": { 13347 "type": "integer", 13348 "format": "int64", 13349 "x-go-field-name": "Total", 13350 "x-tag-json": "total" 13351 } 13352 }, 13353 "required": [ 13354 "data", 13355 "total" 13356 ], 13357 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/operator.ListDetailRsp", 13358 "x-id": "GithubComMachinefiW3BstreamPkgModulesOperatorListDetailRsp" 13359 }, 13360 "GithubComMachinefiW3BstreamPkgModulesProjectCreateReq": { 13361 "allOf": [ 13362 { 13363 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProjectName" 13364 }, 13365 { 13366 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProjectBase" 13367 }, 13368 { 13369 "type": "object", 13370 "properties": { 13371 "database": { 13372 "allOf": [ 13373 { 13374 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmDatabase" 13375 }, 13376 { 13377 "x-go-field-name": "Database", 13378 "x-go-star-level": 1, 13379 "x-tag-json": "database,omitempty" 13380 } 13381 ] 13382 }, 13383 "envs": { 13384 "allOf": [ 13385 { 13386 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmEnv" 13387 }, 13388 { 13389 "x-go-field-name": "Env", 13390 "x-go-star-level": 1, 13391 "x-tag-json": "envs,omitempty" 13392 } 13393 ] 13394 }, 13395 "flow": { 13396 "allOf": [ 13397 { 13398 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmFlow" 13399 }, 13400 { 13401 "x-go-field-name": "Flow", 13402 "x-go-star-level": 1, 13403 "x-tag-json": "flow,omitempty" 13404 } 13405 ] 13406 } 13407 }, 13408 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/project.CreateReq", 13409 "x-id": "GithubComMachinefiW3BstreamPkgModulesProjectCreateReq" 13410 } 13411 ] 13412 }, 13413 "GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp": { 13414 "allOf": [ 13415 { 13416 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProject" 13417 }, 13418 { 13419 "type": "object", 13420 "properties": { 13421 "channelState": { 13422 "allOf": [ 13423 { 13424 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesBool" 13425 }, 13426 { 13427 "x-go-field-name": "ChannelState", 13428 "x-tag-json": "channelState" 13429 } 13430 ] 13431 }, 13432 "database": { 13433 "allOf": [ 13434 { 13435 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmDatabase" 13436 }, 13437 { 13438 "x-go-field-name": "Database", 13439 "x-go-star-level": 1, 13440 "x-tag-json": "database,omitempty" 13441 } 13442 ] 13443 }, 13444 "envs": { 13445 "allOf": [ 13446 { 13447 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmEnv" 13448 }, 13449 { 13450 "x-go-field-name": "Env", 13451 "x-go-star-level": 1, 13452 "x-tag-json": "envs,omitempty" 13453 } 13454 ] 13455 }, 13456 "flow": { 13457 "allOf": [ 13458 { 13459 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmFlow" 13460 }, 13461 { 13462 "x-go-field-name": "Flow", 13463 "x-go-star-level": 1, 13464 "x-tag-json": "flow,omitempty" 13465 } 13466 ] 13467 } 13468 }, 13469 "required": [ 13470 "channelState" 13471 ], 13472 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/project.CreateRsp", 13473 "x-id": "GithubComMachinefiW3BstreamPkgModulesProjectCreateRsp" 13474 } 13475 ] 13476 }, 13477 "GithubComMachinefiW3BstreamPkgModulesProjectDetail": { 13478 "type": "object", 13479 "properties": { 13480 "applets": { 13481 "type": "array", 13482 "items": { 13483 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesAppletDetail" 13484 }, 13485 "x-go-field-name": "Applets", 13486 "x-tag-json": "applets,omitempty" 13487 }, 13488 "projectID": { 13489 "allOf": [ 13490 { 13491 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesSFID" 13492 }, 13493 { 13494 "x-go-field-name": "ProjectID", 13495 "x-tag-json": "projectID" 13496 } 13497 ] 13498 }, 13499 "projectName": { 13500 "type": "string", 13501 "x-go-field-name": "ProjectName", 13502 "x-tag-json": "projectName" 13503 } 13504 }, 13505 "required": [ 13506 "projectID", 13507 "projectName" 13508 ], 13509 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/project.Detail", 13510 "x-id": "GithubComMachinefiW3BstreamPkgModulesProjectDetail" 13511 }, 13512 "GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp": { 13513 "type": "object", 13514 "properties": { 13515 "data": { 13516 "type": "array", 13517 "items": { 13518 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesProjectDetail" 13519 }, 13520 "x-go-field-name": "Data", 13521 "x-tag-json": "data" 13522 }, 13523 "total": { 13524 "type": "integer", 13525 "format": "int64", 13526 "x-go-field-name": "Total", 13527 "x-tag-json": "total" 13528 } 13529 }, 13530 "required": [ 13531 "data", 13532 "total" 13533 ], 13534 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/project.ListDetailRsp", 13535 "x-id": "GithubComMachinefiW3BstreamPkgModulesProjectListDetailRsp" 13536 }, 13537 "GithubComMachinefiW3BstreamPkgModulesProjectListRsp": { 13538 "type": "object", 13539 "properties": { 13540 "data": { 13541 "type": "array", 13542 "items": { 13543 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsProject" 13544 }, 13545 "x-go-field-name": "Data", 13546 "x-tag-json": "data" 13547 }, 13548 "total": { 13549 "type": "integer", 13550 "format": "int64", 13551 "x-go-field-name": "Total", 13552 "x-tag-json": "total" 13553 } 13554 }, 13555 "required": [ 13556 "data", 13557 "total" 13558 ], 13559 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/project.ListRsp", 13560 "x-id": "GithubComMachinefiW3BstreamPkgModulesProjectListRsp" 13561 }, 13562 "GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq": { 13563 "type": "object", 13564 "properties": { 13565 "key": { 13566 "type": "string", 13567 "x-go-field-name": "Key", 13568 "x-tag-json": "key" 13569 }, 13570 "name": { 13571 "type": "string", 13572 "x-go-field-name": "Name", 13573 "x-tag-json": "name" 13574 } 13575 }, 13576 "required": [ 13577 "name", 13578 "key" 13579 ], 13580 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/publisher.CreateReq", 13581 "x-id": "GithubComMachinefiW3BstreamPkgModulesPublisherCreateReq" 13582 }, 13583 "GithubComMachinefiW3BstreamPkgModulesPublisherListRsp": { 13584 "type": "object", 13585 "properties": { 13586 "data": { 13587 "type": "array", 13588 "items": { 13589 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsPublisher" 13590 }, 13591 "x-go-field-name": "Data", 13592 "x-tag-json": "data" 13593 }, 13594 "total": { 13595 "type": "integer", 13596 "format": "int64", 13597 "x-go-field-name": "Total", 13598 "x-tag-json": "total" 13599 } 13600 }, 13601 "required": [ 13602 "data", 13603 "total" 13604 ], 13605 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/publisher.ListRsp", 13606 "x-id": "GithubComMachinefiW3BstreamPkgModulesPublisherListRsp" 13607 }, 13608 "GithubComMachinefiW3BstreamPkgModulesPublisherUpdateReq": { 13609 "type": "object", 13610 "properties": { 13611 "key": { 13612 "type": "string", 13613 "x-go-field-name": "Key", 13614 "x-tag-json": "key" 13615 }, 13616 "name": { 13617 "type": "string", 13618 "x-go-field-name": "Name", 13619 "x-tag-json": "name" 13620 } 13621 }, 13622 "required": [ 13623 "name", 13624 "key" 13625 ], 13626 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/publisher.UpdateReq", 13627 "x-id": "GithubComMachinefiW3BstreamPkgModulesPublisherUpdateReq" 13628 }, 13629 "GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp": { 13630 "type": "object", 13631 "properties": { 13632 "fileName": { 13633 "type": "string", 13634 "x-go-field-name": "FileName", 13635 "x-tag-json": "fileName" 13636 }, 13637 "url": { 13638 "type": "string", 13639 "x-go-field-name": "Url", 13640 "x-tag-json": "url" 13641 } 13642 }, 13643 "required": [ 13644 "fileName", 13645 "url" 13646 ], 13647 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/resource.DownLoadResourceRsp", 13648 "x-id": "GithubComMachinefiW3BstreamPkgModulesResourceDownLoadResourceRsp" 13649 }, 13650 "GithubComMachinefiW3BstreamPkgModulesResourceListRsp": { 13651 "type": "object", 13652 "properties": { 13653 "data": { 13654 "type": "array", 13655 "items": { 13656 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModulesResourceResourceInfo" 13657 }, 13658 "x-go-field-name": "Data", 13659 "x-tag-json": "data" 13660 }, 13661 "total": { 13662 "type": "integer", 13663 "format": "int64", 13664 "x-go-field-name": "Total", 13665 "x-tag-json": "total" 13666 } 13667 }, 13668 "required": [ 13669 "data", 13670 "total" 13671 ], 13672 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/resource.ListRsp", 13673 "x-id": "GithubComMachinefiW3BstreamPkgModulesResourceListRsp" 13674 }, 13675 "GithubComMachinefiW3BstreamPkgModulesResourceResourceInfo": { 13676 "allOf": [ 13677 { 13678 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelResource" 13679 }, 13680 { 13681 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsResourceInfo" 13682 }, 13683 { 13684 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsResourceOwnerInfo" 13685 }, 13686 { 13687 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsKitSqlxDatatypesOperationTimes" 13688 }, 13689 { 13690 "type": "object", 13691 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/resource.ResourceInfo", 13692 "x-id": "GithubComMachinefiW3BstreamPkgModulesResourceResourceInfo" 13693 } 13694 ] 13695 }, 13696 "GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq": { 13697 "allOf": [ 13698 { 13699 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsRelApplet" 13700 }, 13701 { 13702 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategyInfo" 13703 }, 13704 { 13705 "type": "object", 13706 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/strategy.CreateReq", 13707 "x-id": "GithubComMachinefiW3BstreamPkgModulesStrategyCreateReq" 13708 } 13709 ] 13710 }, 13711 "GithubComMachinefiW3BstreamPkgModulesStrategyListRsp": { 13712 "type": "object", 13713 "properties": { 13714 "data": { 13715 "type": "array", 13716 "items": { 13717 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsStrategy" 13718 }, 13719 "x-go-field-name": "Data", 13720 "x-tag-json": "data" 13721 }, 13722 "total": { 13723 "type": "integer", 13724 "format": "int64", 13725 "x-go-field-name": "Total", 13726 "x-tag-json": "total" 13727 } 13728 }, 13729 "required": [ 13730 "data", 13731 "total" 13732 ], 13733 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/strategy.ListRsp", 13734 "x-id": "GithubComMachinefiW3BstreamPkgModulesStrategyListRsp" 13735 }, 13736 "GithubComMachinefiW3BstreamPkgModulesTrafficlimitCreateReq": { 13737 "type": "object", 13738 "properties": { 13739 "apiType": { 13740 "allOf": [ 13741 { 13742 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsTrafficLimitType" 13743 }, 13744 { 13745 "x-go-field-name": "ApiType", 13746 "x-tag-json": "apiType" 13747 } 13748 ] 13749 }, 13750 "duration": { 13751 "allOf": [ 13752 { 13753 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesDuration" 13754 }, 13755 { 13756 "x-go-field-name": "Duration", 13757 "x-tag-json": "duration" 13758 } 13759 ] 13760 }, 13761 "threshold": { 13762 "type": "integer", 13763 "format": "int32", 13764 "x-go-field-name": "Threshold", 13765 "x-tag-json": "threshold" 13766 } 13767 }, 13768 "required": [ 13769 "threshold", 13770 "duration", 13771 "apiType" 13772 ], 13773 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/trafficlimit.CreateReq", 13774 "x-id": "GithubComMachinefiW3BstreamPkgModulesTrafficlimitCreateReq" 13775 }, 13776 "GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp": { 13777 "type": "object", 13778 "properties": { 13779 "data": { 13780 "type": "array", 13781 "items": { 13782 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgModelsTrafficLimit" 13783 }, 13784 "x-go-field-name": "Data", 13785 "x-tag-json": "data" 13786 }, 13787 "total": { 13788 "type": "integer", 13789 "format": "int64", 13790 "x-go-field-name": "Total", 13791 "x-tag-json": "total" 13792 } 13793 }, 13794 "required": [ 13795 "data", 13796 "total" 13797 ], 13798 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/trafficlimit.ListRsp", 13799 "x-id": "GithubComMachinefiW3BstreamPkgModulesTrafficlimitListRsp" 13800 }, 13801 "GithubComMachinefiW3BstreamPkgModulesTrafficlimitUpdateReq": { 13802 "type": "object", 13803 "properties": { 13804 "duration": { 13805 "allOf": [ 13806 { 13807 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgDependsBaseTypesDuration" 13808 }, 13809 { 13810 "x-go-field-name": "Duration", 13811 "x-tag-json": "duration" 13812 } 13813 ] 13814 }, 13815 "threshold": { 13816 "type": "integer", 13817 "format": "int32", 13818 "x-go-field-name": "Threshold", 13819 "x-tag-json": "threshold" 13820 } 13821 }, 13822 "required": [ 13823 "threshold", 13824 "duration" 13825 ], 13826 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/modules/trafficlimit.UpdateReq", 13827 "x-id": "GithubComMachinefiW3BstreamPkgModulesTrafficlimitUpdateReq" 13828 }, 13829 "GithubComMachinefiW3BstreamPkgTypesWasmCBInfo": { 13830 "type": "object", 13831 "properties": { 13832 "chainID": { 13833 "type": "integer", 13834 "format": "int32", 13835 "x-go-field-name": "ChainID", 13836 "x-tag-json": "chainID,omitempty" 13837 } 13838 }, 13839 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.CBInfo", 13840 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmCBInfo" 13841 }, 13842 "GithubComMachinefiW3BstreamPkgTypesWasmCache": { 13843 "type": "object", 13844 "properties": { 13845 "mode": { 13846 "allOf": [ 13847 { 13848 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsCacheMode" 13849 }, 13850 { 13851 "x-go-field-name": "Mode", 13852 "x-tag-json": "mode" 13853 } 13854 ] 13855 } 13856 }, 13857 "required": [ 13858 "mode" 13859 ], 13860 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Cache", 13861 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmCache" 13862 }, 13863 "GithubComMachinefiW3BstreamPkgTypesWasmColumn": { 13864 "type": "object", 13865 "properties": { 13866 "constrains": { 13867 "allOf": [ 13868 { 13869 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmConstrains" 13870 }, 13871 { 13872 "description": "Constrains column constrains", 13873 "x-go-field-name": "Constrains", 13874 "x-tag-json": "constrains" 13875 } 13876 ] 13877 }, 13878 "name": { 13879 "type": "string", 13880 "description": "Name column name", 13881 "x-go-field-name": "Name", 13882 "x-tag-json": "name" 13883 } 13884 }, 13885 "required": [ 13886 "name", 13887 "constrains" 13888 ], 13889 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Column", 13890 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmColumn" 13891 }, 13892 "GithubComMachinefiW3BstreamPkgTypesWasmConstrains": { 13893 "type": "object", 13894 "properties": { 13895 "autoincrement": { 13896 "type": "boolean", 13897 "x-go-field-name": "AutoIncrement", 13898 "x-tag-json": "autoincrement,omitempty" 13899 }, 13900 "datatype": { 13901 "allOf": [ 13902 { 13903 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsWasmDBDatatype" 13904 }, 13905 { 13906 "x-go-field-name": "Datatype", 13907 "x-tag-json": "datatype" 13908 } 13909 ] 13910 }, 13911 "decimal": { 13912 "type": "integer", 13913 "format": "uint64", 13914 "x-go-field-name": "Decimal", 13915 "x-tag-json": "decimal,omitempty" 13916 }, 13917 "default": { 13918 "type": "string", 13919 "x-go-field-name": "Default", 13920 "x-go-star-level": 1, 13921 "x-tag-json": "default,omitempty" 13922 }, 13923 "desc": { 13924 "type": "string", 13925 "x-go-field-name": "Desc", 13926 "x-tag-json": "desc,omitempty" 13927 }, 13928 "length": { 13929 "type": "integer", 13930 "format": "uint64", 13931 "x-go-field-name": "Length", 13932 "x-tag-json": "length,omitempty" 13933 }, 13934 "null": { 13935 "type": "boolean", 13936 "x-go-field-name": "Null", 13937 "x-tag-json": "null,omitempty" 13938 } 13939 }, 13940 "required": [ 13941 "datatype" 13942 ], 13943 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Constrains", 13944 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmConstrains" 13945 }, 13946 "GithubComMachinefiW3BstreamPkgTypesWasmDBInfo": { 13947 "type": "object", 13948 "properties": { 13949 "DBType": { 13950 "type": "string", 13951 "x-go-field-name": "DBType", 13952 "x-tag-json": "DBType,omitempty" 13953 }, 13954 "columns": { 13955 "type": "array", 13956 "items": { 13957 "type": "string" 13958 }, 13959 "x-go-field-name": "Columns", 13960 "x-tag-json": "columns,omitempty" 13961 }, 13962 "endpoint": { 13963 "type": "string", 13964 "x-go-field-name": "Endpoint", 13965 "x-tag-json": "endpoint,omitempty" 13966 }, 13967 "table": { 13968 "type": "string", 13969 "x-go-field-name": "Table", 13970 "x-tag-json": "table,omitempty" 13971 } 13972 }, 13973 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.DBInfo", 13974 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmDBInfo" 13975 }, 13976 "GithubComMachinefiW3BstreamPkgTypesWasmDatabase": { 13977 "type": "object", 13978 "properties": { 13979 "dialect": { 13980 "allOf": [ 13981 { 13982 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsWasmDBDialect" 13983 }, 13984 { 13985 "description": "Dialect database dialect, support postgres only now", 13986 "x-go-field-name": "Dialect", 13987 "x-tag-json": "dialect,omitempty,default=''" 13988 } 13989 ] 13990 }, 13991 "schemas": { 13992 "type": "array", 13993 "items": { 13994 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmSchema" 13995 }, 13996 "description": "Schemas schema list", 13997 "x-go-field-name": "Schemas", 13998 "x-tag-json": "schemas,omitempty" 13999 } 14000 }, 14001 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Database", 14002 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmDatabase" 14003 }, 14004 "GithubComMachinefiW3BstreamPkgTypesWasmEnv": { 14005 "type": "object", 14006 "properties": { 14007 "env": { 14008 "type": "array", 14009 "items": { 14010 "type": "array", 14011 "items": { 14012 "type": "string" 14013 }, 14014 "maxItems": 2, 14015 "minItems": 2 14016 }, 14017 "x-go-field-name": "Env", 14018 "x-tag-json": "env" 14019 } 14020 }, 14021 "required": [ 14022 "env" 14023 ], 14024 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Env", 14025 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmEnv" 14026 }, 14027 "GithubComMachinefiW3BstreamPkgTypesWasmFlow": { 14028 "type": "object", 14029 "properties": { 14030 "operators": { 14031 "type": "array", 14032 "items": { 14033 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmOperator" 14034 }, 14035 "x-go-field-name": "Operators", 14036 "x-tag-json": "operators" 14037 }, 14038 "sink": { 14039 "allOf": [ 14040 { 14041 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmSink" 14042 }, 14043 { 14044 "x-go-field-name": "Sink", 14045 "x-tag-json": "sink" 14046 } 14047 ] 14048 }, 14049 "source": { 14050 "allOf": [ 14051 { 14052 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmSource" 14053 }, 14054 { 14055 "x-go-field-name": "Source", 14056 "x-tag-json": "source" 14057 } 14058 ] 14059 } 14060 }, 14061 "required": [ 14062 "source", 14063 "operators", 14064 "sink" 14065 ], 14066 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Flow", 14067 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmFlow" 14068 }, 14069 "GithubComMachinefiW3BstreamPkgTypesWasmKey": { 14070 "type": "object", 14071 "properties": { 14072 "columnNames": { 14073 "type": "array", 14074 "items": { 14075 "type": "string" 14076 }, 14077 "x-go-field-name": "ColumnNames", 14078 "x-tag-json": "columnNames" 14079 }, 14080 "expr": { 14081 "type": "string", 14082 "x-go-field-name": "Expr", 14083 "x-tag-json": "expr,omitempty" 14084 }, 14085 "isUnique": { 14086 "type": "boolean", 14087 "x-go-field-name": "IsUnique", 14088 "x-tag-json": "isUnique,omitempty" 14089 }, 14090 "method": { 14091 "type": "string", 14092 "x-go-field-name": "Method", 14093 "x-tag-json": "method,omitempty" 14094 }, 14095 "name": { 14096 "type": "string", 14097 "x-go-field-name": "Name", 14098 "x-tag-json": "name,omitempty" 14099 } 14100 }, 14101 "required": [ 14102 "columnNames" 14103 ], 14104 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Key", 14105 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmKey" 14106 }, 14107 "GithubComMachinefiW3BstreamPkgTypesWasmOperator": { 14108 "type": "object", 14109 "properties": { 14110 "opType": { 14111 "allOf": [ 14112 { 14113 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsFlowOperator" 14114 }, 14115 { 14116 "x-go-field-name": "OpType", 14117 "x-tag-json": "opType" 14118 } 14119 ] 14120 }, 14121 "parallel": { 14122 "type": "integer", 14123 "format": "int32", 14124 "x-go-field-name": "Parallel", 14125 "x-tag-json": "parallel,omitempty" 14126 }, 14127 "wasmFunc": { 14128 "type": "string", 14129 "x-go-field-name": "WasmFunc", 14130 "x-tag-json": "wasmFunc,omitempty" 14131 } 14132 }, 14133 "required": [ 14134 "opType" 14135 ], 14136 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Operator", 14137 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmOperator" 14138 }, 14139 "GithubComMachinefiW3BstreamPkgTypesWasmSchema": { 14140 "type": "object", 14141 "properties": { 14142 "schema": { 14143 "type": "string", 14144 "description": "Name: schema name, use postgres driver, default schema is `public`", 14145 "x-go-field-name": "Name", 14146 "x-tag-json": "schema,omitempty,default='public'" 14147 }, 14148 "tables": { 14149 "type": "array", 14150 "items": { 14151 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmTable" 14152 }, 14153 "description": "Tables: tables define", 14154 "x-go-field-name": "Tables", 14155 "x-tag-json": "tables,omitempty" 14156 } 14157 }, 14158 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Schema", 14159 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmSchema" 14160 }, 14161 "GithubComMachinefiW3BstreamPkgTypesWasmSink": { 14162 "type": "object", 14163 "properties": { 14164 "sinkInfo": { 14165 "allOf": [ 14166 { 14167 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmSinkInfo" 14168 }, 14169 { 14170 "x-go-field-name": "SinkInfo", 14171 "x-tag-json": "sinkInfo" 14172 } 14173 ] 14174 }, 14175 "sinkType": { 14176 "allOf": [ 14177 { 14178 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgEnumsFlowSink" 14179 }, 14180 { 14181 "x-go-field-name": "SinkType", 14182 "x-tag-json": "sinkType" 14183 } 14184 ] 14185 } 14186 }, 14187 "required": [ 14188 "sinkType", 14189 "sinkInfo" 14190 ], 14191 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Sink", 14192 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmSink" 14193 }, 14194 "GithubComMachinefiW3BstreamPkgTypesWasmSinkInfo": { 14195 "type": "object", 14196 "properties": { 14197 "DBInfo": { 14198 "allOf": [ 14199 { 14200 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmDBInfo" 14201 }, 14202 { 14203 "x-go-field-name": "DBInfo", 14204 "x-tag-json": "DBInfo,omitempty" 14205 } 14206 ] 14207 }, 14208 "chainBlock": { 14209 "allOf": [ 14210 { 14211 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmCBInfo" 14212 }, 14213 { 14214 "x-go-field-name": "ChainBlock", 14215 "x-tag-json": "chainBlock,omitempty" 14216 } 14217 ] 14218 } 14219 }, 14220 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.SinkInfo", 14221 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmSinkInfo" 14222 }, 14223 "GithubComMachinefiW3BstreamPkgTypesWasmSource": { 14224 "type": "object", 14225 "properties": { 14226 "strategies": { 14227 "type": "array", 14228 "items": { 14229 "type": "string" 14230 }, 14231 "x-go-field-name": "Strategies", 14232 "x-tag-json": "strategies" 14233 } 14234 }, 14235 "required": [ 14236 "strategies" 14237 ], 14238 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Source", 14239 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmSource" 14240 }, 14241 "GithubComMachinefiW3BstreamPkgTypesWasmTable": { 14242 "type": "object", 14243 "properties": { 14244 "cols": { 14245 "type": "array", 14246 "items": { 14247 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmColumn" 14248 }, 14249 "description": "Cols table column define", 14250 "x-go-field-name": "Cols", 14251 "x-tag-json": "cols" 14252 }, 14253 "desc": { 14254 "type": "string", 14255 "description": "Desc table description", 14256 "x-go-field-name": "Desc", 14257 "x-tag-json": "desc,omitempty" 14258 }, 14259 "keys": { 14260 "type": "array", 14261 "items": { 14262 "$ref": "#/components/schemas/GithubComMachinefiW3BstreamPkgTypesWasmKey" 14263 }, 14264 "description": "Keys table index or primary define", 14265 "x-go-field-name": "Keys", 14266 "x-tag-json": "keys" 14267 }, 14268 "name": { 14269 "type": "string", 14270 "description": "Name table name", 14271 "x-go-field-name": "Name", 14272 "x-tag-json": "name" 14273 } 14274 }, 14275 "required": [ 14276 "name", 14277 "cols", 14278 "keys" 14279 ], 14280 "x-go-vendor-type": "github.com/machinefi/w3bstream/pkg/types/wasm.Table", 14281 "x-id": "GithubComMachinefiW3BstreamPkgTypesWasmTable" 14282 }, 14283 "ProjectProvider": { 14284 "type": "object", 14285 "properties": { 14286 "projectName": { 14287 "type": "string", 14288 "format": "projectName", 14289 "x-go-field-name": "ProjectName", 14290 "x-tag-name": "projectName", 14291 "x-tag-validate": "@projectName" 14292 } 14293 }, 14294 "required": [ 14295 "projectName" 14296 ], 14297 "description": "ProjectProvider with account id prefix", 14298 "x-id": "ProjectProvider" 14299 } 14300 } 14301 } 14302 }