github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/2306/fixture-2306.json (about) 1 { 2 "basePath": "/", 3 "externalDocs": { 4 "description": "Find out more info at the Cloudsmith Help Website", 5 "url": "https://help.cloudsmith.io" 6 }, 7 "host": "api.cloudsmith.io", 8 "info": { 9 "contact": { 10 "email": "support@cloudsmith.io", 11 "name": "Cloudsmith Support", 12 "url": "https://help.cloudsmith.io" 13 }, 14 "description": "The API to the Cloudsmith Service", 15 "license": { 16 "name": "MIT", 17 "url": "https://opensource.org/licenses/MIT" 18 }, 19 "termsOfService": "https://help.cloudsmith.io/docs/terms-and-conditions", 20 "title": "Cloudsmith API", 21 "version": "v1" 22 }, 23 "paths": { 24 "/badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/": { 25 "get": { 26 "description": "Get latest package version for a package or package group.", 27 "operationId": "badges_version_list", 28 "parameters": [ 29 { 30 "description": "", 31 "in": "path", 32 "name": "owner", 33 "required": true, 34 "type": "string" 35 }, 36 { 37 "description": "", 38 "in": "path", 39 "name": "repo", 40 "required": true, 41 "type": "string" 42 }, 43 { 44 "description": "", 45 "in": "path", 46 "name": "package_format", 47 "required": true, 48 "type": "string" 49 }, 50 { 51 "description": "", 52 "in": "path", 53 "name": "package_name", 54 "required": true, 55 "type": "string" 56 }, 57 { 58 "description": "", 59 "in": "path", 60 "name": "package_version", 61 "required": true, 62 "type": "string" 63 }, 64 { 65 "description": "", 66 "in": "path", 67 "name": "package_identifiers", 68 "required": true, 69 "type": "string" 70 }, 71 { 72 "description": "Badge token to authenticate for private packages", 73 "in": "query", 74 "name": "badge_token", 75 "required": false, 76 "type": "string" 77 }, 78 { 79 "description": "If true, badge will be rendered", 80 "in": "query", 81 "name": "render", 82 "required": false, 83 "type": "boolean" 84 } 85 ], 86 "responses": { 87 "200": { 88 "description": "OK", 89 "schema": {} 90 }, 91 "400": { 92 "description": "Request could not be processed (see detail)", 93 "schema": { 94 "properties": { 95 "detail": { 96 "description": "An extended message for the response.", 97 "type": "string" 98 } 99 }, 100 "required": [ 101 "detail" 102 ], 103 "title": "Status", 104 "type": "object" 105 } 106 }, 107 "422": { 108 "description": "Missing or invalid parameters (see detail)", 109 "schema": { 110 "properties": { 111 "detail": { 112 "description": "An extended message for the response.", 113 "type": "string" 114 } 115 }, 116 "required": [ 117 "detail" 118 ], 119 "title": "Status", 120 "type": "object" 121 } 122 } 123 }, 124 "security": [ 125 { 126 "token": [] 127 }, 128 { 129 "apikey": [] 130 }, 131 { 132 "csrf_token": [] 133 } 134 ], 135 "summary": "Get latest package version for a package or package group.", 136 "tags": [ 137 "badges" 138 ] 139 } 140 }, 141 "/distros/": { 142 "get": { 143 "description": "Get a list of all supported distributions.", 144 "operationId": "distros_list", 145 "parameters": [], 146 "responses": { 147 "200": { 148 "description": "Available package formats retrieved", 149 "schema": { 150 "items": { 151 "properties": { 152 "format": { 153 "description": "", 154 "type": "string" 155 }, 156 "format_url": { 157 "description": "", 158 "type": "string" 159 }, 160 "name": { 161 "description": "", 162 "type": "string" 163 }, 164 "self_url": { 165 "description": "", 166 "type": "string" 167 }, 168 "slug": { 169 "description": "The slug identifier for this distribution", 170 "type": "string" 171 }, 172 "variants": { 173 "description": "", 174 "type": "string" 175 }, 176 "versions": { 177 "description": "A list of the versions for this distribution", 178 "items": { 179 "properties": { 180 "name": { 181 "description": "The textual name for this version.", 182 "type": "string" 183 }, 184 "slug": { 185 "description": "The slug identifier for this version", 186 "type": "string" 187 } 188 }, 189 "type": "object" 190 }, 191 "title": "VersionsList", 192 "type": "array" 193 } 194 }, 195 "required": [ 196 "name" 197 ], 198 "title": "Distribution", 199 "type": "object" 200 }, 201 "title": "DistributionList", 202 "type": "array" 203 } 204 }, 205 "400": { 206 "description": "Request could not be processed (see detail)", 207 "schema": { 208 "properties": { 209 "detail": { 210 "description": "An extended message for the response.", 211 "type": "string" 212 } 213 }, 214 "required": [ 215 "detail" 216 ], 217 "title": "Status", 218 "type": "object" 219 } 220 }, 221 "422": { 222 "description": "Missing or invalid parameters (see detail)", 223 "schema": { 224 "properties": { 225 "detail": { 226 "description": "An extended message for the response.", 227 "type": "string" 228 } 229 }, 230 "required": [ 231 "detail" 232 ], 233 "title": "Status", 234 "type": "object" 235 } 236 } 237 }, 238 "security": [ 239 { 240 "token": [] 241 }, 242 { 243 "apikey": [] 244 }, 245 { 246 "csrf_token": [] 247 } 248 ], 249 "summary": "Get a list of all supported distributions.", 250 "tags": [ 251 "distros" 252 ] 253 } 254 }, 255 "/distros/{slug}/": { 256 "get": { 257 "description": "View for viewing/listing distributions.", 258 "operationId": "distros_read", 259 "parameters": [ 260 { 261 "description": "", 262 "in": "path", 263 "name": "slug", 264 "required": true, 265 "type": "string" 266 } 267 ], 268 "responses": { 269 "200": { 270 "description": "OK", 271 "schema": { 272 "properties": { 273 "format": { 274 "description": "", 275 "type": "string" 276 }, 277 "format_url": { 278 "description": "", 279 "type": "string" 280 }, 281 "name": { 282 "description": "", 283 "type": "string" 284 }, 285 "self_url": { 286 "description": "", 287 "type": "string" 288 }, 289 "slug": { 290 "description": "The slug identifier for this distribution", 291 "type": "string" 292 }, 293 "variants": { 294 "description": "", 295 "type": "string" 296 }, 297 "versions": { 298 "description": "A list of the versions for this distribution", 299 "items": { 300 "properties": { 301 "name": { 302 "description": "The textual name for this version.", 303 "type": "string" 304 }, 305 "slug": { 306 "description": "The slug identifier for this version", 307 "type": "string" 308 } 309 }, 310 "type": "object" 311 }, 312 "title": "VersionsList", 313 "type": "array" 314 } 315 }, 316 "required": [ 317 "name" 318 ], 319 "title": "Distribution", 320 "type": "object" 321 } 322 }, 323 "400": { 324 "description": "Request could not be processed (see detail)", 325 "schema": { 326 "properties": { 327 "detail": { 328 "description": "An extended message for the response.", 329 "type": "string" 330 } 331 }, 332 "required": [ 333 "detail" 334 ], 335 "title": "Status", 336 "type": "object" 337 } 338 }, 339 "422": { 340 "description": "Missing or invalid parameters (see detail)", 341 "schema": { 342 "properties": { 343 "detail": { 344 "description": "An extended message for the response.", 345 "type": "string" 346 } 347 }, 348 "required": [ 349 "detail" 350 ], 351 "title": "Status", 352 "type": "object" 353 } 354 } 355 }, 356 "security": [ 357 { 358 "token": [] 359 }, 360 { 361 "apikey": [] 362 }, 363 { 364 "csrf_token": [] 365 } 366 ], 367 "summary": "View for viewing/listing distributions.", 368 "tags": [ 369 "distros" 370 ] 371 } 372 }, 373 "/entitlements/{owner}/{repo}/": { 374 "get": { 375 "description": "Get a list of all entitlements in a repository.", 376 "operationId": "entitlements_list", 377 "parameters": [ 378 { 379 "description": "", 380 "in": "path", 381 "name": "owner", 382 "required": true, 383 "type": "string" 384 }, 385 { 386 "description": "", 387 "in": "path", 388 "name": "repo", 389 "required": true, 390 "type": "string" 391 }, 392 { 393 "description": "A page number within the paginated result set.", 394 "in": "query", 395 "name": "page", 396 "required": false, 397 "type": "integer" 398 }, 399 { 400 "description": "Number of results to return per page.", 401 "in": "query", 402 "name": "page_size", 403 "required": false, 404 "type": "integer" 405 }, 406 { 407 "description": "Show entitlement token strings in results", 408 "in": "query", 409 "name": "show_tokens", 410 "required": false, 411 "type": "boolean" 412 } 413 ], 414 "responses": { 415 "200": { 416 "description": "Retrieved the list of entitlement tokens", 417 "schema": { 418 "items": { 419 "properties": { 420 "created_at": { 421 "description": "The datetime the token was updated at.", 422 "type": "string" 423 }, 424 "created_by": { 425 "description": "", 426 "type": "string" 427 }, 428 "created_by_url": { 429 "description": "", 430 "type": "string" 431 }, 432 "default": { 433 "description": "If selected this is the default token for this repository.", 434 "type": "boolean" 435 }, 436 "has_limits": { 437 "description": "", 438 "type": "boolean" 439 }, 440 "identifier": { 441 "description": "", 442 "type": "integer" 443 }, 444 "is_active": { 445 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 446 "type": "boolean" 447 }, 448 "is_limited": { 449 "description": "", 450 "type": "boolean" 451 }, 452 "limit_date_range_from": { 453 "description": "The starting date/time the token is allowed to be used from.", 454 "type": "string" 455 }, 456 "limit_date_range_to": { 457 "description": "The ending date/time the token is allowed to be used until.", 458 "type": "string" 459 }, 460 "limit_num_clients": { 461 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 462 "type": "integer" 463 }, 464 "limit_num_downloads": { 465 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 466 "type": "integer" 467 }, 468 "limit_package_query": { 469 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 470 "type": "string" 471 }, 472 "limit_path_query": { 473 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 474 "type": "string" 475 }, 476 "metadata": { 477 "description": "", 478 "type": "object" 479 }, 480 "name": { 481 "description": "", 482 "type": "string" 483 }, 484 "refresh_url": { 485 "description": "", 486 "type": "string" 487 }, 488 "self_url": { 489 "description": "", 490 "type": "string" 491 }, 492 "slug_perm": { 493 "description": "", 494 "type": "string" 495 }, 496 "token": { 497 "description": "", 498 "type": "string" 499 }, 500 "updated_at": { 501 "description": "The datetime the token was updated at.", 502 "type": "string" 503 }, 504 "updated_by": { 505 "description": "", 506 "type": "string" 507 }, 508 "updated_by_url": { 509 "description": "", 510 "type": "string" 511 }, 512 "user": { 513 "description": "", 514 "type": "string" 515 }, 516 "user_url": { 517 "description": "", 518 "type": "string" 519 } 520 }, 521 "required": [ 522 "name" 523 ], 524 "title": "RepositoryToken", 525 "type": "object" 526 }, 527 "title": "RepositoryTokenList", 528 "type": "array" 529 } 530 }, 531 "400": { 532 "description": "Request could not be processed (see detail)", 533 "schema": { 534 "properties": { 535 "detail": { 536 "description": "An extended message for the response.", 537 "type": "string" 538 } 539 }, 540 "required": [ 541 "detail" 542 ], 543 "title": "Status", 544 "type": "object" 545 } 546 }, 547 "404": { 548 "description": "Owner namespace or repository not found", 549 "schema": { 550 "properties": { 551 "detail": { 552 "description": "An extended message for the response.", 553 "type": "string" 554 } 555 }, 556 "required": [ 557 "detail" 558 ], 559 "title": "Status", 560 "type": "object" 561 } 562 }, 563 "422": { 564 "description": "Missing or invalid parameters (see detail)", 565 "schema": { 566 "properties": { 567 "detail": { 568 "description": "An extended message for the response.", 569 "type": "string" 570 } 571 }, 572 "required": [ 573 "detail" 574 ], 575 "title": "Status", 576 "type": "object" 577 } 578 } 579 }, 580 "security": [ 581 { 582 "token": [] 583 }, 584 { 585 "apikey": [] 586 }, 587 { 588 "csrf_token": [] 589 } 590 ], 591 "summary": "Get a list of all entitlements in a repository.", 592 "tags": [ 593 "entitlements" 594 ] 595 }, 596 "post": { 597 "consumes": [ 598 "application/json" 599 ], 600 "description": "Create a specific entitlement in a repository.", 601 "operationId": "entitlements_create", 602 "parameters": [ 603 { 604 "description": "", 605 "in": "path", 606 "name": "owner", 607 "required": true, 608 "type": "string" 609 }, 610 { 611 "description": "", 612 "in": "path", 613 "name": "repo", 614 "required": true, 615 "type": "string" 616 }, 617 { 618 "description": "Show entitlement token strings in results", 619 "in": "query", 620 "name": "show_tokens", 621 "required": false, 622 "type": "boolean" 623 }, 624 { 625 "in": "body", 626 "name": "data", 627 "schema": { 628 "properties": { 629 "is_active": { 630 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 631 "type": "boolean" 632 }, 633 "limit_date_range_from": { 634 "description": "The starting date/time the token is allowed to be used from.", 635 "type": "string" 636 }, 637 "limit_date_range_to": { 638 "description": "The ending date/time the token is allowed to be used until.", 639 "type": "string" 640 }, 641 "limit_num_clients": { 642 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 643 "type": "integer" 644 }, 645 "limit_num_downloads": { 646 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 647 "type": "integer" 648 }, 649 "limit_package_query": { 650 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 651 "type": "string" 652 }, 653 "limit_path_query": { 654 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 655 "type": "string" 656 }, 657 "metadata": { 658 "description": "None", 659 "type": "object" 660 }, 661 "name": { 662 "description": "None", 663 "type": "string" 664 }, 665 "token": { 666 "description": "None", 667 "type": "string" 668 } 669 }, 670 "required": [ 671 "name" 672 ], 673 "title": "EntitlementsCreate", 674 "type": "object" 675 } 676 } 677 ], 678 "responses": { 679 "200": { 680 "description": "Created the specified entitlement", 681 "schema": { 682 "properties": { 683 "created_at": { 684 "description": "The datetime the token was updated at.", 685 "type": "string" 686 }, 687 "created_by": { 688 "description": "", 689 "type": "string" 690 }, 691 "created_by_url": { 692 "description": "", 693 "type": "string" 694 }, 695 "default": { 696 "description": "If selected this is the default token for this repository.", 697 "type": "boolean" 698 }, 699 "has_limits": { 700 "description": "", 701 "type": "boolean" 702 }, 703 "identifier": { 704 "description": "", 705 "type": "integer" 706 }, 707 "is_active": { 708 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 709 "type": "boolean" 710 }, 711 "is_limited": { 712 "description": "", 713 "type": "boolean" 714 }, 715 "limit_date_range_from": { 716 "description": "The starting date/time the token is allowed to be used from.", 717 "type": "string" 718 }, 719 "limit_date_range_to": { 720 "description": "The ending date/time the token is allowed to be used until.", 721 "type": "string" 722 }, 723 "limit_num_clients": { 724 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 725 "type": "integer" 726 }, 727 "limit_num_downloads": { 728 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 729 "type": "integer" 730 }, 731 "limit_package_query": { 732 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 733 "type": "string" 734 }, 735 "limit_path_query": { 736 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 737 "type": "string" 738 }, 739 "metadata": { 740 "description": "", 741 "type": "object" 742 }, 743 "name": { 744 "description": "", 745 "type": "string" 746 }, 747 "refresh_url": { 748 "description": "", 749 "type": "string" 750 }, 751 "self_url": { 752 "description": "", 753 "type": "string" 754 }, 755 "slug_perm": { 756 "description": "", 757 "type": "string" 758 }, 759 "token": { 760 "description": "", 761 "type": "string" 762 }, 763 "updated_at": { 764 "description": "The datetime the token was updated at.", 765 "type": "string" 766 }, 767 "updated_by": { 768 "description": "", 769 "type": "string" 770 }, 771 "updated_by_url": { 772 "description": "", 773 "type": "string" 774 }, 775 "user": { 776 "description": "", 777 "type": "string" 778 }, 779 "user_url": { 780 "description": "", 781 "type": "string" 782 } 783 }, 784 "required": [ 785 "name" 786 ], 787 "title": "RepositoryToken", 788 "type": "object" 789 } 790 }, 791 "400": { 792 "description": "Request could not be processed (see detail)", 793 "schema": { 794 "properties": { 795 "detail": { 796 "description": "An extended message for the response.", 797 "type": "string" 798 } 799 }, 800 "required": [ 801 "detail" 802 ], 803 "title": "Status", 804 "type": "object" 805 } 806 }, 807 "404": { 808 "description": "Owner namespace or repository not found", 809 "schema": { 810 "properties": { 811 "detail": { 812 "description": "An extended message for the response.", 813 "type": "string" 814 } 815 }, 816 "required": [ 817 "detail" 818 ], 819 "title": "Status", 820 "type": "object" 821 } 822 }, 823 "422": { 824 "description": "Missing or invalid parameters (see detail)", 825 "schema": { 826 "properties": { 827 "detail": { 828 "description": "An extended message for the response.", 829 "type": "string" 830 } 831 }, 832 "required": [ 833 "detail" 834 ], 835 "title": "Status", 836 "type": "object" 837 } 838 } 839 }, 840 "security": [ 841 { 842 "token": [] 843 }, 844 { 845 "apikey": [] 846 }, 847 { 848 "csrf_token": [] 849 } 850 ], 851 "summary": "Create a specific entitlement in a repository.", 852 "tags": [ 853 "entitlements" 854 ] 855 } 856 }, 857 "/entitlements/{owner}/{repo}/sync/": { 858 "post": { 859 "consumes": [ 860 "application/json" 861 ], 862 "description": "Synchronise tokens from a source repository.", 863 "operationId": "entitlements_sync", 864 "parameters": [ 865 { 866 "description": "", 867 "in": "path", 868 "name": "owner", 869 "required": true, 870 "type": "string" 871 }, 872 { 873 "description": "", 874 "in": "path", 875 "name": "repo", 876 "required": true, 877 "type": "string" 878 }, 879 { 880 "description": "Show entitlement token strings in results", 881 "in": "query", 882 "name": "show_tokens", 883 "required": false, 884 "type": "boolean" 885 }, 886 { 887 "in": "body", 888 "name": "data", 889 "schema": { 890 "properties": { 891 "source": { 892 "description": "The source repository slug (in the same owner namespace).", 893 "type": "string" 894 } 895 }, 896 "required": [ 897 "source" 898 ], 899 "title": "EntitlementsSync", 900 "type": "object" 901 } 902 } 903 ], 904 "responses": { 905 "200": { 906 "description": "The tokens have been synchronised from the source repository", 907 "schema": { 908 "properties": { 909 "tokens": { 910 "description": "The entitlements that have been synchronised.", 911 "items": { 912 "properties": { 913 "created_at": { 914 "description": "The datetime the token was updated at.", 915 "type": "string" 916 }, 917 "created_by": { 918 "description": "", 919 "type": "string" 920 }, 921 "created_by_url": { 922 "description": "", 923 "type": "string" 924 }, 925 "default": { 926 "description": "If selected this is the default token for this repository.", 927 "type": "boolean" 928 }, 929 "has_limits": { 930 "description": "", 931 "type": "boolean" 932 }, 933 "identifier": { 934 "description": "", 935 "type": "integer" 936 }, 937 "is_active": { 938 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 939 "type": "boolean" 940 }, 941 "is_limited": { 942 "description": "", 943 "type": "boolean" 944 }, 945 "limit_date_range_from": { 946 "description": "The starting date/time the token is allowed to be used from.", 947 "type": "string" 948 }, 949 "limit_date_range_to": { 950 "description": "The ending date/time the token is allowed to be used until.", 951 "type": "string" 952 }, 953 "limit_num_clients": { 954 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 955 "type": "integer" 956 }, 957 "limit_num_downloads": { 958 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 959 "type": "integer" 960 }, 961 "limit_package_query": { 962 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 963 "type": "string" 964 }, 965 "limit_path_query": { 966 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 967 "type": "string" 968 }, 969 "metadata": { 970 "description": "", 971 "type": "string" 972 }, 973 "name": { 974 "description": "", 975 "type": "string" 976 }, 977 "refresh_url": { 978 "description": "", 979 "type": "string" 980 }, 981 "self_url": { 982 "description": "", 983 "type": "string" 984 }, 985 "slug_perm": { 986 "description": "", 987 "type": "string" 988 }, 989 "token": { 990 "description": "", 991 "type": "string" 992 }, 993 "updated_at": { 994 "description": "The datetime the token was updated at.", 995 "type": "string" 996 }, 997 "updated_by": { 998 "description": "", 999 "type": "string" 1000 }, 1001 "updated_by_url": { 1002 "description": "", 1003 "type": "string" 1004 }, 1005 "user": { 1006 "description": "", 1007 "type": "string" 1008 }, 1009 "user_url": { 1010 "description": "", 1011 "type": "string" 1012 } 1013 }, 1014 "type": "object" 1015 }, 1016 "title": "TokensList", 1017 "type": "array" 1018 } 1019 }, 1020 "title": "RepositoryTokenSync", 1021 "type": "object" 1022 } 1023 }, 1024 "400": { 1025 "description": "Request could not be processed (see detail)", 1026 "schema": { 1027 "properties": { 1028 "detail": { 1029 "description": "An extended message for the response.", 1030 "type": "string" 1031 } 1032 }, 1033 "required": [ 1034 "detail" 1035 ], 1036 "title": "Status", 1037 "type": "object" 1038 } 1039 }, 1040 "404": { 1041 "description": "Owner namespace or repository not found", 1042 "schema": { 1043 "properties": { 1044 "detail": { 1045 "description": "An extended message for the response.", 1046 "type": "string" 1047 } 1048 }, 1049 "required": [ 1050 "detail" 1051 ], 1052 "title": "Status", 1053 "type": "object" 1054 } 1055 }, 1056 "422": { 1057 "description": "Missing or invalid parameters (see detail)", 1058 "schema": { 1059 "properties": { 1060 "detail": { 1061 "description": "An extended message for the response.", 1062 "type": "string" 1063 } 1064 }, 1065 "required": [ 1066 "detail" 1067 ], 1068 "title": "Status", 1069 "type": "object" 1070 } 1071 } 1072 }, 1073 "security": [ 1074 { 1075 "token": [] 1076 }, 1077 { 1078 "apikey": [] 1079 }, 1080 { 1081 "csrf_token": [] 1082 } 1083 ], 1084 "summary": "Synchronise tokens from a source repository.", 1085 "tags": [ 1086 "entitlements" 1087 ] 1088 } 1089 }, 1090 "/entitlements/{owner}/{repo}/{identifier}/": { 1091 "delete": { 1092 "description": "Delete a specific entitlement in a repository.", 1093 "operationId": "entitlements_delete", 1094 "parameters": [ 1095 { 1096 "description": "", 1097 "in": "path", 1098 "name": "owner", 1099 "required": true, 1100 "type": "string" 1101 }, 1102 { 1103 "description": "", 1104 "in": "path", 1105 "name": "repo", 1106 "required": true, 1107 "type": "string" 1108 }, 1109 { 1110 "description": "", 1111 "in": "path", 1112 "name": "identifier", 1113 "required": true, 1114 "type": "string" 1115 } 1116 ], 1117 "responses": { 1118 "204": { 1119 "description": "Soft-deleted the specified entitlement token successfully" 1120 }, 1121 "400": { 1122 "description": "The entitlement cannot be deleted", 1123 "schema": { 1124 "properties": { 1125 "detail": { 1126 "description": "An extended message for the response.", 1127 "type": "string" 1128 } 1129 }, 1130 "required": [ 1131 "detail" 1132 ], 1133 "title": "Status", 1134 "type": "object" 1135 } 1136 }, 1137 "422": { 1138 "description": "Missing or invalid parameters (see detail)", 1139 "schema": { 1140 "properties": { 1141 "detail": { 1142 "description": "An extended message for the response.", 1143 "type": "string" 1144 } 1145 }, 1146 "required": [ 1147 "detail" 1148 ], 1149 "title": "Status", 1150 "type": "object" 1151 } 1152 } 1153 }, 1154 "security": [ 1155 { 1156 "token": [] 1157 }, 1158 { 1159 "apikey": [] 1160 }, 1161 { 1162 "csrf_token": [] 1163 } 1164 ], 1165 "summary": "Delete a specific entitlement in a repository.", 1166 "tags": [ 1167 "entitlements" 1168 ] 1169 }, 1170 "get": { 1171 "description": "Get a specific entitlement in a repository.", 1172 "operationId": "entitlements_read", 1173 "parameters": [ 1174 { 1175 "description": "", 1176 "in": "path", 1177 "name": "owner", 1178 "required": true, 1179 "type": "string" 1180 }, 1181 { 1182 "description": "", 1183 "in": "path", 1184 "name": "repo", 1185 "required": true, 1186 "type": "string" 1187 }, 1188 { 1189 "description": "", 1190 "in": "path", 1191 "name": "identifier", 1192 "required": true, 1193 "type": "string" 1194 }, 1195 { 1196 "description": "Show entitlement token strings in results", 1197 "in": "query", 1198 "name": "show_tokens", 1199 "required": false, 1200 "type": "boolean" 1201 } 1202 ], 1203 "responses": { 1204 "200": { 1205 "description": "Retrieved the specified entitlement", 1206 "schema": { 1207 "properties": { 1208 "created_at": { 1209 "description": "The datetime the token was updated at.", 1210 "type": "string" 1211 }, 1212 "created_by": { 1213 "description": "", 1214 "type": "string" 1215 }, 1216 "created_by_url": { 1217 "description": "", 1218 "type": "string" 1219 }, 1220 "default": { 1221 "description": "If selected this is the default token for this repository.", 1222 "type": "boolean" 1223 }, 1224 "has_limits": { 1225 "description": "", 1226 "type": "boolean" 1227 }, 1228 "identifier": { 1229 "description": "", 1230 "type": "integer" 1231 }, 1232 "is_active": { 1233 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 1234 "type": "boolean" 1235 }, 1236 "is_limited": { 1237 "description": "", 1238 "type": "boolean" 1239 }, 1240 "limit_date_range_from": { 1241 "description": "The starting date/time the token is allowed to be used from.", 1242 "type": "string" 1243 }, 1244 "limit_date_range_to": { 1245 "description": "The ending date/time the token is allowed to be used until.", 1246 "type": "string" 1247 }, 1248 "limit_num_clients": { 1249 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1250 "type": "integer" 1251 }, 1252 "limit_num_downloads": { 1253 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1254 "type": "integer" 1255 }, 1256 "limit_package_query": { 1257 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 1258 "type": "string" 1259 }, 1260 "limit_path_query": { 1261 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 1262 "type": "string" 1263 }, 1264 "metadata": { 1265 "description": "", 1266 "type": "object" 1267 }, 1268 "name": { 1269 "description": "", 1270 "type": "string" 1271 }, 1272 "refresh_url": { 1273 "description": "", 1274 "type": "string" 1275 }, 1276 "self_url": { 1277 "description": "", 1278 "type": "string" 1279 }, 1280 "slug_perm": { 1281 "description": "", 1282 "type": "string" 1283 }, 1284 "token": { 1285 "description": "", 1286 "type": "string" 1287 }, 1288 "updated_at": { 1289 "description": "The datetime the token was updated at.", 1290 "type": "string" 1291 }, 1292 "updated_by": { 1293 "description": "", 1294 "type": "string" 1295 }, 1296 "updated_by_url": { 1297 "description": "", 1298 "type": "string" 1299 }, 1300 "user": { 1301 "description": "", 1302 "type": "string" 1303 }, 1304 "user_url": { 1305 "description": "", 1306 "type": "string" 1307 } 1308 }, 1309 "required": [ 1310 "name" 1311 ], 1312 "title": "RepositoryToken", 1313 "type": "object" 1314 } 1315 }, 1316 "400": { 1317 "description": "Request could not be processed (see detail)", 1318 "schema": { 1319 "properties": { 1320 "detail": { 1321 "description": "An extended message for the response.", 1322 "type": "string" 1323 } 1324 }, 1325 "required": [ 1326 "detail" 1327 ], 1328 "title": "Status", 1329 "type": "object" 1330 } 1331 }, 1332 "404": { 1333 "description": "Owner namespace or repository not found", 1334 "schema": { 1335 "properties": { 1336 "detail": { 1337 "description": "An extended message for the response.", 1338 "type": "string" 1339 } 1340 }, 1341 "required": [ 1342 "detail" 1343 ], 1344 "title": "Status", 1345 "type": "object" 1346 } 1347 }, 1348 "422": { 1349 "description": "Missing or invalid parameters (see detail)", 1350 "schema": { 1351 "properties": { 1352 "detail": { 1353 "description": "An extended message for the response.", 1354 "type": "string" 1355 } 1356 }, 1357 "required": [ 1358 "detail" 1359 ], 1360 "title": "Status", 1361 "type": "object" 1362 } 1363 } 1364 }, 1365 "security": [ 1366 { 1367 "token": [] 1368 }, 1369 { 1370 "apikey": [] 1371 }, 1372 { 1373 "csrf_token": [] 1374 } 1375 ], 1376 "summary": "Get a specific entitlement in a repository.", 1377 "tags": [ 1378 "entitlements" 1379 ] 1380 }, 1381 "patch": { 1382 "consumes": [ 1383 "application/json" 1384 ], 1385 "description": "Update a specific entitlement in a repository.", 1386 "operationId": "entitlements_partial_update", 1387 "parameters": [ 1388 { 1389 "description": "", 1390 "in": "path", 1391 "name": "owner", 1392 "required": true, 1393 "type": "string" 1394 }, 1395 { 1396 "description": "", 1397 "in": "path", 1398 "name": "repo", 1399 "required": true, 1400 "type": "string" 1401 }, 1402 { 1403 "description": "", 1404 "in": "path", 1405 "name": "identifier", 1406 "required": true, 1407 "type": "string" 1408 }, 1409 { 1410 "description": "Show entitlement token strings in results", 1411 "in": "query", 1412 "name": "show_tokens", 1413 "required": false, 1414 "type": "boolean" 1415 }, 1416 { 1417 "in": "body", 1418 "name": "data", 1419 "schema": { 1420 "properties": { 1421 "is_active": { 1422 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 1423 "type": "boolean" 1424 }, 1425 "limit_date_range_from": { 1426 "description": "The starting date/time the token is allowed to be used from.", 1427 "type": "string" 1428 }, 1429 "limit_date_range_to": { 1430 "description": "The ending date/time the token is allowed to be used until.", 1431 "type": "string" 1432 }, 1433 "limit_num_clients": { 1434 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1435 "type": "integer" 1436 }, 1437 "limit_num_downloads": { 1438 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1439 "type": "integer" 1440 }, 1441 "limit_package_query": { 1442 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 1443 "type": "string" 1444 }, 1445 "limit_path_query": { 1446 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 1447 "type": "string" 1448 }, 1449 "metadata": { 1450 "description": "None", 1451 "type": "object" 1452 }, 1453 "name": { 1454 "description": "None", 1455 "type": "string" 1456 }, 1457 "token": { 1458 "description": "None", 1459 "type": "string" 1460 } 1461 }, 1462 "title": "EntitlementsPartialUpdate", 1463 "type": "object" 1464 } 1465 } 1466 ], 1467 "responses": { 1468 "200": { 1469 "description": "Updated the specified entitlement", 1470 "schema": { 1471 "properties": { 1472 "created_at": { 1473 "description": "The datetime the token was updated at.", 1474 "type": "string" 1475 }, 1476 "created_by": { 1477 "description": "", 1478 "type": "string" 1479 }, 1480 "created_by_url": { 1481 "description": "", 1482 "type": "string" 1483 }, 1484 "default": { 1485 "description": "If selected this is the default token for this repository.", 1486 "type": "boolean" 1487 }, 1488 "has_limits": { 1489 "description": "", 1490 "type": "boolean" 1491 }, 1492 "identifier": { 1493 "description": "", 1494 "type": "integer" 1495 }, 1496 "is_active": { 1497 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 1498 "type": "boolean" 1499 }, 1500 "is_limited": { 1501 "description": "", 1502 "type": "boolean" 1503 }, 1504 "limit_date_range_from": { 1505 "description": "The starting date/time the token is allowed to be used from.", 1506 "type": "string" 1507 }, 1508 "limit_date_range_to": { 1509 "description": "The ending date/time the token is allowed to be used until.", 1510 "type": "string" 1511 }, 1512 "limit_num_clients": { 1513 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1514 "type": "integer" 1515 }, 1516 "limit_num_downloads": { 1517 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1518 "type": "integer" 1519 }, 1520 "limit_package_query": { 1521 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 1522 "type": "string" 1523 }, 1524 "limit_path_query": { 1525 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 1526 "type": "string" 1527 }, 1528 "metadata": { 1529 "description": "", 1530 "type": "object" 1531 }, 1532 "name": { 1533 "description": "", 1534 "type": "string" 1535 }, 1536 "refresh_url": { 1537 "description": "", 1538 "type": "string" 1539 }, 1540 "self_url": { 1541 "description": "", 1542 "type": "string" 1543 }, 1544 "slug_perm": { 1545 "description": "", 1546 "type": "string" 1547 }, 1548 "token": { 1549 "description": "", 1550 "type": "string" 1551 }, 1552 "updated_at": { 1553 "description": "The datetime the token was updated at.", 1554 "type": "string" 1555 }, 1556 "updated_by": { 1557 "description": "", 1558 "type": "string" 1559 }, 1560 "updated_by_url": { 1561 "description": "", 1562 "type": "string" 1563 }, 1564 "user": { 1565 "description": "", 1566 "type": "string" 1567 }, 1568 "user_url": { 1569 "description": "", 1570 "type": "string" 1571 } 1572 }, 1573 "required": [ 1574 "name" 1575 ], 1576 "title": "RepositoryToken", 1577 "type": "object" 1578 } 1579 }, 1580 "400": { 1581 "description": "The entitlement cannot be edited", 1582 "schema": { 1583 "properties": { 1584 "detail": { 1585 "description": "An extended message for the response.", 1586 "type": "string" 1587 } 1588 }, 1589 "required": [ 1590 "detail" 1591 ], 1592 "title": "Status", 1593 "type": "object" 1594 } 1595 }, 1596 "404": { 1597 "description": "Owner namespace or repository not found", 1598 "schema": { 1599 "properties": { 1600 "detail": { 1601 "description": "An extended message for the response.", 1602 "type": "string" 1603 } 1604 }, 1605 "required": [ 1606 "detail" 1607 ], 1608 "title": "Status", 1609 "type": "object" 1610 } 1611 }, 1612 "422": { 1613 "description": "Missing or invalid parameters (see detail)", 1614 "schema": { 1615 "properties": { 1616 "detail": { 1617 "description": "An extended message for the response.", 1618 "type": "string" 1619 } 1620 }, 1621 "required": [ 1622 "detail" 1623 ], 1624 "title": "Status", 1625 "type": "object" 1626 } 1627 } 1628 }, 1629 "security": [ 1630 { 1631 "token": [] 1632 }, 1633 { 1634 "apikey": [] 1635 }, 1636 { 1637 "csrf_token": [] 1638 } 1639 ], 1640 "summary": "Update a specific entitlement in a repository.", 1641 "tags": [ 1642 "entitlements" 1643 ] 1644 } 1645 }, 1646 "/entitlements/{owner}/{repo}/{identifier}/disable/": { 1647 "post": { 1648 "description": "Disable an entitlement token in a repository.", 1649 "operationId": "entitlements_disable", 1650 "parameters": [ 1651 { 1652 "description": "", 1653 "in": "path", 1654 "name": "owner", 1655 "required": true, 1656 "type": "string" 1657 }, 1658 { 1659 "description": "", 1660 "in": "path", 1661 "name": "repo", 1662 "required": true, 1663 "type": "string" 1664 }, 1665 { 1666 "description": "", 1667 "in": "path", 1668 "name": "identifier", 1669 "required": true, 1670 "type": "string" 1671 } 1672 ], 1673 "responses": { 1674 "204": { 1675 "description": "The entitlement token has been disabled" 1676 }, 1677 "400": { 1678 "description": "Request could not be processed (see detail)", 1679 "schema": { 1680 "properties": { 1681 "detail": { 1682 "description": "An extended message for the response.", 1683 "type": "string" 1684 } 1685 }, 1686 "required": [ 1687 "detail" 1688 ], 1689 "title": "Status", 1690 "type": "object" 1691 } 1692 }, 1693 "422": { 1694 "description": "Missing or invalid parameters (see detail)", 1695 "schema": { 1696 "properties": { 1697 "detail": { 1698 "description": "An extended message for the response.", 1699 "type": "string" 1700 } 1701 }, 1702 "required": [ 1703 "detail" 1704 ], 1705 "title": "Status", 1706 "type": "object" 1707 } 1708 } 1709 }, 1710 "security": [ 1711 { 1712 "token": [] 1713 }, 1714 { 1715 "apikey": [] 1716 }, 1717 { 1718 "csrf_token": [] 1719 } 1720 ], 1721 "summary": "Disable an entitlement token in a repository.", 1722 "tags": [ 1723 "entitlements" 1724 ] 1725 } 1726 }, 1727 "/entitlements/{owner}/{repo}/{identifier}/enable/": { 1728 "post": { 1729 "description": "Enable an entitlement token in a repository.", 1730 "operationId": "entitlements_enable", 1731 "parameters": [ 1732 { 1733 "description": "", 1734 "in": "path", 1735 "name": "owner", 1736 "required": true, 1737 "type": "string" 1738 }, 1739 { 1740 "description": "", 1741 "in": "path", 1742 "name": "repo", 1743 "required": true, 1744 "type": "string" 1745 }, 1746 { 1747 "description": "", 1748 "in": "path", 1749 "name": "identifier", 1750 "required": true, 1751 "type": "string" 1752 } 1753 ], 1754 "responses": { 1755 "204": { 1756 "description": "The entitlement token has been enabled" 1757 }, 1758 "400": { 1759 "description": "Request could not be processed (see detail)", 1760 "schema": { 1761 "properties": { 1762 "detail": { 1763 "description": "An extended message for the response.", 1764 "type": "string" 1765 } 1766 }, 1767 "required": [ 1768 "detail" 1769 ], 1770 "title": "Status", 1771 "type": "object" 1772 } 1773 }, 1774 "422": { 1775 "description": "Missing or invalid parameters (see detail)", 1776 "schema": { 1777 "properties": { 1778 "detail": { 1779 "description": "An extended message for the response.", 1780 "type": "string" 1781 } 1782 }, 1783 "required": [ 1784 "detail" 1785 ], 1786 "title": "Status", 1787 "type": "object" 1788 } 1789 } 1790 }, 1791 "security": [ 1792 { 1793 "token": [] 1794 }, 1795 { 1796 "apikey": [] 1797 }, 1798 { 1799 "csrf_token": [] 1800 } 1801 ], 1802 "summary": "Enable an entitlement token in a repository.", 1803 "tags": [ 1804 "entitlements" 1805 ] 1806 } 1807 }, 1808 "/entitlements/{owner}/{repo}/{identifier}/refresh/": { 1809 "post": { 1810 "consumes": [ 1811 "application/json" 1812 ], 1813 "description": "Refresh an entitlement token in a repository.", 1814 "operationId": "entitlements_refresh", 1815 "parameters": [ 1816 { 1817 "description": "", 1818 "in": "path", 1819 "name": "owner", 1820 "required": true, 1821 "type": "string" 1822 }, 1823 { 1824 "description": "", 1825 "in": "path", 1826 "name": "repo", 1827 "required": true, 1828 "type": "string" 1829 }, 1830 { 1831 "description": "", 1832 "in": "path", 1833 "name": "identifier", 1834 "required": true, 1835 "type": "string" 1836 }, 1837 { 1838 "description": "Show entitlement token strings in results", 1839 "in": "query", 1840 "name": "show_tokens", 1841 "required": false, 1842 "type": "boolean" 1843 }, 1844 { 1845 "in": "body", 1846 "name": "data", 1847 "schema": { 1848 "properties": { 1849 "is_active": { 1850 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 1851 "type": "boolean" 1852 }, 1853 "limit_date_range_from": { 1854 "description": "The starting date/time the token is allowed to be used from.", 1855 "type": "string" 1856 }, 1857 "limit_date_range_to": { 1858 "description": "The ending date/time the token is allowed to be used until.", 1859 "type": "string" 1860 }, 1861 "limit_num_clients": { 1862 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1863 "type": "integer" 1864 }, 1865 "limit_num_downloads": { 1866 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1867 "type": "integer" 1868 }, 1869 "limit_package_query": { 1870 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 1871 "type": "string" 1872 }, 1873 "limit_path_query": { 1874 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 1875 "type": "string" 1876 }, 1877 "metadata": { 1878 "description": "None", 1879 "type": "object" 1880 }, 1881 "token": { 1882 "description": "None", 1883 "type": "string" 1884 } 1885 }, 1886 "title": "EntitlementsRefresh", 1887 "type": "object" 1888 } 1889 } 1890 ], 1891 "responses": { 1892 "200": { 1893 "description": "The entitlement token has been refreshed", 1894 "schema": { 1895 "properties": { 1896 "created_at": { 1897 "description": "The datetime the token was updated at.", 1898 "type": "string" 1899 }, 1900 "created_by": { 1901 "description": "", 1902 "type": "string" 1903 }, 1904 "created_by_url": { 1905 "description": "", 1906 "type": "string" 1907 }, 1908 "default": { 1909 "description": "If selected this is the default token for this repository.", 1910 "type": "boolean" 1911 }, 1912 "has_limits": { 1913 "description": "", 1914 "type": "boolean" 1915 }, 1916 "identifier": { 1917 "description": "", 1918 "type": "integer" 1919 }, 1920 "is_active": { 1921 "description": "If enabled, the token will allow downloads based on configured restrictions (if any).", 1922 "type": "boolean" 1923 }, 1924 "is_limited": { 1925 "description": "", 1926 "type": "boolean" 1927 }, 1928 "limit_date_range_from": { 1929 "description": "The starting date/time the token is allowed to be used from.", 1930 "type": "string" 1931 }, 1932 "limit_date_range_to": { 1933 "description": "The ending date/time the token is allowed to be used until.", 1934 "type": "string" 1935 }, 1936 "limit_num_clients": { 1937 "description": "The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1938 "type": "integer" 1939 }, 1940 "limit_num_downloads": { 1941 "description": "The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.", 1942 "type": "integer" 1943 }, 1944 "limit_package_query": { 1945 "description": "The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. For package formats that support dynamic metadata indexes, the contents of the metadata will also be filtered.", 1946 "type": "string" 1947 }, 1948 "limit_path_query": { 1949 "description": "The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.", 1950 "type": "string" 1951 }, 1952 "metadata": { 1953 "description": "", 1954 "type": "object" 1955 }, 1956 "name": { 1957 "description": "", 1958 "type": "string" 1959 }, 1960 "refresh_url": { 1961 "description": "", 1962 "type": "string" 1963 }, 1964 "self_url": { 1965 "description": "", 1966 "type": "string" 1967 }, 1968 "slug_perm": { 1969 "description": "", 1970 "type": "string" 1971 }, 1972 "token": { 1973 "description": "", 1974 "type": "string" 1975 }, 1976 "updated_at": { 1977 "description": "The datetime the token was updated at.", 1978 "type": "string" 1979 }, 1980 "updated_by": { 1981 "description": "", 1982 "type": "string" 1983 }, 1984 "updated_by_url": { 1985 "description": "", 1986 "type": "string" 1987 }, 1988 "user": { 1989 "description": "", 1990 "type": "string" 1991 }, 1992 "user_url": { 1993 "description": "", 1994 "type": "string" 1995 } 1996 }, 1997 "title": "RepositoryTokenRefresh", 1998 "type": "object" 1999 } 2000 }, 2001 "400": { 2002 "description": "Request could not be processed (see detail)", 2003 "schema": { 2004 "properties": { 2005 "detail": { 2006 "description": "An extended message for the response.", 2007 "type": "string" 2008 } 2009 }, 2010 "required": [ 2011 "detail" 2012 ], 2013 "title": "Status", 2014 "type": "object" 2015 } 2016 }, 2017 "422": { 2018 "description": "Missing or invalid parameters (see detail)", 2019 "schema": { 2020 "properties": { 2021 "detail": { 2022 "description": "An extended message for the response.", 2023 "type": "string" 2024 } 2025 }, 2026 "required": [ 2027 "detail" 2028 ], 2029 "title": "Status", 2030 "type": "object" 2031 } 2032 } 2033 }, 2034 "security": [ 2035 { 2036 "token": [] 2037 }, 2038 { 2039 "apikey": [] 2040 }, 2041 { 2042 "csrf_token": [] 2043 } 2044 ], 2045 "summary": "Refresh an entitlement token in a repository.", 2046 "tags": [ 2047 "entitlements" 2048 ] 2049 } 2050 }, 2051 "/entitlements/{owner}/{repo}/{identifier}/reset/": { 2052 "post": { 2053 "description": "Reset the statistics for an entitlement token in a repository.", 2054 "operationId": "entitlements_reset", 2055 "parameters": [ 2056 { 2057 "description": "", 2058 "in": "path", 2059 "name": "owner", 2060 "required": true, 2061 "type": "string" 2062 }, 2063 { 2064 "description": "", 2065 "in": "path", 2066 "name": "repo", 2067 "required": true, 2068 "type": "string" 2069 }, 2070 { 2071 "description": "", 2072 "in": "path", 2073 "name": "identifier", 2074 "required": true, 2075 "type": "string" 2076 } 2077 ], 2078 "responses": { 2079 "204": { 2080 "description": "The entitlement token statistics have been reset" 2081 }, 2082 "400": { 2083 "description": "Request could not be processed (see detail)", 2084 "schema": { 2085 "properties": { 2086 "detail": { 2087 "description": "An extended message for the response.", 2088 "type": "string" 2089 } 2090 }, 2091 "required": [ 2092 "detail" 2093 ], 2094 "title": "Status", 2095 "type": "object" 2096 } 2097 }, 2098 "422": { 2099 "description": "Missing or invalid parameters (see detail)", 2100 "schema": { 2101 "properties": { 2102 "detail": { 2103 "description": "An extended message for the response.", 2104 "type": "string" 2105 } 2106 }, 2107 "required": [ 2108 "detail" 2109 ], 2110 "title": "Status", 2111 "type": "object" 2112 } 2113 } 2114 }, 2115 "security": [ 2116 { 2117 "token": [] 2118 }, 2119 { 2120 "apikey": [] 2121 }, 2122 { 2123 "csrf_token": [] 2124 } 2125 ], 2126 "summary": "Reset the statistics for an entitlement token in a repository.", 2127 "tags": [ 2128 "entitlements" 2129 ] 2130 } 2131 }, 2132 "/files/{owner}/{repo}/": { 2133 "post": { 2134 "consumes": [ 2135 "application/json" 2136 ], 2137 "description": "Request URL(s) to upload new package file upload(s) to.", 2138 "operationId": "files_create", 2139 "parameters": [ 2140 { 2141 "description": "", 2142 "in": "path", 2143 "name": "owner", 2144 "required": true, 2145 "type": "string" 2146 }, 2147 { 2148 "description": "", 2149 "in": "path", 2150 "name": "repo", 2151 "required": true, 2152 "type": "string" 2153 }, 2154 { 2155 "in": "body", 2156 "name": "data", 2157 "schema": { 2158 "properties": { 2159 "filename": { 2160 "description": "Filename for the package file upload.", 2161 "type": "string" 2162 }, 2163 "md5_checksum": { 2164 "description": "MD5 checksum for a POST-based package file upload.", 2165 "type": "string" 2166 }, 2167 "method": { 2168 "description": "The method to use for package file upload.", 2169 "type": "string" 2170 }, 2171 "sha256_checksum": { 2172 "description": "SHA256 checksum for a PUT-based package file upload.", 2173 "type": "string" 2174 } 2175 }, 2176 "required": [ 2177 "filename" 2178 ], 2179 "title": "FilesCreate", 2180 "type": "object" 2181 } 2182 } 2183 ], 2184 "responses": { 2185 "202": { 2186 "description": "The upload request was accepted", 2187 "schema": { 2188 "properties": { 2189 "identifier": { 2190 "description": "The identifier for the file to use when creating packages", 2191 "type": "string" 2192 }, 2193 "upload_fields": { 2194 "description": "The dictionary of fields that must be sent with POST uploads", 2195 "type": "object" 2196 }, 2197 "upload_headers": { 2198 "description": "The dictionary of headers that must be sent with uploads", 2199 "type": "object" 2200 }, 2201 "upload_querystring": { 2202 "description": "The querystring to use for the next-step POST or PUT upload", 2203 "type": "string" 2204 }, 2205 "upload_url": { 2206 "description": "The URL to use for the next-step POST or PUT upload", 2207 "type": "string" 2208 } 2209 }, 2210 "title": "PackageFileUpload", 2211 "type": "object" 2212 } 2213 }, 2214 "400": { 2215 "description": "Request could not be processed (see detail)", 2216 "schema": { 2217 "properties": { 2218 "detail": { 2219 "description": "An extended message for the response.", 2220 "type": "string" 2221 } 2222 }, 2223 "required": [ 2224 "detail" 2225 ], 2226 "title": "Status", 2227 "type": "object" 2228 } 2229 }, 2230 "404": { 2231 "description": "Namespace (owner) or repository not found", 2232 "schema": { 2233 "properties": { 2234 "detail": { 2235 "description": "An extended message for the response.", 2236 "type": "string" 2237 } 2238 }, 2239 "required": [ 2240 "detail" 2241 ], 2242 "title": "Status", 2243 "type": "object" 2244 } 2245 }, 2246 "422": { 2247 "description": "Missing or invalid parameters (see detail)", 2248 "schema": { 2249 "properties": { 2250 "detail": { 2251 "description": "An extended message for the response.", 2252 "type": "string" 2253 } 2254 }, 2255 "required": [ 2256 "detail" 2257 ], 2258 "title": "Status", 2259 "type": "object" 2260 } 2261 } 2262 }, 2263 "security": [ 2264 { 2265 "token": [] 2266 }, 2267 { 2268 "apikey": [] 2269 }, 2270 { 2271 "csrf_token": [] 2272 } 2273 ], 2274 "summary": "Request URL(s) to upload new package file upload(s) to.", 2275 "tags": [ 2276 "files" 2277 ] 2278 } 2279 }, 2280 "/files/{owner}/{repo}/validate/": { 2281 "post": { 2282 "consumes": [ 2283 "application/json" 2284 ], 2285 "description": "Validate parameters used for create.", 2286 "operationId": "files_validate", 2287 "parameters": [ 2288 { 2289 "description": "", 2290 "in": "path", 2291 "name": "owner", 2292 "required": true, 2293 "type": "string" 2294 }, 2295 { 2296 "description": "", 2297 "in": "path", 2298 "name": "repo", 2299 "required": true, 2300 "type": "string" 2301 }, 2302 { 2303 "in": "body", 2304 "name": "data", 2305 "schema": { 2306 "properties": { 2307 "filename": { 2308 "description": "Filename for the package file upload.", 2309 "type": "string" 2310 }, 2311 "md5_checksum": { 2312 "description": "MD5 checksum for a POST-based package file upload.", 2313 "type": "string" 2314 }, 2315 "method": { 2316 "description": "The method to use for package file upload.", 2317 "type": "string" 2318 }, 2319 "sha256_checksum": { 2320 "description": "SHA256 checksum for a PUT-based package file upload.", 2321 "type": "string" 2322 } 2323 }, 2324 "required": [ 2325 "filename" 2326 ], 2327 "title": "FilesValidate", 2328 "type": "object" 2329 } 2330 } 2331 ], 2332 "responses": { 2333 "204": { 2334 "description": "Validation was successful, parameters are OK" 2335 }, 2336 "400": { 2337 "description": "Request could not be processed (see detail)", 2338 "schema": { 2339 "properties": { 2340 "detail": { 2341 "description": "An extended message for the response.", 2342 "type": "string" 2343 } 2344 }, 2345 "required": [ 2346 "detail" 2347 ], 2348 "title": "Status", 2349 "type": "object" 2350 } 2351 }, 2352 "404": { 2353 "description": "Namespace (owner) or repository not found", 2354 "schema": { 2355 "properties": { 2356 "detail": { 2357 "description": "An extended message for the response.", 2358 "type": "string" 2359 } 2360 }, 2361 "required": [ 2362 "detail" 2363 ], 2364 "title": "Status", 2365 "type": "object" 2366 } 2367 }, 2368 "422": { 2369 "description": "Missing or invalid parameters (see detail)", 2370 "schema": { 2371 "properties": { 2372 "detail": { 2373 "description": "An extended message for the response.", 2374 "type": "string" 2375 } 2376 }, 2377 "required": [ 2378 "detail" 2379 ], 2380 "title": "Status", 2381 "type": "object" 2382 } 2383 } 2384 }, 2385 "security": [ 2386 { 2387 "token": [] 2388 }, 2389 { 2390 "apikey": [] 2391 }, 2392 { 2393 "csrf_token": [] 2394 } 2395 ], 2396 "summary": "Validate parameters used for create.", 2397 "tags": [ 2398 "files" 2399 ] 2400 } 2401 }, 2402 "/files/{owner}/{repo}/{identifier}/abort/": { 2403 "post": { 2404 "consumes": [ 2405 "application/json" 2406 ], 2407 "description": "Abort a multipart file upload.", 2408 "operationId": "files_abort", 2409 "parameters": [ 2410 { 2411 "description": "", 2412 "in": "path", 2413 "name": "owner", 2414 "required": true, 2415 "type": "string" 2416 }, 2417 { 2418 "description": "", 2419 "in": "path", 2420 "name": "repo", 2421 "required": true, 2422 "type": "string" 2423 }, 2424 { 2425 "description": "", 2426 "in": "path", 2427 "name": "identifier", 2428 "required": true, 2429 "type": "string" 2430 }, 2431 { 2432 "in": "body", 2433 "name": "data", 2434 "schema": { 2435 "properties": { 2436 "filename": { 2437 "description": "Filename for the package file upload.", 2438 "type": "string" 2439 }, 2440 "md5_checksum": { 2441 "description": "MD5 checksum for a POST-based package file upload.", 2442 "type": "string" 2443 }, 2444 "method": { 2445 "description": "The method to use for package file upload.", 2446 "type": "string" 2447 }, 2448 "sha256_checksum": { 2449 "description": "SHA256 checksum for a PUT-based package file upload.", 2450 "type": "string" 2451 } 2452 }, 2453 "required": [ 2454 "filename" 2455 ], 2456 "title": "FilesAbort", 2457 "type": "object" 2458 } 2459 } 2460 ], 2461 "responses": { 2462 "204": { 2463 "description": "The multipart upload was aborted successfully" 2464 }, 2465 "400": { 2466 "description": "The multipart upload could not be aborted", 2467 "schema": { 2468 "properties": { 2469 "detail": { 2470 "description": "An extended message for the response.", 2471 "type": "string" 2472 } 2473 }, 2474 "required": [ 2475 "detail" 2476 ], 2477 "title": "Status", 2478 "type": "object" 2479 } 2480 }, 2481 "404": { 2482 "description": "Namespace (owner), repository or upload file not found", 2483 "schema": { 2484 "properties": { 2485 "detail": { 2486 "description": "An extended message for the response.", 2487 "type": "string" 2488 } 2489 }, 2490 "required": [ 2491 "detail" 2492 ], 2493 "title": "Status", 2494 "type": "object" 2495 } 2496 }, 2497 "422": { 2498 "description": "Missing or invalid parameters (see detail)", 2499 "schema": { 2500 "properties": { 2501 "detail": { 2502 "description": "An extended message for the response.", 2503 "type": "string" 2504 } 2505 }, 2506 "required": [ 2507 "detail" 2508 ], 2509 "title": "Status", 2510 "type": "object" 2511 } 2512 } 2513 }, 2514 "security": [ 2515 { 2516 "token": [] 2517 }, 2518 { 2519 "apikey": [] 2520 }, 2521 { 2522 "csrf_token": [] 2523 } 2524 ], 2525 "summary": "Abort a multipart file upload.", 2526 "tags": [ 2527 "files" 2528 ] 2529 } 2530 }, 2531 "/files/{owner}/{repo}/{identifier}/complete/": { 2532 "post": { 2533 "consumes": [ 2534 "application/json" 2535 ], 2536 "description": "Complete a multipart file upload.", 2537 "operationId": "files_complete", 2538 "parameters": [ 2539 { 2540 "description": "", 2541 "in": "path", 2542 "name": "owner", 2543 "required": true, 2544 "type": "string" 2545 }, 2546 { 2547 "description": "", 2548 "in": "path", 2549 "name": "repo", 2550 "required": true, 2551 "type": "string" 2552 }, 2553 { 2554 "description": "", 2555 "in": "path", 2556 "name": "identifier", 2557 "required": true, 2558 "type": "string" 2559 }, 2560 { 2561 "in": "body", 2562 "name": "data", 2563 "schema": { 2564 "properties": { 2565 "filename": { 2566 "description": "Filename for the package file upload.", 2567 "type": "string" 2568 }, 2569 "md5_checksum": { 2570 "description": "MD5 checksum for a POST-based package file upload.", 2571 "type": "string" 2572 }, 2573 "method": { 2574 "description": "The method to use for package file upload.", 2575 "type": "string" 2576 }, 2577 "sha256_checksum": { 2578 "description": "SHA256 checksum for a PUT-based package file upload.", 2579 "type": "string" 2580 } 2581 }, 2582 "required": [ 2583 "filename" 2584 ], 2585 "title": "FilesComplete", 2586 "type": "object" 2587 } 2588 } 2589 ], 2590 "responses": { 2591 "201": { 2592 "description": "The multipart upload was completed successfully", 2593 "schema": { 2594 "properties": { 2595 "identifier": { 2596 "description": "The identifier for the file to use when creating packages", 2597 "type": "string" 2598 }, 2599 "upload_fields": { 2600 "description": "The dictionary of fields that must be sent with POST uploads", 2601 "type": "object" 2602 }, 2603 "upload_headers": { 2604 "description": "The dictionary of headers that must be sent with uploads", 2605 "type": "object" 2606 }, 2607 "upload_querystring": { 2608 "description": "The querystring to use for the next-step POST or PUT upload", 2609 "type": "string" 2610 }, 2611 "upload_url": { 2612 "description": "The URL to use for the next-step POST or PUT upload", 2613 "type": "string" 2614 } 2615 }, 2616 "title": "PackageFileUpload", 2617 "type": "object" 2618 } 2619 }, 2620 "400": { 2621 "description": "The multipart upload could not be completed", 2622 "schema": { 2623 "properties": { 2624 "detail": { 2625 "description": "An extended message for the response.", 2626 "type": "string" 2627 } 2628 }, 2629 "required": [ 2630 "detail" 2631 ], 2632 "title": "Status", 2633 "type": "object" 2634 } 2635 }, 2636 "404": { 2637 "description": "Namespace (owner), repository or upload file not found", 2638 "schema": { 2639 "properties": { 2640 "detail": { 2641 "description": "An extended message for the response.", 2642 "type": "string" 2643 } 2644 }, 2645 "required": [ 2646 "detail" 2647 ], 2648 "title": "Status", 2649 "type": "object" 2650 } 2651 }, 2652 "422": { 2653 "description": "Missing or invalid parameters (see detail)", 2654 "schema": { 2655 "properties": { 2656 "detail": { 2657 "description": "An extended message for the response.", 2658 "type": "string" 2659 } 2660 }, 2661 "required": [ 2662 "detail" 2663 ], 2664 "title": "Status", 2665 "type": "object" 2666 } 2667 } 2668 }, 2669 "security": [ 2670 { 2671 "token": [] 2672 }, 2673 { 2674 "apikey": [] 2675 }, 2676 { 2677 "csrf_token": [] 2678 } 2679 ], 2680 "summary": "Complete a multipart file upload.", 2681 "tags": [ 2682 "files" 2683 ] 2684 } 2685 }, 2686 "/files/{owner}/{repo}/{identifier}/info/": { 2687 "get": { 2688 "description": "Get upload information for a multipart file upload.", 2689 "operationId": "files_info", 2690 "parameters": [ 2691 { 2692 "description": "", 2693 "in": "path", 2694 "name": "owner", 2695 "required": true, 2696 "type": "string" 2697 }, 2698 { 2699 "description": "", 2700 "in": "path", 2701 "name": "repo", 2702 "required": true, 2703 "type": "string" 2704 }, 2705 { 2706 "description": "", 2707 "in": "path", 2708 "name": "identifier", 2709 "required": true, 2710 "type": "string" 2711 } 2712 ], 2713 "responses": { 2714 "200": { 2715 "description": "Information for multipart uploaded retrieved successfully", 2716 "schema": { 2717 "properties": { 2718 "identifier": { 2719 "description": "The identifier for the file to use uploading parts.", 2720 "type": "string" 2721 }, 2722 "upload_querystring": { 2723 "description": "The querystring to use for the next-step PUT upload.", 2724 "type": "string" 2725 }, 2726 "upload_url": { 2727 "description": "The URL to use for the next-step PUT upload", 2728 "type": "string" 2729 } 2730 }, 2731 "title": "PackageFilePartsUpload", 2732 "type": "object" 2733 } 2734 }, 2735 "400": { 2736 "description": "The provided upload file was not a multipart upload", 2737 "schema": { 2738 "properties": { 2739 "detail": { 2740 "description": "An extended message for the response.", 2741 "type": "string" 2742 } 2743 }, 2744 "required": [ 2745 "detail" 2746 ], 2747 "title": "Status", 2748 "type": "object" 2749 } 2750 }, 2751 "404": { 2752 "description": "Namespace (owner), repository or upload file not found", 2753 "schema": { 2754 "properties": { 2755 "detail": { 2756 "description": "An extended message for the response.", 2757 "type": "string" 2758 } 2759 }, 2760 "required": [ 2761 "detail" 2762 ], 2763 "title": "Status", 2764 "type": "object" 2765 } 2766 }, 2767 "422": { 2768 "description": "Missing or invalid parameters (see detail)", 2769 "schema": { 2770 "properties": { 2771 "detail": { 2772 "description": "An extended message for the response.", 2773 "type": "string" 2774 } 2775 }, 2776 "required": [ 2777 "detail" 2778 ], 2779 "title": "Status", 2780 "type": "object" 2781 } 2782 } 2783 }, 2784 "security": [ 2785 { 2786 "token": [] 2787 }, 2788 { 2789 "apikey": [] 2790 }, 2791 { 2792 "csrf_token": [] 2793 } 2794 ], 2795 "summary": "Get upload information for a multipart file upload.", 2796 "tags": [ 2797 "files" 2798 ] 2799 } 2800 }, 2801 "/formats/": { 2802 "get": { 2803 "description": "Get a list of all supported package formats.", 2804 "operationId": "formats_list", 2805 "parameters": [], 2806 "responses": { 2807 "200": { 2808 "description": "Available package formats retrieved", 2809 "schema": { 2810 "items": { 2811 "properties": { 2812 "description": { 2813 "description": "Description of the package format", 2814 "type": "string" 2815 }, 2816 "distributions": { 2817 "description": "The distributions supported by this package format", 2818 "items": { 2819 "properties": { 2820 "name": { 2821 "description": "", 2822 "type": "string" 2823 }, 2824 "self_url": { 2825 "description": "", 2826 "type": "string" 2827 }, 2828 "slug": { 2829 "description": "The slug identifier for this distribution", 2830 "type": "string" 2831 }, 2832 "variants": { 2833 "description": "", 2834 "type": "string" 2835 } 2836 }, 2837 "type": "object" 2838 }, 2839 "title": "DistributionsList", 2840 "type": "array" 2841 }, 2842 "extensions": { 2843 "description": "A non-exhaustive list of extensions supported", 2844 "items": { 2845 "description": "", 2846 "type": "string" 2847 }, 2848 "title": "ExtensionsList", 2849 "type": "array" 2850 }, 2851 "name": { 2852 "description": "Name for the package format", 2853 "type": "string" 2854 }, 2855 "premium": { 2856 "description": "If true the package format is a premium-only feature", 2857 "type": "boolean" 2858 }, 2859 "premium_plan_id": { 2860 "description": "The minimum plan id required for this package format", 2861 "type": "string" 2862 }, 2863 "premium_plan_name": { 2864 "description": "The minimum plan name required for this package format", 2865 "type": "string" 2866 }, 2867 "slug": { 2868 "description": "Slug for the package format", 2869 "type": "string" 2870 }, 2871 "supports": { 2872 "description": "A set of what the package format supports", 2873 "type": "object" 2874 } 2875 }, 2876 "required": [ 2877 "description", 2878 "extensions", 2879 "name", 2880 "premium", 2881 "slug", 2882 "supports" 2883 ], 2884 "title": "Format", 2885 "type": "object" 2886 }, 2887 "title": "FormatList", 2888 "type": "array" 2889 } 2890 }, 2891 "400": { 2892 "description": "Request could not be processed (see detail)", 2893 "schema": { 2894 "properties": { 2895 "detail": { 2896 "description": "An extended message for the response.", 2897 "type": "string" 2898 } 2899 }, 2900 "required": [ 2901 "detail" 2902 ], 2903 "title": "Status", 2904 "type": "object" 2905 } 2906 }, 2907 "422": { 2908 "description": "Missing or invalid parameters (see detail)", 2909 "schema": { 2910 "properties": { 2911 "detail": { 2912 "description": "An extended message for the response.", 2913 "type": "string" 2914 } 2915 }, 2916 "required": [ 2917 "detail" 2918 ], 2919 "title": "Status", 2920 "type": "object" 2921 } 2922 } 2923 }, 2924 "security": [ 2925 { 2926 "token": [] 2927 }, 2928 { 2929 "apikey": [] 2930 }, 2931 { 2932 "csrf_token": [] 2933 } 2934 ], 2935 "summary": "Get a list of all supported package formats.", 2936 "tags": [ 2937 "formats" 2938 ] 2939 } 2940 }, 2941 "/formats/{slug}/": { 2942 "get": { 2943 "description": "Get a specific supported package format.", 2944 "operationId": "formats_read", 2945 "parameters": [ 2946 { 2947 "description": "", 2948 "in": "path", 2949 "name": "slug", 2950 "required": true, 2951 "type": "string" 2952 } 2953 ], 2954 "responses": { 2955 "200": { 2956 "description": "OK", 2957 "schema": { 2958 "properties": { 2959 "description": { 2960 "description": "Description of the package format", 2961 "type": "string" 2962 }, 2963 "distributions": { 2964 "description": "The distributions supported by this package format", 2965 "items": { 2966 "properties": { 2967 "name": { 2968 "description": "", 2969 "type": "string" 2970 }, 2971 "self_url": { 2972 "description": "", 2973 "type": "string" 2974 }, 2975 "slug": { 2976 "description": "The slug identifier for this distribution", 2977 "type": "string" 2978 }, 2979 "variants": { 2980 "description": "", 2981 "type": "string" 2982 } 2983 }, 2984 "type": "object" 2985 }, 2986 "title": "DistributionsList", 2987 "type": "array" 2988 }, 2989 "extensions": { 2990 "description": "A non-exhaustive list of extensions supported", 2991 "items": { 2992 "description": "", 2993 "type": "string" 2994 }, 2995 "title": "ExtensionsList", 2996 "type": "array" 2997 }, 2998 "name": { 2999 "description": "Name for the package format", 3000 "type": "string" 3001 }, 3002 "premium": { 3003 "description": "If true the package format is a premium-only feature", 3004 "type": "boolean" 3005 }, 3006 "premium_plan_id": { 3007 "description": "The minimum plan id required for this package format", 3008 "type": "string" 3009 }, 3010 "premium_plan_name": { 3011 "description": "The minimum plan name required for this package format", 3012 "type": "string" 3013 }, 3014 "slug": { 3015 "description": "Slug for the package format", 3016 "type": "string" 3017 }, 3018 "supports": { 3019 "description": "A set of what the package format supports", 3020 "type": "object" 3021 } 3022 }, 3023 "required": [ 3024 "description", 3025 "extensions", 3026 "name", 3027 "premium", 3028 "slug", 3029 "supports" 3030 ], 3031 "title": "Format", 3032 "type": "object" 3033 } 3034 }, 3035 "400": { 3036 "description": "Request could not be processed (see detail)", 3037 "schema": { 3038 "properties": { 3039 "detail": { 3040 "description": "An extended message for the response.", 3041 "type": "string" 3042 } 3043 }, 3044 "required": [ 3045 "detail" 3046 ], 3047 "title": "Status", 3048 "type": "object" 3049 } 3050 }, 3051 "422": { 3052 "description": "Missing or invalid parameters (see detail)", 3053 "schema": { 3054 "properties": { 3055 "detail": { 3056 "description": "An extended message for the response.", 3057 "type": "string" 3058 } 3059 }, 3060 "required": [ 3061 "detail" 3062 ], 3063 "title": "Status", 3064 "type": "object" 3065 } 3066 } 3067 }, 3068 "security": [ 3069 { 3070 "token": [] 3071 }, 3072 { 3073 "apikey": [] 3074 }, 3075 { 3076 "csrf_token": [] 3077 } 3078 ], 3079 "summary": "Get a specific supported package format.", 3080 "tags": [ 3081 "formats" 3082 ] 3083 } 3084 }, 3085 "/namespaces/": { 3086 "get": { 3087 "description": "Get a list of all namespaces the user belongs to.", 3088 "operationId": "namespaces_list", 3089 "parameters": [ 3090 { 3091 "description": "A page number within the paginated result set.", 3092 "in": "query", 3093 "name": "page", 3094 "required": false, 3095 "type": "integer" 3096 }, 3097 { 3098 "description": "Number of results to return per page.", 3099 "in": "query", 3100 "name": "page_size", 3101 "required": false, 3102 "type": "integer" 3103 } 3104 ], 3105 "responses": { 3106 "200": { 3107 "description": "OK", 3108 "schema": { 3109 "items": { 3110 "properties": { 3111 "name": { 3112 "description": "", 3113 "type": "string" 3114 }, 3115 "slug": { 3116 "description": "", 3117 "type": "string" 3118 }, 3119 "slug_perm": { 3120 "description": "", 3121 "type": "string" 3122 }, 3123 "type_name": { 3124 "description": "", 3125 "type": "string" 3126 } 3127 }, 3128 "title": "Namespace", 3129 "type": "object" 3130 }, 3131 "title": "NamespaceList", 3132 "type": "array" 3133 } 3134 }, 3135 "400": { 3136 "description": "Request could not be processed (see detail)", 3137 "schema": { 3138 "properties": { 3139 "detail": { 3140 "description": "An extended message for the response.", 3141 "type": "string" 3142 } 3143 }, 3144 "required": [ 3145 "detail" 3146 ], 3147 "title": "Status", 3148 "type": "object" 3149 } 3150 }, 3151 "422": { 3152 "description": "Missing or invalid parameters (see detail)", 3153 "schema": { 3154 "properties": { 3155 "detail": { 3156 "description": "An extended message for the response.", 3157 "type": "string" 3158 } 3159 }, 3160 "required": [ 3161 "detail" 3162 ], 3163 "title": "Status", 3164 "type": "object" 3165 } 3166 } 3167 }, 3168 "security": [ 3169 { 3170 "token": [] 3171 }, 3172 { 3173 "apikey": [] 3174 }, 3175 { 3176 "csrf_token": [] 3177 } 3178 ], 3179 "summary": "Get a list of all namespaces the user belongs to.", 3180 "tags": [ 3181 "namespaces" 3182 ] 3183 } 3184 }, 3185 "/namespaces/{slug}/": { 3186 "get": { 3187 "description": "Views for working with namespaces.", 3188 "operationId": "namespaces_read", 3189 "parameters": [ 3190 { 3191 "description": "", 3192 "in": "path", 3193 "name": "slug", 3194 "required": true, 3195 "type": "string" 3196 } 3197 ], 3198 "responses": { 3199 "200": { 3200 "description": "OK", 3201 "schema": { 3202 "properties": { 3203 "name": { 3204 "description": "", 3205 "type": "string" 3206 }, 3207 "slug": { 3208 "description": "", 3209 "type": "string" 3210 }, 3211 "slug_perm": { 3212 "description": "", 3213 "type": "string" 3214 }, 3215 "type_name": { 3216 "description": "", 3217 "type": "string" 3218 } 3219 }, 3220 "title": "Namespace", 3221 "type": "object" 3222 } 3223 }, 3224 "400": { 3225 "description": "Request could not be processed (see detail)", 3226 "schema": { 3227 "properties": { 3228 "detail": { 3229 "description": "An extended message for the response.", 3230 "type": "string" 3231 } 3232 }, 3233 "required": [ 3234 "detail" 3235 ], 3236 "title": "Status", 3237 "type": "object" 3238 } 3239 }, 3240 "422": { 3241 "description": "Missing or invalid parameters (see detail)", 3242 "schema": { 3243 "properties": { 3244 "detail": { 3245 "description": "An extended message for the response.", 3246 "type": "string" 3247 } 3248 }, 3249 "required": [ 3250 "detail" 3251 ], 3252 "title": "Status", 3253 "type": "object" 3254 } 3255 } 3256 }, 3257 "security": [ 3258 { 3259 "token": [] 3260 }, 3261 { 3262 "apikey": [] 3263 }, 3264 { 3265 "csrf_token": [] 3266 } 3267 ], 3268 "summary": "Views for working with namespaces.", 3269 "tags": [ 3270 "namespaces" 3271 ] 3272 } 3273 }, 3274 "/orgs/": { 3275 "get": { 3276 "description": "Get a list of all the organizations you are associated with.", 3277 "operationId": "orgs_list", 3278 "parameters": [ 3279 { 3280 "description": "A page number within the paginated result set.", 3281 "in": "query", 3282 "name": "page", 3283 "required": false, 3284 "type": "integer" 3285 }, 3286 { 3287 "description": "Number of results to return per page.", 3288 "in": "query", 3289 "name": "page_size", 3290 "required": false, 3291 "type": "integer" 3292 } 3293 ], 3294 "responses": { 3295 "200": { 3296 "description": "OK", 3297 "schema": { 3298 "items": { 3299 "properties": { 3300 "country": { 3301 "description": "The country your organization is based in.", 3302 "type": "string" 3303 }, 3304 "created_at": { 3305 "description": "", 3306 "type": "string" 3307 }, 3308 "location": { 3309 "description": "The city/town/area your organization is based in.", 3310 "type": "string" 3311 }, 3312 "name": { 3313 "description": "A descriptive name for your organization.", 3314 "type": "string" 3315 }, 3316 "slug": { 3317 "description": "", 3318 "type": "string" 3319 }, 3320 "slug_perm": { 3321 "description": "", 3322 "type": "string" 3323 }, 3324 "tagline": { 3325 "description": "A short public descriptive for your organization.", 3326 "type": "string" 3327 } 3328 }, 3329 "title": "Organization", 3330 "type": "object" 3331 }, 3332 "title": "OrganizationList", 3333 "type": "array" 3334 } 3335 }, 3336 "400": { 3337 "description": "Request could not be processed (see detail)", 3338 "schema": { 3339 "properties": { 3340 "detail": { 3341 "description": "An extended message for the response.", 3342 "type": "string" 3343 } 3344 }, 3345 "required": [ 3346 "detail" 3347 ], 3348 "title": "Status", 3349 "type": "object" 3350 } 3351 }, 3352 "422": { 3353 "description": "Missing or invalid parameters (see detail)", 3354 "schema": { 3355 "properties": { 3356 "detail": { 3357 "description": "An extended message for the response.", 3358 "type": "string" 3359 } 3360 }, 3361 "required": [ 3362 "detail" 3363 ], 3364 "title": "Status", 3365 "type": "object" 3366 } 3367 } 3368 }, 3369 "security": [ 3370 { 3371 "token": [] 3372 }, 3373 { 3374 "apikey": [] 3375 }, 3376 { 3377 "csrf_token": [] 3378 } 3379 ], 3380 "summary": "Get a list of all the organizations you are associated with.", 3381 "tags": [ 3382 "orgs" 3383 ] 3384 } 3385 }, 3386 "/orgs/{slug}/": { 3387 "get": { 3388 "description": "Views for working with organizations.", 3389 "operationId": "orgs_read", 3390 "parameters": [ 3391 { 3392 "description": "", 3393 "in": "path", 3394 "name": "slug", 3395 "required": true, 3396 "type": "string" 3397 } 3398 ], 3399 "responses": { 3400 "200": { 3401 "description": "OK", 3402 "schema": { 3403 "properties": { 3404 "country": { 3405 "description": "The country your organization is based in.", 3406 "type": "string" 3407 }, 3408 "created_at": { 3409 "description": "", 3410 "type": "string" 3411 }, 3412 "location": { 3413 "description": "The city/town/area your organization is based in.", 3414 "type": "string" 3415 }, 3416 "name": { 3417 "description": "A descriptive name for your organization.", 3418 "type": "string" 3419 }, 3420 "slug": { 3421 "description": "", 3422 "type": "string" 3423 }, 3424 "slug_perm": { 3425 "description": "", 3426 "type": "string" 3427 }, 3428 "tagline": { 3429 "description": "A short public descriptive for your organization.", 3430 "type": "string" 3431 } 3432 }, 3433 "title": "Organization", 3434 "type": "object" 3435 } 3436 }, 3437 "400": { 3438 "description": "Request could not be processed (see detail)", 3439 "schema": { 3440 "properties": { 3441 "detail": { 3442 "description": "An extended message for the response.", 3443 "type": "string" 3444 } 3445 }, 3446 "required": [ 3447 "detail" 3448 ], 3449 "title": "Status", 3450 "type": "object" 3451 } 3452 }, 3453 "422": { 3454 "description": "Missing or invalid parameters (see detail)", 3455 "schema": { 3456 "properties": { 3457 "detail": { 3458 "description": "An extended message for the response.", 3459 "type": "string" 3460 } 3461 }, 3462 "required": [ 3463 "detail" 3464 ], 3465 "title": "Status", 3466 "type": "object" 3467 } 3468 } 3469 }, 3470 "security": [ 3471 { 3472 "token": [] 3473 }, 3474 { 3475 "apikey": [] 3476 }, 3477 { 3478 "csrf_token": [] 3479 } 3480 ], 3481 "summary": "Views for working with organizations.", 3482 "tags": [ 3483 "orgs" 3484 ] 3485 } 3486 }, 3487 "/packages/{owner}/{repo}/": { 3488 "get": { 3489 "description": "Get a list of all packages associated with repository.", 3490 "operationId": "packages_list", 3491 "parameters": [ 3492 { 3493 "description": "", 3494 "in": "path", 3495 "name": "owner", 3496 "required": true, 3497 "type": "string" 3498 }, 3499 { 3500 "description": "", 3501 "in": "path", 3502 "name": "repo", 3503 "required": true, 3504 "type": "string" 3505 }, 3506 { 3507 "description": "A page number within the paginated result set.", 3508 "in": "query", 3509 "name": "page", 3510 "required": false, 3511 "type": "integer" 3512 }, 3513 { 3514 "description": "Number of results to return per page.", 3515 "in": "query", 3516 "name": "page_size", 3517 "required": false, 3518 "type": "integer" 3519 }, 3520 { 3521 "description": "A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages.", 3522 "in": "query", 3523 "name": "query", 3524 "required": false, 3525 "type": "string" 3526 } 3527 ], 3528 "responses": { 3529 "200": { 3530 "description": "Retrieved the list of packages", 3531 "schema": { 3532 "items": { 3533 "properties": { 3534 "architectures": { 3535 "description": "", 3536 "items": { 3537 "properties": { 3538 "description": { 3539 "description": "", 3540 "type": "string" 3541 }, 3542 "name": { 3543 "description": "", 3544 "type": "string" 3545 } 3546 }, 3547 "type": "object" 3548 }, 3549 "title": "ArchitecturesList", 3550 "type": "array" 3551 }, 3552 "cdn_url": { 3553 "description": "", 3554 "type": "string" 3555 }, 3556 "checksum_md5": { 3557 "description": "", 3558 "type": "string" 3559 }, 3560 "checksum_sha1": { 3561 "description": "", 3562 "type": "string" 3563 }, 3564 "checksum_sha256": { 3565 "description": "", 3566 "type": "string" 3567 }, 3568 "checksum_sha512": { 3569 "description": "", 3570 "type": "string" 3571 }, 3572 "description": { 3573 "description": "A textual description of this package.", 3574 "type": "string" 3575 }, 3576 "distro": { 3577 "description": "", 3578 "type": "object" 3579 }, 3580 "distro_version": { 3581 "description": "", 3582 "type": "object" 3583 }, 3584 "downloads": { 3585 "description": "", 3586 "type": "integer" 3587 }, 3588 "epoch": { 3589 "description": "The epoch of the package version (if any).", 3590 "type": "integer" 3591 }, 3592 "extension": { 3593 "description": "", 3594 "type": "string" 3595 }, 3596 "filename": { 3597 "description": "", 3598 "type": "string" 3599 }, 3600 "files": { 3601 "description": "", 3602 "items": { 3603 "properties": { 3604 "cdn_url": { 3605 "description": "", 3606 "type": "string" 3607 }, 3608 "checksum_md5": { 3609 "description": "", 3610 "type": "string" 3611 }, 3612 "checksum_sha1": { 3613 "description": "", 3614 "type": "string" 3615 }, 3616 "checksum_sha256": { 3617 "description": "", 3618 "type": "string" 3619 }, 3620 "checksum_sha512": { 3621 "description": "", 3622 "type": "string" 3623 }, 3624 "downloads": { 3625 "description": "", 3626 "type": "integer" 3627 }, 3628 "filename": { 3629 "description": "", 3630 "type": "string" 3631 }, 3632 "is_downloadable": { 3633 "description": "", 3634 "type": "boolean" 3635 }, 3636 "is_primary": { 3637 "description": "", 3638 "type": "boolean" 3639 }, 3640 "is_synchronised": { 3641 "description": "", 3642 "type": "boolean" 3643 }, 3644 "size": { 3645 "description": "The calculated size of the file.", 3646 "type": "integer" 3647 }, 3648 "slug_perm": { 3649 "description": "", 3650 "type": "string" 3651 }, 3652 "tag": { 3653 "description": "Freeform descriptor that describes what the file is.", 3654 "type": "string" 3655 } 3656 }, 3657 "type": "object" 3658 }, 3659 "title": "FilesList", 3660 "type": "array" 3661 }, 3662 "format": { 3663 "description": "", 3664 "type": "string" 3665 }, 3666 "format_url": { 3667 "description": "", 3668 "type": "string" 3669 }, 3670 "identifier_perm": { 3671 "description": "Unique and permanent identifier for the package.", 3672 "type": "string" 3673 }, 3674 "indexed": { 3675 "description": "", 3676 "type": "boolean" 3677 }, 3678 "is_sync_awaiting": { 3679 "description": "", 3680 "type": "boolean" 3681 }, 3682 "is_sync_completed": { 3683 "description": "", 3684 "type": "boolean" 3685 }, 3686 "is_sync_failed": { 3687 "description": "", 3688 "type": "boolean" 3689 }, 3690 "is_sync_in_flight": { 3691 "description": "", 3692 "type": "boolean" 3693 }, 3694 "is_sync_in_progress": { 3695 "description": "", 3696 "type": "boolean" 3697 }, 3698 "license": { 3699 "description": "The license of this package.", 3700 "type": "string" 3701 }, 3702 "name": { 3703 "description": "The name of this package.", 3704 "type": "string" 3705 }, 3706 "namespace": { 3707 "description": "", 3708 "type": "string" 3709 }, 3710 "namespace_url": { 3711 "description": "", 3712 "type": "string" 3713 }, 3714 "num_files": { 3715 "description": "", 3716 "type": "integer" 3717 }, 3718 "package_type": { 3719 "description": "The type of package contents.", 3720 "type": "string" 3721 }, 3722 "release": { 3723 "description": "The release of the package version (if any).", 3724 "type": "string" 3725 }, 3726 "repository": { 3727 "description": "", 3728 "type": "string" 3729 }, 3730 "repository_url": { 3731 "description": "", 3732 "type": "string" 3733 }, 3734 "self_html_url": { 3735 "description": "", 3736 "type": "string" 3737 }, 3738 "self_url": { 3739 "description": "", 3740 "type": "string" 3741 }, 3742 "size": { 3743 "description": "The calculated size of the package.", 3744 "type": "integer" 3745 }, 3746 "slug": { 3747 "description": "", 3748 "type": "string" 3749 }, 3750 "slug_perm": { 3751 "description": "", 3752 "type": "string" 3753 }, 3754 "stage": { 3755 "description": "The synchronisation (in progress) stage of the package.", 3756 "type": "string" 3757 }, 3758 "stage_str": { 3759 "description": "", 3760 "type": "string" 3761 }, 3762 "stage_updated_at": { 3763 "description": "The datetime the package stage was updated at.", 3764 "type": "string" 3765 }, 3766 "status": { 3767 "description": "The synchronisation status of the package.", 3768 "type": "string" 3769 }, 3770 "status_reason": { 3771 "description": "A textual description for the synchronous status reason (if any", 3772 "type": "string" 3773 }, 3774 "status_str": { 3775 "description": "", 3776 "type": "string" 3777 }, 3778 "status_updated_at": { 3779 "description": "The datetime the package status was updated at.", 3780 "type": "string" 3781 }, 3782 "status_url": { 3783 "description": "", 3784 "type": "string" 3785 }, 3786 "subtype": { 3787 "description": "", 3788 "type": "string" 3789 }, 3790 "summary": { 3791 "description": "A one-liner synopsis of this package.", 3792 "type": "string" 3793 }, 3794 "sync_finished_at": { 3795 "description": "The datetime the package sync was finished at.", 3796 "type": "string" 3797 }, 3798 "sync_progress": { 3799 "description": "Synchronisation progress (from 0-100)", 3800 "type": "integer" 3801 }, 3802 "type_display": { 3803 "description": "", 3804 "type": "string" 3805 }, 3806 "uploaded_at": { 3807 "description": "The date this package was uploaded.", 3808 "type": "string" 3809 }, 3810 "uploader": { 3811 "description": "", 3812 "type": "string" 3813 }, 3814 "uploader_url": { 3815 "description": "", 3816 "type": "string" 3817 }, 3818 "version": { 3819 "description": "The raw version for this package.", 3820 "type": "string" 3821 }, 3822 "version_orig": { 3823 "description": "", 3824 "type": "string" 3825 } 3826 }, 3827 "title": "Package", 3828 "type": "object" 3829 }, 3830 "title": "PackageList", 3831 "type": "array" 3832 } 3833 }, 3834 "400": { 3835 "description": "Request could not be processed (see detail)", 3836 "schema": { 3837 "properties": { 3838 "detail": { 3839 "description": "An extended message for the response.", 3840 "type": "string" 3841 } 3842 }, 3843 "required": [ 3844 "detail" 3845 ], 3846 "title": "Status", 3847 "type": "object" 3848 } 3849 }, 3850 "422": { 3851 "description": "Missing or invalid parameters (see detail)", 3852 "schema": { 3853 "properties": { 3854 "detail": { 3855 "description": "An extended message for the response.", 3856 "type": "string" 3857 } 3858 }, 3859 "required": [ 3860 "detail" 3861 ], 3862 "title": "Status", 3863 "type": "object" 3864 } 3865 } 3866 }, 3867 "security": [ 3868 { 3869 "token": [] 3870 }, 3871 { 3872 "apikey": [] 3873 }, 3874 { 3875 "csrf_token": [] 3876 } 3877 ], 3878 "summary": "Get a list of all packages associated with repository.", 3879 "tags": [ 3880 "packages" 3881 ] 3882 } 3883 }, 3884 "/packages/{owner}/{repo}/upload/alpine/": { 3885 "post": { 3886 "consumes": [ 3887 "application/json" 3888 ], 3889 "description": "Create a new Alpine package", 3890 "operationId": "packages_upload_alpine", 3891 "parameters": [ 3892 { 3893 "description": "", 3894 "in": "path", 3895 "name": "owner", 3896 "required": true, 3897 "type": "string" 3898 }, 3899 { 3900 "description": "", 3901 "in": "path", 3902 "name": "repo", 3903 "required": true, 3904 "type": "string" 3905 }, 3906 { 3907 "in": "body", 3908 "name": "data", 3909 "schema": { 3910 "properties": { 3911 "distribution": { 3912 "description": "The distribution to store the package for.", 3913 "example": "alpine/v3.8", 3914 "type": "string" 3915 }, 3916 "package_file": { 3917 "description": "The primary file for the package.", 3918 "example": "a123456789", 3919 "type": "string" 3920 }, 3921 "republish": { 3922 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 3923 "type": "boolean" 3924 } 3925 }, 3926 "required": [ 3927 "distribution", 3928 "package_file" 3929 ], 3930 "title": "PackagesUploadAlpine", 3931 "type": "object" 3932 } 3933 } 3934 ], 3935 "responses": { 3936 "201": { 3937 "description": "Upload acknowledged and queued for synchronisation", 3938 "schema": { 3939 "properties": { 3940 "architectures": { 3941 "description": "", 3942 "items": { 3943 "properties": { 3944 "description": { 3945 "description": "", 3946 "type": "string" 3947 }, 3948 "name": { 3949 "description": "", 3950 "type": "string" 3951 } 3952 }, 3953 "type": "object" 3954 }, 3955 "title": "ArchitecturesList", 3956 "type": "array" 3957 }, 3958 "cdn_url": { 3959 "description": "", 3960 "type": "string" 3961 }, 3962 "checksum_md5": { 3963 "description": "", 3964 "type": "string" 3965 }, 3966 "checksum_sha1": { 3967 "description": "", 3968 "type": "string" 3969 }, 3970 "checksum_sha256": { 3971 "description": "", 3972 "type": "string" 3973 }, 3974 "checksum_sha512": { 3975 "description": "", 3976 "type": "string" 3977 }, 3978 "description": { 3979 "description": "A textual description of this package.", 3980 "type": "string" 3981 }, 3982 "distro": { 3983 "description": "", 3984 "type": "object" 3985 }, 3986 "distro_version": { 3987 "description": "", 3988 "type": "object" 3989 }, 3990 "downloads": { 3991 "description": "", 3992 "type": "integer" 3993 }, 3994 "epoch": { 3995 "description": "The epoch of the package version (if any).", 3996 "type": "integer" 3997 }, 3998 "extension": { 3999 "description": "", 4000 "type": "string" 4001 }, 4002 "filename": { 4003 "description": "", 4004 "type": "string" 4005 }, 4006 "files": { 4007 "description": "", 4008 "items": { 4009 "properties": { 4010 "cdn_url": { 4011 "description": "", 4012 "type": "string" 4013 }, 4014 "checksum_md5": { 4015 "description": "", 4016 "type": "string" 4017 }, 4018 "checksum_sha1": { 4019 "description": "", 4020 "type": "string" 4021 }, 4022 "checksum_sha256": { 4023 "description": "", 4024 "type": "string" 4025 }, 4026 "checksum_sha512": { 4027 "description": "", 4028 "type": "string" 4029 }, 4030 "downloads": { 4031 "description": "", 4032 "type": "integer" 4033 }, 4034 "filename": { 4035 "description": "", 4036 "type": "string" 4037 }, 4038 "is_downloadable": { 4039 "description": "", 4040 "type": "boolean" 4041 }, 4042 "is_primary": { 4043 "description": "", 4044 "type": "boolean" 4045 }, 4046 "is_synchronised": { 4047 "description": "", 4048 "type": "boolean" 4049 }, 4050 "size": { 4051 "description": "The calculated size of the file.", 4052 "type": "integer" 4053 }, 4054 "slug_perm": { 4055 "description": "", 4056 "type": "string" 4057 }, 4058 "tag": { 4059 "description": "Freeform descriptor that describes what the file is.", 4060 "type": "string" 4061 } 4062 }, 4063 "type": "object" 4064 }, 4065 "title": "FilesList", 4066 "type": "array" 4067 }, 4068 "format": { 4069 "description": "", 4070 "type": "string" 4071 }, 4072 "format_url": { 4073 "description": "", 4074 "type": "string" 4075 }, 4076 "identifier_perm": { 4077 "description": "Unique and permanent identifier for the package.", 4078 "type": "string" 4079 }, 4080 "indexed": { 4081 "description": "", 4082 "type": "boolean" 4083 }, 4084 "is_sync_awaiting": { 4085 "description": "", 4086 "type": "boolean" 4087 }, 4088 "is_sync_completed": { 4089 "description": "", 4090 "type": "boolean" 4091 }, 4092 "is_sync_failed": { 4093 "description": "", 4094 "type": "boolean" 4095 }, 4096 "is_sync_in_flight": { 4097 "description": "", 4098 "type": "boolean" 4099 }, 4100 "is_sync_in_progress": { 4101 "description": "", 4102 "type": "boolean" 4103 }, 4104 "license": { 4105 "description": "The license of this package.", 4106 "type": "string" 4107 }, 4108 "name": { 4109 "description": "The name of this package.", 4110 "type": "string" 4111 }, 4112 "namespace": { 4113 "description": "", 4114 "type": "string" 4115 }, 4116 "namespace_url": { 4117 "description": "", 4118 "type": "string" 4119 }, 4120 "num_files": { 4121 "description": "", 4122 "type": "integer" 4123 }, 4124 "package_type": { 4125 "description": "The type of package contents.", 4126 "type": "string" 4127 }, 4128 "release": { 4129 "description": "The release of the package version (if any).", 4130 "type": "string" 4131 }, 4132 "repository": { 4133 "description": "", 4134 "type": "string" 4135 }, 4136 "repository_url": { 4137 "description": "", 4138 "type": "string" 4139 }, 4140 "self_html_url": { 4141 "description": "", 4142 "type": "string" 4143 }, 4144 "self_url": { 4145 "description": "", 4146 "type": "string" 4147 }, 4148 "size": { 4149 "description": "The calculated size of the package.", 4150 "type": "integer" 4151 }, 4152 "slug": { 4153 "description": "", 4154 "type": "string" 4155 }, 4156 "slug_perm": { 4157 "description": "", 4158 "type": "string" 4159 }, 4160 "stage": { 4161 "description": "The synchronisation (in progress) stage of the package.", 4162 "type": "string" 4163 }, 4164 "stage_str": { 4165 "description": "", 4166 "type": "string" 4167 }, 4168 "stage_updated_at": { 4169 "description": "The datetime the package stage was updated at.", 4170 "type": "string" 4171 }, 4172 "status": { 4173 "description": "The synchronisation status of the package.", 4174 "type": "string" 4175 }, 4176 "status_reason": { 4177 "description": "A textual description for the synchronous status reason (if any", 4178 "type": "string" 4179 }, 4180 "status_str": { 4181 "description": "", 4182 "type": "string" 4183 }, 4184 "status_updated_at": { 4185 "description": "The datetime the package status was updated at.", 4186 "type": "string" 4187 }, 4188 "status_url": { 4189 "description": "", 4190 "type": "string" 4191 }, 4192 "subtype": { 4193 "description": "", 4194 "type": "string" 4195 }, 4196 "summary": { 4197 "description": "A one-liner synopsis of this package.", 4198 "type": "string" 4199 }, 4200 "sync_finished_at": { 4201 "description": "The datetime the package sync was finished at.", 4202 "type": "string" 4203 }, 4204 "sync_progress": { 4205 "description": "Synchronisation progress (from 0-100)", 4206 "type": "integer" 4207 }, 4208 "type_display": { 4209 "description": "", 4210 "type": "string" 4211 }, 4212 "uploaded_at": { 4213 "description": "The date this package was uploaded.", 4214 "type": "string" 4215 }, 4216 "uploader": { 4217 "description": "", 4218 "type": "string" 4219 }, 4220 "uploader_url": { 4221 "description": "", 4222 "type": "string" 4223 }, 4224 "version": { 4225 "description": "The raw version for this package.", 4226 "type": "string" 4227 }, 4228 "version_orig": { 4229 "description": "", 4230 "type": "string" 4231 } 4232 }, 4233 "title": "AlpinePackageUpload", 4234 "type": "object" 4235 } 4236 }, 4237 "400": { 4238 "description": "Request could not be processed (see detail)", 4239 "schema": { 4240 "properties": { 4241 "detail": { 4242 "description": "An extended message for the response.", 4243 "type": "string" 4244 } 4245 }, 4246 "required": [ 4247 "detail" 4248 ], 4249 "title": "Status", 4250 "type": "object" 4251 } 4252 }, 4253 "404": { 4254 "description": "Namespace (owner) or repository not found", 4255 "schema": { 4256 "properties": { 4257 "detail": { 4258 "description": "An extended message for the response.", 4259 "type": "string" 4260 } 4261 }, 4262 "required": [ 4263 "detail" 4264 ], 4265 "title": "Status", 4266 "type": "object" 4267 } 4268 }, 4269 "422": { 4270 "description": "Missing or invalid parameters (see detail)", 4271 "schema": { 4272 "properties": { 4273 "detail": { 4274 "description": "An extended message for the response.", 4275 "type": "string" 4276 } 4277 }, 4278 "required": [ 4279 "detail" 4280 ], 4281 "title": "Status", 4282 "type": "object" 4283 } 4284 } 4285 }, 4286 "security": [ 4287 { 4288 "token": [] 4289 }, 4290 { 4291 "apikey": [] 4292 }, 4293 { 4294 "csrf_token": [] 4295 } 4296 ], 4297 "summary": "Create a new Alpine package", 4298 "tags": [ 4299 "packages" 4300 ] 4301 } 4302 }, 4303 "/packages/{owner}/{repo}/upload/cargo/": { 4304 "post": { 4305 "consumes": [ 4306 "application/json" 4307 ], 4308 "description": "Create a new Cargo package", 4309 "operationId": "packages_upload_cargo", 4310 "parameters": [ 4311 { 4312 "description": "", 4313 "in": "path", 4314 "name": "owner", 4315 "required": true, 4316 "type": "string" 4317 }, 4318 { 4319 "description": "", 4320 "in": "path", 4321 "name": "repo", 4322 "required": true, 4323 "type": "string" 4324 }, 4325 { 4326 "in": "body", 4327 "name": "data", 4328 "schema": { 4329 "properties": { 4330 "package_file": { 4331 "description": "The primary file for the package.", 4332 "example": "x123456789a", 4333 "type": "string" 4334 }, 4335 "republish": { 4336 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 4337 "type": "boolean" 4338 } 4339 }, 4340 "required": [ 4341 "package_file" 4342 ], 4343 "title": "PackagesUploadCargo", 4344 "type": "object" 4345 } 4346 } 4347 ], 4348 "responses": { 4349 "201": { 4350 "description": "Upload acknowledged and queued for synchronisation", 4351 "schema": { 4352 "properties": { 4353 "architectures": { 4354 "description": "", 4355 "items": { 4356 "properties": { 4357 "description": { 4358 "description": "", 4359 "type": "string" 4360 }, 4361 "name": { 4362 "description": "", 4363 "type": "string" 4364 } 4365 }, 4366 "type": "object" 4367 }, 4368 "title": "ArchitecturesList", 4369 "type": "array" 4370 }, 4371 "cdn_url": { 4372 "description": "", 4373 "type": "string" 4374 }, 4375 "checksum_md5": { 4376 "description": "", 4377 "type": "string" 4378 }, 4379 "checksum_sha1": { 4380 "description": "", 4381 "type": "string" 4382 }, 4383 "checksum_sha256": { 4384 "description": "", 4385 "type": "string" 4386 }, 4387 "checksum_sha512": { 4388 "description": "", 4389 "type": "string" 4390 }, 4391 "description": { 4392 "description": "A textual description of this package.", 4393 "type": "string" 4394 }, 4395 "distro": { 4396 "description": "", 4397 "type": "object" 4398 }, 4399 "distro_version": { 4400 "description": "", 4401 "type": "object" 4402 }, 4403 "downloads": { 4404 "description": "", 4405 "type": "integer" 4406 }, 4407 "epoch": { 4408 "description": "The epoch of the package version (if any).", 4409 "type": "integer" 4410 }, 4411 "extension": { 4412 "description": "", 4413 "type": "string" 4414 }, 4415 "filename": { 4416 "description": "", 4417 "type": "string" 4418 }, 4419 "files": { 4420 "description": "", 4421 "items": { 4422 "properties": { 4423 "cdn_url": { 4424 "description": "", 4425 "type": "string" 4426 }, 4427 "checksum_md5": { 4428 "description": "", 4429 "type": "string" 4430 }, 4431 "checksum_sha1": { 4432 "description": "", 4433 "type": "string" 4434 }, 4435 "checksum_sha256": { 4436 "description": "", 4437 "type": "string" 4438 }, 4439 "checksum_sha512": { 4440 "description": "", 4441 "type": "string" 4442 }, 4443 "downloads": { 4444 "description": "", 4445 "type": "integer" 4446 }, 4447 "filename": { 4448 "description": "", 4449 "type": "string" 4450 }, 4451 "is_downloadable": { 4452 "description": "", 4453 "type": "boolean" 4454 }, 4455 "is_primary": { 4456 "description": "", 4457 "type": "boolean" 4458 }, 4459 "is_synchronised": { 4460 "description": "", 4461 "type": "boolean" 4462 }, 4463 "size": { 4464 "description": "The calculated size of the file.", 4465 "type": "integer" 4466 }, 4467 "slug_perm": { 4468 "description": "", 4469 "type": "string" 4470 }, 4471 "tag": { 4472 "description": "Freeform descriptor that describes what the file is.", 4473 "type": "string" 4474 } 4475 }, 4476 "type": "object" 4477 }, 4478 "title": "FilesList", 4479 "type": "array" 4480 }, 4481 "format": { 4482 "description": "", 4483 "type": "string" 4484 }, 4485 "format_url": { 4486 "description": "", 4487 "type": "string" 4488 }, 4489 "identifier_perm": { 4490 "description": "Unique and permanent identifier for the package.", 4491 "type": "string" 4492 }, 4493 "indexed": { 4494 "description": "", 4495 "type": "boolean" 4496 }, 4497 "is_sync_awaiting": { 4498 "description": "", 4499 "type": "boolean" 4500 }, 4501 "is_sync_completed": { 4502 "description": "", 4503 "type": "boolean" 4504 }, 4505 "is_sync_failed": { 4506 "description": "", 4507 "type": "boolean" 4508 }, 4509 "is_sync_in_flight": { 4510 "description": "", 4511 "type": "boolean" 4512 }, 4513 "is_sync_in_progress": { 4514 "description": "", 4515 "type": "boolean" 4516 }, 4517 "license": { 4518 "description": "The license of this package.", 4519 "type": "string" 4520 }, 4521 "name": { 4522 "description": "The name of this package.", 4523 "type": "string" 4524 }, 4525 "namespace": { 4526 "description": "", 4527 "type": "string" 4528 }, 4529 "namespace_url": { 4530 "description": "", 4531 "type": "string" 4532 }, 4533 "num_files": { 4534 "description": "", 4535 "type": "integer" 4536 }, 4537 "package_type": { 4538 "description": "The type of package contents.", 4539 "type": "string" 4540 }, 4541 "release": { 4542 "description": "The release of the package version (if any).", 4543 "type": "string" 4544 }, 4545 "repository": { 4546 "description": "", 4547 "type": "string" 4548 }, 4549 "repository_url": { 4550 "description": "", 4551 "type": "string" 4552 }, 4553 "self_html_url": { 4554 "description": "", 4555 "type": "string" 4556 }, 4557 "self_url": { 4558 "description": "", 4559 "type": "string" 4560 }, 4561 "size": { 4562 "description": "The calculated size of the package.", 4563 "type": "integer" 4564 }, 4565 "slug": { 4566 "description": "", 4567 "type": "string" 4568 }, 4569 "slug_perm": { 4570 "description": "", 4571 "type": "string" 4572 }, 4573 "stage": { 4574 "description": "The synchronisation (in progress) stage of the package.", 4575 "type": "string" 4576 }, 4577 "stage_str": { 4578 "description": "", 4579 "type": "string" 4580 }, 4581 "stage_updated_at": { 4582 "description": "The datetime the package stage was updated at.", 4583 "type": "string" 4584 }, 4585 "status": { 4586 "description": "The synchronisation status of the package.", 4587 "type": "string" 4588 }, 4589 "status_reason": { 4590 "description": "A textual description for the synchronous status reason (if any", 4591 "type": "string" 4592 }, 4593 "status_str": { 4594 "description": "", 4595 "type": "string" 4596 }, 4597 "status_updated_at": { 4598 "description": "The datetime the package status was updated at.", 4599 "type": "string" 4600 }, 4601 "status_url": { 4602 "description": "", 4603 "type": "string" 4604 }, 4605 "subtype": { 4606 "description": "", 4607 "type": "string" 4608 }, 4609 "summary": { 4610 "description": "A one-liner synopsis of this package.", 4611 "type": "string" 4612 }, 4613 "sync_finished_at": { 4614 "description": "The datetime the package sync was finished at.", 4615 "type": "string" 4616 }, 4617 "sync_progress": { 4618 "description": "Synchronisation progress (from 0-100)", 4619 "type": "integer" 4620 }, 4621 "type_display": { 4622 "description": "", 4623 "type": "string" 4624 }, 4625 "uploaded_at": { 4626 "description": "The date this package was uploaded.", 4627 "type": "string" 4628 }, 4629 "uploader": { 4630 "description": "", 4631 "type": "string" 4632 }, 4633 "uploader_url": { 4634 "description": "", 4635 "type": "string" 4636 }, 4637 "version": { 4638 "description": "The raw version for this package.", 4639 "type": "string" 4640 }, 4641 "version_orig": { 4642 "description": "", 4643 "type": "string" 4644 } 4645 }, 4646 "title": "CargoPackageUpload", 4647 "type": "object" 4648 } 4649 }, 4650 "400": { 4651 "description": "Request could not be processed (see detail)", 4652 "schema": { 4653 "properties": { 4654 "detail": { 4655 "description": "An extended message for the response.", 4656 "type": "string" 4657 } 4658 }, 4659 "required": [ 4660 "detail" 4661 ], 4662 "title": "Status", 4663 "type": "object" 4664 } 4665 }, 4666 "404": { 4667 "description": "Namespace (owner) or repository not found", 4668 "schema": { 4669 "properties": { 4670 "detail": { 4671 "description": "An extended message for the response.", 4672 "type": "string" 4673 } 4674 }, 4675 "required": [ 4676 "detail" 4677 ], 4678 "title": "Status", 4679 "type": "object" 4680 } 4681 }, 4682 "422": { 4683 "description": "Missing or invalid parameters (see detail)", 4684 "schema": { 4685 "properties": { 4686 "detail": { 4687 "description": "An extended message for the response.", 4688 "type": "string" 4689 } 4690 }, 4691 "required": [ 4692 "detail" 4693 ], 4694 "title": "Status", 4695 "type": "object" 4696 } 4697 } 4698 }, 4699 "security": [ 4700 { 4701 "token": [] 4702 }, 4703 { 4704 "apikey": [] 4705 }, 4706 { 4707 "csrf_token": [] 4708 } 4709 ], 4710 "summary": "Create a new Cargo package", 4711 "tags": [ 4712 "packages" 4713 ] 4714 } 4715 }, 4716 "/packages/{owner}/{repo}/upload/cocoapods/": { 4717 "post": { 4718 "consumes": [ 4719 "application/json" 4720 ], 4721 "description": "Create a new CocoaPods package", 4722 "operationId": "packages_upload_cocoapods", 4723 "parameters": [ 4724 { 4725 "description": "", 4726 "in": "path", 4727 "name": "owner", 4728 "required": true, 4729 "type": "string" 4730 }, 4731 { 4732 "description": "", 4733 "in": "path", 4734 "name": "repo", 4735 "required": true, 4736 "type": "string" 4737 }, 4738 { 4739 "in": "body", 4740 "name": "data", 4741 "schema": { 4742 "properties": { 4743 "package_file": { 4744 "description": "The primary file for the package.", 4745 "example": "z123456789", 4746 "type": "string" 4747 }, 4748 "republish": { 4749 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 4750 "type": "boolean" 4751 } 4752 }, 4753 "required": [ 4754 "package_file" 4755 ], 4756 "title": "PackagesUploadCocoapods", 4757 "type": "object" 4758 } 4759 } 4760 ], 4761 "responses": { 4762 "201": { 4763 "description": "Upload acknowledged and queued for synchronisation", 4764 "schema": { 4765 "properties": { 4766 "architectures": { 4767 "description": "", 4768 "items": { 4769 "properties": { 4770 "description": { 4771 "description": "", 4772 "type": "string" 4773 }, 4774 "name": { 4775 "description": "", 4776 "type": "string" 4777 } 4778 }, 4779 "type": "object" 4780 }, 4781 "title": "ArchitecturesList", 4782 "type": "array" 4783 }, 4784 "cdn_url": { 4785 "description": "", 4786 "type": "string" 4787 }, 4788 "checksum_md5": { 4789 "description": "", 4790 "type": "string" 4791 }, 4792 "checksum_sha1": { 4793 "description": "", 4794 "type": "string" 4795 }, 4796 "checksum_sha256": { 4797 "description": "", 4798 "type": "string" 4799 }, 4800 "checksum_sha512": { 4801 "description": "", 4802 "type": "string" 4803 }, 4804 "description": { 4805 "description": "A textual description of this package.", 4806 "type": "string" 4807 }, 4808 "distro": { 4809 "description": "", 4810 "type": "object" 4811 }, 4812 "distro_version": { 4813 "description": "", 4814 "type": "object" 4815 }, 4816 "downloads": { 4817 "description": "", 4818 "type": "integer" 4819 }, 4820 "epoch": { 4821 "description": "The epoch of the package version (if any).", 4822 "type": "integer" 4823 }, 4824 "extension": { 4825 "description": "", 4826 "type": "string" 4827 }, 4828 "filename": { 4829 "description": "", 4830 "type": "string" 4831 }, 4832 "files": { 4833 "description": "", 4834 "items": { 4835 "properties": { 4836 "cdn_url": { 4837 "description": "", 4838 "type": "string" 4839 }, 4840 "checksum_md5": { 4841 "description": "", 4842 "type": "string" 4843 }, 4844 "checksum_sha1": { 4845 "description": "", 4846 "type": "string" 4847 }, 4848 "checksum_sha256": { 4849 "description": "", 4850 "type": "string" 4851 }, 4852 "checksum_sha512": { 4853 "description": "", 4854 "type": "string" 4855 }, 4856 "downloads": { 4857 "description": "", 4858 "type": "integer" 4859 }, 4860 "filename": { 4861 "description": "", 4862 "type": "string" 4863 }, 4864 "is_downloadable": { 4865 "description": "", 4866 "type": "boolean" 4867 }, 4868 "is_primary": { 4869 "description": "", 4870 "type": "boolean" 4871 }, 4872 "is_synchronised": { 4873 "description": "", 4874 "type": "boolean" 4875 }, 4876 "size": { 4877 "description": "The calculated size of the file.", 4878 "type": "integer" 4879 }, 4880 "slug_perm": { 4881 "description": "", 4882 "type": "string" 4883 }, 4884 "tag": { 4885 "description": "Freeform descriptor that describes what the file is.", 4886 "type": "string" 4887 } 4888 }, 4889 "type": "object" 4890 }, 4891 "title": "FilesList", 4892 "type": "array" 4893 }, 4894 "format": { 4895 "description": "", 4896 "type": "string" 4897 }, 4898 "format_url": { 4899 "description": "", 4900 "type": "string" 4901 }, 4902 "identifier_perm": { 4903 "description": "Unique and permanent identifier for the package.", 4904 "type": "string" 4905 }, 4906 "indexed": { 4907 "description": "", 4908 "type": "boolean" 4909 }, 4910 "is_sync_awaiting": { 4911 "description": "", 4912 "type": "boolean" 4913 }, 4914 "is_sync_completed": { 4915 "description": "", 4916 "type": "boolean" 4917 }, 4918 "is_sync_failed": { 4919 "description": "", 4920 "type": "boolean" 4921 }, 4922 "is_sync_in_flight": { 4923 "description": "", 4924 "type": "boolean" 4925 }, 4926 "is_sync_in_progress": { 4927 "description": "", 4928 "type": "boolean" 4929 }, 4930 "license": { 4931 "description": "The license of this package.", 4932 "type": "string" 4933 }, 4934 "name": { 4935 "description": "The name of this package.", 4936 "type": "string" 4937 }, 4938 "namespace": { 4939 "description": "", 4940 "type": "string" 4941 }, 4942 "namespace_url": { 4943 "description": "", 4944 "type": "string" 4945 }, 4946 "num_files": { 4947 "description": "", 4948 "type": "integer" 4949 }, 4950 "package_type": { 4951 "description": "The type of package contents.", 4952 "type": "string" 4953 }, 4954 "release": { 4955 "description": "The release of the package version (if any).", 4956 "type": "string" 4957 }, 4958 "repository": { 4959 "description": "", 4960 "type": "string" 4961 }, 4962 "repository_url": { 4963 "description": "", 4964 "type": "string" 4965 }, 4966 "self_html_url": { 4967 "description": "", 4968 "type": "string" 4969 }, 4970 "self_url": { 4971 "description": "", 4972 "type": "string" 4973 }, 4974 "size": { 4975 "description": "The calculated size of the package.", 4976 "type": "integer" 4977 }, 4978 "slug": { 4979 "description": "", 4980 "type": "string" 4981 }, 4982 "slug_perm": { 4983 "description": "", 4984 "type": "string" 4985 }, 4986 "stage": { 4987 "description": "The synchronisation (in progress) stage of the package.", 4988 "type": "string" 4989 }, 4990 "stage_str": { 4991 "description": "", 4992 "type": "string" 4993 }, 4994 "stage_updated_at": { 4995 "description": "The datetime the package stage was updated at.", 4996 "type": "string" 4997 }, 4998 "status": { 4999 "description": "The synchronisation status of the package.", 5000 "type": "string" 5001 }, 5002 "status_reason": { 5003 "description": "A textual description for the synchronous status reason (if any", 5004 "type": "string" 5005 }, 5006 "status_str": { 5007 "description": "", 5008 "type": "string" 5009 }, 5010 "status_updated_at": { 5011 "description": "The datetime the package status was updated at.", 5012 "type": "string" 5013 }, 5014 "status_url": { 5015 "description": "", 5016 "type": "string" 5017 }, 5018 "subtype": { 5019 "description": "", 5020 "type": "string" 5021 }, 5022 "summary": { 5023 "description": "A one-liner synopsis of this package.", 5024 "type": "string" 5025 }, 5026 "sync_finished_at": { 5027 "description": "The datetime the package sync was finished at.", 5028 "type": "string" 5029 }, 5030 "sync_progress": { 5031 "description": "Synchronisation progress (from 0-100)", 5032 "type": "integer" 5033 }, 5034 "type_display": { 5035 "description": "", 5036 "type": "string" 5037 }, 5038 "uploaded_at": { 5039 "description": "The date this package was uploaded.", 5040 "type": "string" 5041 }, 5042 "uploader": { 5043 "description": "", 5044 "type": "string" 5045 }, 5046 "uploader_url": { 5047 "description": "", 5048 "type": "string" 5049 }, 5050 "version": { 5051 "description": "The raw version for this package.", 5052 "type": "string" 5053 }, 5054 "version_orig": { 5055 "description": "", 5056 "type": "string" 5057 } 5058 }, 5059 "title": "CocoapodsPackageUpload", 5060 "type": "object" 5061 } 5062 }, 5063 "400": { 5064 "description": "Request could not be processed (see detail)", 5065 "schema": { 5066 "properties": { 5067 "detail": { 5068 "description": "An extended message for the response.", 5069 "type": "string" 5070 } 5071 }, 5072 "required": [ 5073 "detail" 5074 ], 5075 "title": "Status", 5076 "type": "object" 5077 } 5078 }, 5079 "404": { 5080 "description": "Namespace (owner) or repository not found", 5081 "schema": { 5082 "properties": { 5083 "detail": { 5084 "description": "An extended message for the response.", 5085 "type": "string" 5086 } 5087 }, 5088 "required": [ 5089 "detail" 5090 ], 5091 "title": "Status", 5092 "type": "object" 5093 } 5094 }, 5095 "422": { 5096 "description": "Missing or invalid parameters (see detail)", 5097 "schema": { 5098 "properties": { 5099 "detail": { 5100 "description": "An extended message for the response.", 5101 "type": "string" 5102 } 5103 }, 5104 "required": [ 5105 "detail" 5106 ], 5107 "title": "Status", 5108 "type": "object" 5109 } 5110 } 5111 }, 5112 "security": [ 5113 { 5114 "token": [] 5115 }, 5116 { 5117 "apikey": [] 5118 }, 5119 { 5120 "csrf_token": [] 5121 } 5122 ], 5123 "summary": "Create a new CocoaPods package", 5124 "tags": [ 5125 "packages" 5126 ] 5127 } 5128 }, 5129 "/packages/{owner}/{repo}/upload/composer/": { 5130 "post": { 5131 "consumes": [ 5132 "application/json" 5133 ], 5134 "description": "Create a new Composer package", 5135 "operationId": "packages_upload_composer", 5136 "parameters": [ 5137 { 5138 "description": "", 5139 "in": "path", 5140 "name": "owner", 5141 "required": true, 5142 "type": "string" 5143 }, 5144 { 5145 "description": "", 5146 "in": "path", 5147 "name": "repo", 5148 "required": true, 5149 "type": "string" 5150 }, 5151 { 5152 "in": "body", 5153 "name": "data", 5154 "schema": { 5155 "properties": { 5156 "package_file": { 5157 "description": "The primary file for the package.", 5158 "example": "y123456789", 5159 "type": "string" 5160 }, 5161 "republish": { 5162 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 5163 "type": "boolean" 5164 } 5165 }, 5166 "required": [ 5167 "package_file" 5168 ], 5169 "title": "PackagesUploadComposer", 5170 "type": "object" 5171 } 5172 } 5173 ], 5174 "responses": { 5175 "201": { 5176 "description": "Upload acknowledged and queued for synchronisation", 5177 "schema": { 5178 "properties": { 5179 "architectures": { 5180 "description": "", 5181 "items": { 5182 "properties": { 5183 "description": { 5184 "description": "", 5185 "type": "string" 5186 }, 5187 "name": { 5188 "description": "", 5189 "type": "string" 5190 } 5191 }, 5192 "type": "object" 5193 }, 5194 "title": "ArchitecturesList", 5195 "type": "array" 5196 }, 5197 "cdn_url": { 5198 "description": "", 5199 "type": "string" 5200 }, 5201 "checksum_md5": { 5202 "description": "", 5203 "type": "string" 5204 }, 5205 "checksum_sha1": { 5206 "description": "", 5207 "type": "string" 5208 }, 5209 "checksum_sha256": { 5210 "description": "", 5211 "type": "string" 5212 }, 5213 "checksum_sha512": { 5214 "description": "", 5215 "type": "string" 5216 }, 5217 "description": { 5218 "description": "A textual description of this package.", 5219 "type": "string" 5220 }, 5221 "distro": { 5222 "description": "", 5223 "type": "object" 5224 }, 5225 "distro_version": { 5226 "description": "", 5227 "type": "object" 5228 }, 5229 "downloads": { 5230 "description": "", 5231 "type": "integer" 5232 }, 5233 "epoch": { 5234 "description": "The epoch of the package version (if any).", 5235 "type": "integer" 5236 }, 5237 "extension": { 5238 "description": "", 5239 "type": "string" 5240 }, 5241 "filename": { 5242 "description": "", 5243 "type": "string" 5244 }, 5245 "files": { 5246 "description": "", 5247 "items": { 5248 "properties": { 5249 "cdn_url": { 5250 "description": "", 5251 "type": "string" 5252 }, 5253 "checksum_md5": { 5254 "description": "", 5255 "type": "string" 5256 }, 5257 "checksum_sha1": { 5258 "description": "", 5259 "type": "string" 5260 }, 5261 "checksum_sha256": { 5262 "description": "", 5263 "type": "string" 5264 }, 5265 "checksum_sha512": { 5266 "description": "", 5267 "type": "string" 5268 }, 5269 "downloads": { 5270 "description": "", 5271 "type": "integer" 5272 }, 5273 "filename": { 5274 "description": "", 5275 "type": "string" 5276 }, 5277 "is_downloadable": { 5278 "description": "", 5279 "type": "boolean" 5280 }, 5281 "is_primary": { 5282 "description": "", 5283 "type": "boolean" 5284 }, 5285 "is_synchronised": { 5286 "description": "", 5287 "type": "boolean" 5288 }, 5289 "size": { 5290 "description": "The calculated size of the file.", 5291 "type": "integer" 5292 }, 5293 "slug_perm": { 5294 "description": "", 5295 "type": "string" 5296 }, 5297 "tag": { 5298 "description": "Freeform descriptor that describes what the file is.", 5299 "type": "string" 5300 } 5301 }, 5302 "type": "object" 5303 }, 5304 "title": "FilesList", 5305 "type": "array" 5306 }, 5307 "format": { 5308 "description": "", 5309 "type": "string" 5310 }, 5311 "format_url": { 5312 "description": "", 5313 "type": "string" 5314 }, 5315 "identifier_perm": { 5316 "description": "Unique and permanent identifier for the package.", 5317 "type": "string" 5318 }, 5319 "indexed": { 5320 "description": "", 5321 "type": "boolean" 5322 }, 5323 "is_sync_awaiting": { 5324 "description": "", 5325 "type": "boolean" 5326 }, 5327 "is_sync_completed": { 5328 "description": "", 5329 "type": "boolean" 5330 }, 5331 "is_sync_failed": { 5332 "description": "", 5333 "type": "boolean" 5334 }, 5335 "is_sync_in_flight": { 5336 "description": "", 5337 "type": "boolean" 5338 }, 5339 "is_sync_in_progress": { 5340 "description": "", 5341 "type": "boolean" 5342 }, 5343 "license": { 5344 "description": "The license of this package.", 5345 "type": "string" 5346 }, 5347 "name": { 5348 "description": "The name of this package.", 5349 "type": "string" 5350 }, 5351 "namespace": { 5352 "description": "", 5353 "type": "string" 5354 }, 5355 "namespace_url": { 5356 "description": "", 5357 "type": "string" 5358 }, 5359 "num_files": { 5360 "description": "", 5361 "type": "integer" 5362 }, 5363 "package_type": { 5364 "description": "The type of package contents.", 5365 "type": "string" 5366 }, 5367 "release": { 5368 "description": "The release of the package version (if any).", 5369 "type": "string" 5370 }, 5371 "repository": { 5372 "description": "", 5373 "type": "string" 5374 }, 5375 "repository_url": { 5376 "description": "", 5377 "type": "string" 5378 }, 5379 "self_html_url": { 5380 "description": "", 5381 "type": "string" 5382 }, 5383 "self_url": { 5384 "description": "", 5385 "type": "string" 5386 }, 5387 "size": { 5388 "description": "The calculated size of the package.", 5389 "type": "integer" 5390 }, 5391 "slug": { 5392 "description": "", 5393 "type": "string" 5394 }, 5395 "slug_perm": { 5396 "description": "", 5397 "type": "string" 5398 }, 5399 "stage": { 5400 "description": "The synchronisation (in progress) stage of the package.", 5401 "type": "string" 5402 }, 5403 "stage_str": { 5404 "description": "", 5405 "type": "string" 5406 }, 5407 "stage_updated_at": { 5408 "description": "The datetime the package stage was updated at.", 5409 "type": "string" 5410 }, 5411 "status": { 5412 "description": "The synchronisation status of the package.", 5413 "type": "string" 5414 }, 5415 "status_reason": { 5416 "description": "A textual description for the synchronous status reason (if any", 5417 "type": "string" 5418 }, 5419 "status_str": { 5420 "description": "", 5421 "type": "string" 5422 }, 5423 "status_updated_at": { 5424 "description": "The datetime the package status was updated at.", 5425 "type": "string" 5426 }, 5427 "status_url": { 5428 "description": "", 5429 "type": "string" 5430 }, 5431 "subtype": { 5432 "description": "", 5433 "type": "string" 5434 }, 5435 "summary": { 5436 "description": "A one-liner synopsis of this package.", 5437 "type": "string" 5438 }, 5439 "sync_finished_at": { 5440 "description": "The datetime the package sync was finished at.", 5441 "type": "string" 5442 }, 5443 "sync_progress": { 5444 "description": "Synchronisation progress (from 0-100)", 5445 "type": "integer" 5446 }, 5447 "type_display": { 5448 "description": "", 5449 "type": "string" 5450 }, 5451 "uploaded_at": { 5452 "description": "The date this package was uploaded.", 5453 "type": "string" 5454 }, 5455 "uploader": { 5456 "description": "", 5457 "type": "string" 5458 }, 5459 "uploader_url": { 5460 "description": "", 5461 "type": "string" 5462 }, 5463 "version": { 5464 "description": "The raw version for this package.", 5465 "type": "string" 5466 }, 5467 "version_orig": { 5468 "description": "", 5469 "type": "string" 5470 } 5471 }, 5472 "title": "ComposerPackageUpload", 5473 "type": "object" 5474 } 5475 }, 5476 "400": { 5477 "description": "Request could not be processed (see detail)", 5478 "schema": { 5479 "properties": { 5480 "detail": { 5481 "description": "An extended message for the response.", 5482 "type": "string" 5483 } 5484 }, 5485 "required": [ 5486 "detail" 5487 ], 5488 "title": "Status", 5489 "type": "object" 5490 } 5491 }, 5492 "404": { 5493 "description": "Namespace (owner) or repository not found", 5494 "schema": { 5495 "properties": { 5496 "detail": { 5497 "description": "An extended message for the response.", 5498 "type": "string" 5499 } 5500 }, 5501 "required": [ 5502 "detail" 5503 ], 5504 "title": "Status", 5505 "type": "object" 5506 } 5507 }, 5508 "422": { 5509 "description": "Missing or invalid parameters (see detail)", 5510 "schema": { 5511 "properties": { 5512 "detail": { 5513 "description": "An extended message for the response.", 5514 "type": "string" 5515 } 5516 }, 5517 "required": [ 5518 "detail" 5519 ], 5520 "title": "Status", 5521 "type": "object" 5522 } 5523 } 5524 }, 5525 "security": [ 5526 { 5527 "token": [] 5528 }, 5529 { 5530 "apikey": [] 5531 }, 5532 { 5533 "csrf_token": [] 5534 } 5535 ], 5536 "summary": "Create a new Composer package", 5537 "tags": [ 5538 "packages" 5539 ] 5540 } 5541 }, 5542 "/packages/{owner}/{repo}/upload/conan/": { 5543 "post": { 5544 "consumes": [ 5545 "application/json" 5546 ], 5547 "description": "Create a new Conan package", 5548 "operationId": "packages_upload_conan", 5549 "parameters": [ 5550 { 5551 "description": "", 5552 "in": "path", 5553 "name": "owner", 5554 "required": true, 5555 "type": "string" 5556 }, 5557 { 5558 "description": "", 5559 "in": "path", 5560 "name": "repo", 5561 "required": true, 5562 "type": "string" 5563 }, 5564 { 5565 "in": "body", 5566 "name": "data", 5567 "schema": { 5568 "properties": { 5569 "conan_channel": { 5570 "description": "Conan channel.", 5571 "example": "alpha", 5572 "type": "string" 5573 }, 5574 "conan_prefix": { 5575 "description": "Conan prefix (User).", 5576 "example": "my-repository", 5577 "type": "string" 5578 }, 5579 "info_file": { 5580 "description": "The info file is an python file containing the package metadata.", 5581 "example": "y1234456789b", 5582 "type": "string" 5583 }, 5584 "manifest_file": { 5585 "description": "The info file is an python file containing the package metadata.", 5586 "example": "y1234456789c", 5587 "type": "string" 5588 }, 5589 "metadata_file": { 5590 "description": "The conan file is an python file containing the package metadata.", 5591 "example": "y1234456789a", 5592 "type": "string" 5593 }, 5594 "name": { 5595 "description": "The name of this package.", 5596 "example": "conan_package.tgz", 5597 "type": "string" 5598 }, 5599 "package_file": { 5600 "description": "The primary file for the package.", 5601 "example": "x123456789a", 5602 "type": "string" 5603 }, 5604 "republish": { 5605 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 5606 "type": "boolean" 5607 }, 5608 "version": { 5609 "description": "The raw version for this package.", 5610 "example": "1.0.0", 5611 "type": "string" 5612 } 5613 }, 5614 "required": [ 5615 "info_file", 5616 "manifest_file", 5617 "metadata_file", 5618 "package_file" 5619 ], 5620 "title": "PackagesUploadConan", 5621 "type": "object" 5622 } 5623 } 5624 ], 5625 "responses": { 5626 "201": { 5627 "description": "Upload acknowledged and queued for synchronisation", 5628 "schema": { 5629 "properties": { 5630 "architectures": { 5631 "description": "", 5632 "items": { 5633 "properties": { 5634 "description": { 5635 "description": "", 5636 "type": "string" 5637 }, 5638 "name": { 5639 "description": "", 5640 "type": "string" 5641 } 5642 }, 5643 "type": "object" 5644 }, 5645 "title": "ArchitecturesList", 5646 "type": "array" 5647 }, 5648 "cdn_url": { 5649 "description": "", 5650 "type": "string" 5651 }, 5652 "checksum_md5": { 5653 "description": "", 5654 "type": "string" 5655 }, 5656 "checksum_sha1": { 5657 "description": "", 5658 "type": "string" 5659 }, 5660 "checksum_sha256": { 5661 "description": "", 5662 "type": "string" 5663 }, 5664 "checksum_sha512": { 5665 "description": "", 5666 "type": "string" 5667 }, 5668 "conan_channel": { 5669 "description": "Conan channel.", 5670 "example": "alpha", 5671 "type": "string" 5672 }, 5673 "conan_prefix": { 5674 "description": "Conan prefix (User).", 5675 "example": "my-repository", 5676 "type": "string" 5677 }, 5678 "description": { 5679 "description": "A textual description of this package.", 5680 "type": "string" 5681 }, 5682 "distro": { 5683 "description": "", 5684 "type": "object" 5685 }, 5686 "distro_version": { 5687 "description": "", 5688 "type": "object" 5689 }, 5690 "downloads": { 5691 "description": "", 5692 "type": "integer" 5693 }, 5694 "epoch": { 5695 "description": "The epoch of the package version (if any).", 5696 "type": "integer" 5697 }, 5698 "extension": { 5699 "description": "", 5700 "type": "string" 5701 }, 5702 "filename": { 5703 "description": "", 5704 "type": "string" 5705 }, 5706 "files": { 5707 "description": "", 5708 "items": { 5709 "properties": { 5710 "cdn_url": { 5711 "description": "", 5712 "type": "string" 5713 }, 5714 "checksum_md5": { 5715 "description": "", 5716 "type": "string" 5717 }, 5718 "checksum_sha1": { 5719 "description": "", 5720 "type": "string" 5721 }, 5722 "checksum_sha256": { 5723 "description": "", 5724 "type": "string" 5725 }, 5726 "checksum_sha512": { 5727 "description": "", 5728 "type": "string" 5729 }, 5730 "downloads": { 5731 "description": "", 5732 "type": "integer" 5733 }, 5734 "filename": { 5735 "description": "", 5736 "type": "string" 5737 }, 5738 "is_downloadable": { 5739 "description": "", 5740 "type": "boolean" 5741 }, 5742 "is_primary": { 5743 "description": "", 5744 "type": "boolean" 5745 }, 5746 "is_synchronised": { 5747 "description": "", 5748 "type": "boolean" 5749 }, 5750 "size": { 5751 "description": "The calculated size of the file.", 5752 "type": "integer" 5753 }, 5754 "slug_perm": { 5755 "description": "", 5756 "type": "string" 5757 }, 5758 "tag": { 5759 "description": "Freeform descriptor that describes what the file is.", 5760 "type": "string" 5761 } 5762 }, 5763 "type": "object" 5764 }, 5765 "title": "FilesList", 5766 "type": "array" 5767 }, 5768 "format": { 5769 "description": "", 5770 "type": "string" 5771 }, 5772 "format_url": { 5773 "description": "", 5774 "type": "string" 5775 }, 5776 "identifier_perm": { 5777 "description": "Unique and permanent identifier for the package.", 5778 "type": "string" 5779 }, 5780 "indexed": { 5781 "description": "", 5782 "type": "boolean" 5783 }, 5784 "is_sync_awaiting": { 5785 "description": "", 5786 "type": "boolean" 5787 }, 5788 "is_sync_completed": { 5789 "description": "", 5790 "type": "boolean" 5791 }, 5792 "is_sync_failed": { 5793 "description": "", 5794 "type": "boolean" 5795 }, 5796 "is_sync_in_flight": { 5797 "description": "", 5798 "type": "boolean" 5799 }, 5800 "is_sync_in_progress": { 5801 "description": "", 5802 "type": "boolean" 5803 }, 5804 "license": { 5805 "description": "The license of this package.", 5806 "type": "string" 5807 }, 5808 "name": { 5809 "description": "The name of this package.", 5810 "example": "conan_package.tgz", 5811 "type": "string" 5812 }, 5813 "namespace": { 5814 "description": "", 5815 "type": "string" 5816 }, 5817 "namespace_url": { 5818 "description": "", 5819 "type": "string" 5820 }, 5821 "num_files": { 5822 "description": "", 5823 "type": "integer" 5824 }, 5825 "package_type": { 5826 "description": "The type of package contents.", 5827 "type": "string" 5828 }, 5829 "release": { 5830 "description": "The release of the package version (if any).", 5831 "type": "string" 5832 }, 5833 "repository": { 5834 "description": "", 5835 "type": "string" 5836 }, 5837 "repository_url": { 5838 "description": "", 5839 "type": "string" 5840 }, 5841 "self_html_url": { 5842 "description": "", 5843 "type": "string" 5844 }, 5845 "self_url": { 5846 "description": "", 5847 "type": "string" 5848 }, 5849 "size": { 5850 "description": "The calculated size of the package.", 5851 "type": "integer" 5852 }, 5853 "slug": { 5854 "description": "", 5855 "type": "string" 5856 }, 5857 "slug_perm": { 5858 "description": "", 5859 "type": "string" 5860 }, 5861 "stage": { 5862 "description": "The synchronisation (in progress) stage of the package.", 5863 "type": "string" 5864 }, 5865 "stage_str": { 5866 "description": "", 5867 "type": "string" 5868 }, 5869 "stage_updated_at": { 5870 "description": "The datetime the package stage was updated at.", 5871 "type": "string" 5872 }, 5873 "status": { 5874 "description": "The synchronisation status of the package.", 5875 "type": "string" 5876 }, 5877 "status_reason": { 5878 "description": "A textual description for the synchronous status reason (if any", 5879 "type": "string" 5880 }, 5881 "status_str": { 5882 "description": "", 5883 "type": "string" 5884 }, 5885 "status_updated_at": { 5886 "description": "The datetime the package status was updated at.", 5887 "type": "string" 5888 }, 5889 "status_url": { 5890 "description": "", 5891 "type": "string" 5892 }, 5893 "subtype": { 5894 "description": "", 5895 "type": "string" 5896 }, 5897 "summary": { 5898 "description": "A one-liner synopsis of this package.", 5899 "type": "string" 5900 }, 5901 "sync_finished_at": { 5902 "description": "The datetime the package sync was finished at.", 5903 "type": "string" 5904 }, 5905 "sync_progress": { 5906 "description": "Synchronisation progress (from 0-100)", 5907 "type": "integer" 5908 }, 5909 "type_display": { 5910 "description": "", 5911 "type": "string" 5912 }, 5913 "uploaded_at": { 5914 "description": "The date this package was uploaded.", 5915 "type": "string" 5916 }, 5917 "uploader": { 5918 "description": "", 5919 "type": "string" 5920 }, 5921 "uploader_url": { 5922 "description": "", 5923 "type": "string" 5924 }, 5925 "version": { 5926 "description": "The raw version for this package.", 5927 "example": "1.0.0", 5928 "type": "string" 5929 }, 5930 "version_orig": { 5931 "description": "", 5932 "type": "string" 5933 } 5934 }, 5935 "title": "ConanPackageUpload", 5936 "type": "object" 5937 } 5938 }, 5939 "400": { 5940 "description": "Request could not be processed (see detail)", 5941 "schema": { 5942 "properties": { 5943 "detail": { 5944 "description": "An extended message for the response.", 5945 "type": "string" 5946 } 5947 }, 5948 "required": [ 5949 "detail" 5950 ], 5951 "title": "Status", 5952 "type": "object" 5953 } 5954 }, 5955 "404": { 5956 "description": "Namespace (owner) or repository not found", 5957 "schema": { 5958 "properties": { 5959 "detail": { 5960 "description": "An extended message for the response.", 5961 "type": "string" 5962 } 5963 }, 5964 "required": [ 5965 "detail" 5966 ], 5967 "title": "Status", 5968 "type": "object" 5969 } 5970 }, 5971 "422": { 5972 "description": "Missing or invalid parameters (see detail)", 5973 "schema": { 5974 "properties": { 5975 "detail": { 5976 "description": "An extended message for the response.", 5977 "type": "string" 5978 } 5979 }, 5980 "required": [ 5981 "detail" 5982 ], 5983 "title": "Status", 5984 "type": "object" 5985 } 5986 } 5987 }, 5988 "security": [ 5989 { 5990 "token": [] 5991 }, 5992 { 5993 "apikey": [] 5994 }, 5995 { 5996 "csrf_token": [] 5997 } 5998 ], 5999 "summary": "Create a new Conan package", 6000 "tags": [ 6001 "packages" 6002 ] 6003 } 6004 }, 6005 "/packages/{owner}/{repo}/upload/cran/": { 6006 "post": { 6007 "consumes": [ 6008 "application/json" 6009 ], 6010 "description": "Create a new CRAN package", 6011 "operationId": "packages_upload_cran", 6012 "parameters": [ 6013 { 6014 "description": "", 6015 "in": "path", 6016 "name": "owner", 6017 "required": true, 6018 "type": "string" 6019 }, 6020 { 6021 "description": "", 6022 "in": "path", 6023 "name": "repo", 6024 "required": true, 6025 "type": "string" 6026 }, 6027 { 6028 "in": "body", 6029 "name": "data", 6030 "schema": { 6031 "properties": { 6032 "package_file": { 6033 "description": "The primary file for the package.", 6034 "example": "x123456789a", 6035 "type": "string" 6036 }, 6037 "republish": { 6038 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 6039 "type": "boolean" 6040 } 6041 }, 6042 "required": [ 6043 "package_file" 6044 ], 6045 "title": "PackagesUploadCran", 6046 "type": "object" 6047 } 6048 } 6049 ], 6050 "responses": { 6051 "201": { 6052 "description": "Upload acknowledged and queued for synchronisation", 6053 "schema": { 6054 "properties": { 6055 "architectures": { 6056 "description": "", 6057 "items": { 6058 "properties": { 6059 "description": { 6060 "description": "", 6061 "type": "string" 6062 }, 6063 "name": { 6064 "description": "", 6065 "type": "string" 6066 } 6067 }, 6068 "type": "object" 6069 }, 6070 "title": "ArchitecturesList", 6071 "type": "array" 6072 }, 6073 "cdn_url": { 6074 "description": "", 6075 "type": "string" 6076 }, 6077 "checksum_md5": { 6078 "description": "", 6079 "type": "string" 6080 }, 6081 "checksum_sha1": { 6082 "description": "", 6083 "type": "string" 6084 }, 6085 "checksum_sha256": { 6086 "description": "", 6087 "type": "string" 6088 }, 6089 "checksum_sha512": { 6090 "description": "", 6091 "type": "string" 6092 }, 6093 "description": { 6094 "description": "A textual description of this package.", 6095 "type": "string" 6096 }, 6097 "distro": { 6098 "description": "", 6099 "type": "object" 6100 }, 6101 "distro_version": { 6102 "description": "", 6103 "type": "object" 6104 }, 6105 "downloads": { 6106 "description": "", 6107 "type": "integer" 6108 }, 6109 "epoch": { 6110 "description": "The epoch of the package version (if any).", 6111 "type": "integer" 6112 }, 6113 "extension": { 6114 "description": "", 6115 "type": "string" 6116 }, 6117 "filename": { 6118 "description": "", 6119 "type": "string" 6120 }, 6121 "files": { 6122 "description": "", 6123 "items": { 6124 "properties": { 6125 "cdn_url": { 6126 "description": "", 6127 "type": "string" 6128 }, 6129 "checksum_md5": { 6130 "description": "", 6131 "type": "string" 6132 }, 6133 "checksum_sha1": { 6134 "description": "", 6135 "type": "string" 6136 }, 6137 "checksum_sha256": { 6138 "description": "", 6139 "type": "string" 6140 }, 6141 "checksum_sha512": { 6142 "description": "", 6143 "type": "string" 6144 }, 6145 "downloads": { 6146 "description": "", 6147 "type": "integer" 6148 }, 6149 "filename": { 6150 "description": "", 6151 "type": "string" 6152 }, 6153 "is_downloadable": { 6154 "description": "", 6155 "type": "boolean" 6156 }, 6157 "is_primary": { 6158 "description": "", 6159 "type": "boolean" 6160 }, 6161 "is_synchronised": { 6162 "description": "", 6163 "type": "boolean" 6164 }, 6165 "size": { 6166 "description": "The calculated size of the file.", 6167 "type": "integer" 6168 }, 6169 "slug_perm": { 6170 "description": "", 6171 "type": "string" 6172 }, 6173 "tag": { 6174 "description": "Freeform descriptor that describes what the file is.", 6175 "type": "string" 6176 } 6177 }, 6178 "type": "object" 6179 }, 6180 "title": "FilesList", 6181 "type": "array" 6182 }, 6183 "format": { 6184 "description": "", 6185 "type": "string" 6186 }, 6187 "format_url": { 6188 "description": "", 6189 "type": "string" 6190 }, 6191 "identifier_perm": { 6192 "description": "Unique and permanent identifier for the package.", 6193 "type": "string" 6194 }, 6195 "indexed": { 6196 "description": "", 6197 "type": "boolean" 6198 }, 6199 "is_sync_awaiting": { 6200 "description": "", 6201 "type": "boolean" 6202 }, 6203 "is_sync_completed": { 6204 "description": "", 6205 "type": "boolean" 6206 }, 6207 "is_sync_failed": { 6208 "description": "", 6209 "type": "boolean" 6210 }, 6211 "is_sync_in_flight": { 6212 "description": "", 6213 "type": "boolean" 6214 }, 6215 "is_sync_in_progress": { 6216 "description": "", 6217 "type": "boolean" 6218 }, 6219 "license": { 6220 "description": "The license of this package.", 6221 "type": "string" 6222 }, 6223 "name": { 6224 "description": "The name of this package.", 6225 "type": "string" 6226 }, 6227 "namespace": { 6228 "description": "", 6229 "type": "string" 6230 }, 6231 "namespace_url": { 6232 "description": "", 6233 "type": "string" 6234 }, 6235 "num_files": { 6236 "description": "", 6237 "type": "integer" 6238 }, 6239 "package_type": { 6240 "description": "The type of package contents.", 6241 "type": "string" 6242 }, 6243 "release": { 6244 "description": "The release of the package version (if any).", 6245 "type": "string" 6246 }, 6247 "repository": { 6248 "description": "", 6249 "type": "string" 6250 }, 6251 "repository_url": { 6252 "description": "", 6253 "type": "string" 6254 }, 6255 "self_html_url": { 6256 "description": "", 6257 "type": "string" 6258 }, 6259 "self_url": { 6260 "description": "", 6261 "type": "string" 6262 }, 6263 "size": { 6264 "description": "The calculated size of the package.", 6265 "type": "integer" 6266 }, 6267 "slug": { 6268 "description": "", 6269 "type": "string" 6270 }, 6271 "slug_perm": { 6272 "description": "", 6273 "type": "string" 6274 }, 6275 "stage": { 6276 "description": "The synchronisation (in progress) stage of the package.", 6277 "type": "string" 6278 }, 6279 "stage_str": { 6280 "description": "", 6281 "type": "string" 6282 }, 6283 "stage_updated_at": { 6284 "description": "The datetime the package stage was updated at.", 6285 "type": "string" 6286 }, 6287 "status": { 6288 "description": "The synchronisation status of the package.", 6289 "type": "string" 6290 }, 6291 "status_reason": { 6292 "description": "A textual description for the synchronous status reason (if any", 6293 "type": "string" 6294 }, 6295 "status_str": { 6296 "description": "", 6297 "type": "string" 6298 }, 6299 "status_updated_at": { 6300 "description": "The datetime the package status was updated at.", 6301 "type": "string" 6302 }, 6303 "status_url": { 6304 "description": "", 6305 "type": "string" 6306 }, 6307 "subtype": { 6308 "description": "", 6309 "type": "string" 6310 }, 6311 "summary": { 6312 "description": "A one-liner synopsis of this package.", 6313 "type": "string" 6314 }, 6315 "sync_finished_at": { 6316 "description": "The datetime the package sync was finished at.", 6317 "type": "string" 6318 }, 6319 "sync_progress": { 6320 "description": "Synchronisation progress (from 0-100)", 6321 "type": "integer" 6322 }, 6323 "type_display": { 6324 "description": "", 6325 "type": "string" 6326 }, 6327 "uploaded_at": { 6328 "description": "The date this package was uploaded.", 6329 "type": "string" 6330 }, 6331 "uploader": { 6332 "description": "", 6333 "type": "string" 6334 }, 6335 "uploader_url": { 6336 "description": "", 6337 "type": "string" 6338 }, 6339 "version": { 6340 "description": "The raw version for this package.", 6341 "type": "string" 6342 }, 6343 "version_orig": { 6344 "description": "", 6345 "type": "string" 6346 } 6347 }, 6348 "title": "CranPackageUpload", 6349 "type": "object" 6350 } 6351 }, 6352 "400": { 6353 "description": "Request could not be processed (see detail)", 6354 "schema": { 6355 "properties": { 6356 "detail": { 6357 "description": "An extended message for the response.", 6358 "type": "string" 6359 } 6360 }, 6361 "required": [ 6362 "detail" 6363 ], 6364 "title": "Status", 6365 "type": "object" 6366 } 6367 }, 6368 "404": { 6369 "description": "Namespace (owner) or repository not found", 6370 "schema": { 6371 "properties": { 6372 "detail": { 6373 "description": "An extended message for the response.", 6374 "type": "string" 6375 } 6376 }, 6377 "required": [ 6378 "detail" 6379 ], 6380 "title": "Status", 6381 "type": "object" 6382 } 6383 }, 6384 "422": { 6385 "description": "Missing or invalid parameters (see detail)", 6386 "schema": { 6387 "properties": { 6388 "detail": { 6389 "description": "An extended message for the response.", 6390 "type": "string" 6391 } 6392 }, 6393 "required": [ 6394 "detail" 6395 ], 6396 "title": "Status", 6397 "type": "object" 6398 } 6399 } 6400 }, 6401 "security": [ 6402 { 6403 "token": [] 6404 }, 6405 { 6406 "apikey": [] 6407 }, 6408 { 6409 "csrf_token": [] 6410 } 6411 ], 6412 "summary": "Create a new CRAN package", 6413 "tags": [ 6414 "packages" 6415 ] 6416 } 6417 }, 6418 "/packages/{owner}/{repo}/upload/dart/": { 6419 "post": { 6420 "consumes": [ 6421 "application/json" 6422 ], 6423 "description": "Create a new Dart package", 6424 "operationId": "packages_upload_dart", 6425 "parameters": [ 6426 { 6427 "description": "", 6428 "in": "path", 6429 "name": "owner", 6430 "required": true, 6431 "type": "string" 6432 }, 6433 { 6434 "description": "", 6435 "in": "path", 6436 "name": "repo", 6437 "required": true, 6438 "type": "string" 6439 }, 6440 { 6441 "in": "body", 6442 "name": "data", 6443 "schema": { 6444 "properties": { 6445 "package_file": { 6446 "description": "The primary file for the package.", 6447 "example": "x123456789a", 6448 "type": "string" 6449 }, 6450 "republish": { 6451 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 6452 "type": "boolean" 6453 } 6454 }, 6455 "required": [ 6456 "package_file" 6457 ], 6458 "title": "PackagesUploadDart", 6459 "type": "object" 6460 } 6461 } 6462 ], 6463 "responses": { 6464 "201": { 6465 "description": "Upload acknowledged and queued for synchronisation", 6466 "schema": { 6467 "properties": { 6468 "architectures": { 6469 "description": "", 6470 "items": { 6471 "properties": { 6472 "description": { 6473 "description": "", 6474 "type": "string" 6475 }, 6476 "name": { 6477 "description": "", 6478 "type": "string" 6479 } 6480 }, 6481 "type": "object" 6482 }, 6483 "title": "ArchitecturesList", 6484 "type": "array" 6485 }, 6486 "cdn_url": { 6487 "description": "", 6488 "type": "string" 6489 }, 6490 "checksum_md5": { 6491 "description": "", 6492 "type": "string" 6493 }, 6494 "checksum_sha1": { 6495 "description": "", 6496 "type": "string" 6497 }, 6498 "checksum_sha256": { 6499 "description": "", 6500 "type": "string" 6501 }, 6502 "checksum_sha512": { 6503 "description": "", 6504 "type": "string" 6505 }, 6506 "description": { 6507 "description": "A textual description of this package.", 6508 "type": "string" 6509 }, 6510 "distro": { 6511 "description": "", 6512 "type": "object" 6513 }, 6514 "distro_version": { 6515 "description": "", 6516 "type": "object" 6517 }, 6518 "downloads": { 6519 "description": "", 6520 "type": "integer" 6521 }, 6522 "epoch": { 6523 "description": "The epoch of the package version (if any).", 6524 "type": "integer" 6525 }, 6526 "extension": { 6527 "description": "", 6528 "type": "string" 6529 }, 6530 "filename": { 6531 "description": "", 6532 "type": "string" 6533 }, 6534 "files": { 6535 "description": "", 6536 "items": { 6537 "properties": { 6538 "cdn_url": { 6539 "description": "", 6540 "type": "string" 6541 }, 6542 "checksum_md5": { 6543 "description": "", 6544 "type": "string" 6545 }, 6546 "checksum_sha1": { 6547 "description": "", 6548 "type": "string" 6549 }, 6550 "checksum_sha256": { 6551 "description": "", 6552 "type": "string" 6553 }, 6554 "checksum_sha512": { 6555 "description": "", 6556 "type": "string" 6557 }, 6558 "downloads": { 6559 "description": "", 6560 "type": "integer" 6561 }, 6562 "filename": { 6563 "description": "", 6564 "type": "string" 6565 }, 6566 "is_downloadable": { 6567 "description": "", 6568 "type": "boolean" 6569 }, 6570 "is_primary": { 6571 "description": "", 6572 "type": "boolean" 6573 }, 6574 "is_synchronised": { 6575 "description": "", 6576 "type": "boolean" 6577 }, 6578 "size": { 6579 "description": "The calculated size of the file.", 6580 "type": "integer" 6581 }, 6582 "slug_perm": { 6583 "description": "", 6584 "type": "string" 6585 }, 6586 "tag": { 6587 "description": "Freeform descriptor that describes what the file is.", 6588 "type": "string" 6589 } 6590 }, 6591 "type": "object" 6592 }, 6593 "title": "FilesList", 6594 "type": "array" 6595 }, 6596 "format": { 6597 "description": "", 6598 "type": "string" 6599 }, 6600 "format_url": { 6601 "description": "", 6602 "type": "string" 6603 }, 6604 "identifier_perm": { 6605 "description": "Unique and permanent identifier for the package.", 6606 "type": "string" 6607 }, 6608 "indexed": { 6609 "description": "", 6610 "type": "boolean" 6611 }, 6612 "is_sync_awaiting": { 6613 "description": "", 6614 "type": "boolean" 6615 }, 6616 "is_sync_completed": { 6617 "description": "", 6618 "type": "boolean" 6619 }, 6620 "is_sync_failed": { 6621 "description": "", 6622 "type": "boolean" 6623 }, 6624 "is_sync_in_flight": { 6625 "description": "", 6626 "type": "boolean" 6627 }, 6628 "is_sync_in_progress": { 6629 "description": "", 6630 "type": "boolean" 6631 }, 6632 "license": { 6633 "description": "The license of this package.", 6634 "type": "string" 6635 }, 6636 "name": { 6637 "description": "The name of this package.", 6638 "type": "string" 6639 }, 6640 "namespace": { 6641 "description": "", 6642 "type": "string" 6643 }, 6644 "namespace_url": { 6645 "description": "", 6646 "type": "string" 6647 }, 6648 "num_files": { 6649 "description": "", 6650 "type": "integer" 6651 }, 6652 "package_type": { 6653 "description": "The type of package contents.", 6654 "type": "string" 6655 }, 6656 "release": { 6657 "description": "The release of the package version (if any).", 6658 "type": "string" 6659 }, 6660 "repository": { 6661 "description": "", 6662 "type": "string" 6663 }, 6664 "repository_url": { 6665 "description": "", 6666 "type": "string" 6667 }, 6668 "self_html_url": { 6669 "description": "", 6670 "type": "string" 6671 }, 6672 "self_url": { 6673 "description": "", 6674 "type": "string" 6675 }, 6676 "size": { 6677 "description": "The calculated size of the package.", 6678 "type": "integer" 6679 }, 6680 "slug": { 6681 "description": "", 6682 "type": "string" 6683 }, 6684 "slug_perm": { 6685 "description": "", 6686 "type": "string" 6687 }, 6688 "stage": { 6689 "description": "The synchronisation (in progress) stage of the package.", 6690 "type": "string" 6691 }, 6692 "stage_str": { 6693 "description": "", 6694 "type": "string" 6695 }, 6696 "stage_updated_at": { 6697 "description": "The datetime the package stage was updated at.", 6698 "type": "string" 6699 }, 6700 "status": { 6701 "description": "The synchronisation status of the package.", 6702 "type": "string" 6703 }, 6704 "status_reason": { 6705 "description": "A textual description for the synchronous status reason (if any", 6706 "type": "string" 6707 }, 6708 "status_str": { 6709 "description": "", 6710 "type": "string" 6711 }, 6712 "status_updated_at": { 6713 "description": "The datetime the package status was updated at.", 6714 "type": "string" 6715 }, 6716 "status_url": { 6717 "description": "", 6718 "type": "string" 6719 }, 6720 "subtype": { 6721 "description": "", 6722 "type": "string" 6723 }, 6724 "summary": { 6725 "description": "A one-liner synopsis of this package.", 6726 "type": "string" 6727 }, 6728 "sync_finished_at": { 6729 "description": "The datetime the package sync was finished at.", 6730 "type": "string" 6731 }, 6732 "sync_progress": { 6733 "description": "Synchronisation progress (from 0-100)", 6734 "type": "integer" 6735 }, 6736 "type_display": { 6737 "description": "", 6738 "type": "string" 6739 }, 6740 "uploaded_at": { 6741 "description": "The date this package was uploaded.", 6742 "type": "string" 6743 }, 6744 "uploader": { 6745 "description": "", 6746 "type": "string" 6747 }, 6748 "uploader_url": { 6749 "description": "", 6750 "type": "string" 6751 }, 6752 "version": { 6753 "description": "The raw version for this package.", 6754 "type": "string" 6755 }, 6756 "version_orig": { 6757 "description": "", 6758 "type": "string" 6759 } 6760 }, 6761 "title": "DartPackageUpload", 6762 "type": "object" 6763 } 6764 }, 6765 "400": { 6766 "description": "Request could not be processed (see detail)", 6767 "schema": { 6768 "properties": { 6769 "detail": { 6770 "description": "An extended message for the response.", 6771 "type": "string" 6772 } 6773 }, 6774 "required": [ 6775 "detail" 6776 ], 6777 "title": "Status", 6778 "type": "object" 6779 } 6780 }, 6781 "404": { 6782 "description": "Namespace (owner) or repository not found", 6783 "schema": { 6784 "properties": { 6785 "detail": { 6786 "description": "An extended message for the response.", 6787 "type": "string" 6788 } 6789 }, 6790 "required": [ 6791 "detail" 6792 ], 6793 "title": "Status", 6794 "type": "object" 6795 } 6796 }, 6797 "422": { 6798 "description": "Missing or invalid parameters (see detail)", 6799 "schema": { 6800 "properties": { 6801 "detail": { 6802 "description": "An extended message for the response.", 6803 "type": "string" 6804 } 6805 }, 6806 "required": [ 6807 "detail" 6808 ], 6809 "title": "Status", 6810 "type": "object" 6811 } 6812 } 6813 }, 6814 "security": [ 6815 { 6816 "token": [] 6817 }, 6818 { 6819 "apikey": [] 6820 }, 6821 { 6822 "csrf_token": [] 6823 } 6824 ], 6825 "summary": "Create a new Dart package", 6826 "tags": [ 6827 "packages" 6828 ] 6829 } 6830 }, 6831 "/packages/{owner}/{repo}/upload/deb/": { 6832 "post": { 6833 "consumes": [ 6834 "application/json" 6835 ], 6836 "description": "Create a new Debian package", 6837 "operationId": "packages_upload_deb", 6838 "parameters": [ 6839 { 6840 "description": "", 6841 "in": "path", 6842 "name": "owner", 6843 "required": true, 6844 "type": "string" 6845 }, 6846 { 6847 "description": "", 6848 "in": "path", 6849 "name": "repo", 6850 "required": true, 6851 "type": "string" 6852 }, 6853 { 6854 "in": "body", 6855 "name": "data", 6856 "schema": { 6857 "properties": { 6858 "distribution": { 6859 "description": "The distribution to store the package for.", 6860 "example": "ubuntu/xenial", 6861 "type": "string" 6862 }, 6863 "package_file": { 6864 "description": "The primary file for the package.", 6865 "example": "y123456789", 6866 "type": "string" 6867 }, 6868 "republish": { 6869 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 6870 "type": "boolean" 6871 } 6872 }, 6873 "required": [ 6874 "distribution", 6875 "package_file" 6876 ], 6877 "title": "PackagesUploadDeb", 6878 "type": "object" 6879 } 6880 } 6881 ], 6882 "responses": { 6883 "201": { 6884 "description": "Upload acknowledged and queued for synchronisation", 6885 "schema": { 6886 "properties": { 6887 "architectures": { 6888 "description": "", 6889 "items": { 6890 "properties": { 6891 "description": { 6892 "description": "", 6893 "type": "string" 6894 }, 6895 "name": { 6896 "description": "", 6897 "type": "string" 6898 } 6899 }, 6900 "type": "object" 6901 }, 6902 "title": "ArchitecturesList", 6903 "type": "array" 6904 }, 6905 "cdn_url": { 6906 "description": "", 6907 "type": "string" 6908 }, 6909 "checksum_md5": { 6910 "description": "", 6911 "type": "string" 6912 }, 6913 "checksum_sha1": { 6914 "description": "", 6915 "type": "string" 6916 }, 6917 "checksum_sha256": { 6918 "description": "", 6919 "type": "string" 6920 }, 6921 "checksum_sha512": { 6922 "description": "", 6923 "type": "string" 6924 }, 6925 "description": { 6926 "description": "A textual description of this package.", 6927 "type": "string" 6928 }, 6929 "distro": { 6930 "description": "", 6931 "type": "object" 6932 }, 6933 "distro_version": { 6934 "description": "", 6935 "type": "object" 6936 }, 6937 "downloads": { 6938 "description": "", 6939 "type": "integer" 6940 }, 6941 "epoch": { 6942 "description": "The epoch of the package version (if any).", 6943 "type": "integer" 6944 }, 6945 "extension": { 6946 "description": "", 6947 "type": "string" 6948 }, 6949 "filename": { 6950 "description": "", 6951 "type": "string" 6952 }, 6953 "files": { 6954 "description": "", 6955 "items": { 6956 "properties": { 6957 "cdn_url": { 6958 "description": "", 6959 "type": "string" 6960 }, 6961 "checksum_md5": { 6962 "description": "", 6963 "type": "string" 6964 }, 6965 "checksum_sha1": { 6966 "description": "", 6967 "type": "string" 6968 }, 6969 "checksum_sha256": { 6970 "description": "", 6971 "type": "string" 6972 }, 6973 "checksum_sha512": { 6974 "description": "", 6975 "type": "string" 6976 }, 6977 "downloads": { 6978 "description": "", 6979 "type": "integer" 6980 }, 6981 "filename": { 6982 "description": "", 6983 "type": "string" 6984 }, 6985 "is_downloadable": { 6986 "description": "", 6987 "type": "boolean" 6988 }, 6989 "is_primary": { 6990 "description": "", 6991 "type": "boolean" 6992 }, 6993 "is_synchronised": { 6994 "description": "", 6995 "type": "boolean" 6996 }, 6997 "size": { 6998 "description": "The calculated size of the file.", 6999 "type": "integer" 7000 }, 7001 "slug_perm": { 7002 "description": "", 7003 "type": "string" 7004 }, 7005 "tag": { 7006 "description": "Freeform descriptor that describes what the file is.", 7007 "type": "string" 7008 } 7009 }, 7010 "type": "object" 7011 }, 7012 "title": "FilesList", 7013 "type": "array" 7014 }, 7015 "format": { 7016 "description": "", 7017 "type": "string" 7018 }, 7019 "format_url": { 7020 "description": "", 7021 "type": "string" 7022 }, 7023 "identifier_perm": { 7024 "description": "Unique and permanent identifier for the package.", 7025 "type": "string" 7026 }, 7027 "indexed": { 7028 "description": "", 7029 "type": "boolean" 7030 }, 7031 "is_sync_awaiting": { 7032 "description": "", 7033 "type": "boolean" 7034 }, 7035 "is_sync_completed": { 7036 "description": "", 7037 "type": "boolean" 7038 }, 7039 "is_sync_failed": { 7040 "description": "", 7041 "type": "boolean" 7042 }, 7043 "is_sync_in_flight": { 7044 "description": "", 7045 "type": "boolean" 7046 }, 7047 "is_sync_in_progress": { 7048 "description": "", 7049 "type": "boolean" 7050 }, 7051 "license": { 7052 "description": "The license of this package.", 7053 "type": "string" 7054 }, 7055 "name": { 7056 "description": "The name of this package.", 7057 "type": "string" 7058 }, 7059 "namespace": { 7060 "description": "", 7061 "type": "string" 7062 }, 7063 "namespace_url": { 7064 "description": "", 7065 "type": "string" 7066 }, 7067 "num_files": { 7068 "description": "", 7069 "type": "integer" 7070 }, 7071 "package_type": { 7072 "description": "The type of package contents.", 7073 "type": "string" 7074 }, 7075 "release": { 7076 "description": "The release of the package version (if any).", 7077 "type": "string" 7078 }, 7079 "repository": { 7080 "description": "", 7081 "type": "string" 7082 }, 7083 "repository_url": { 7084 "description": "", 7085 "type": "string" 7086 }, 7087 "self_html_url": { 7088 "description": "", 7089 "type": "string" 7090 }, 7091 "self_url": { 7092 "description": "", 7093 "type": "string" 7094 }, 7095 "size": { 7096 "description": "The calculated size of the package.", 7097 "type": "integer" 7098 }, 7099 "slug": { 7100 "description": "", 7101 "type": "string" 7102 }, 7103 "slug_perm": { 7104 "description": "", 7105 "type": "string" 7106 }, 7107 "stage": { 7108 "description": "The synchronisation (in progress) stage of the package.", 7109 "type": "string" 7110 }, 7111 "stage_str": { 7112 "description": "", 7113 "type": "string" 7114 }, 7115 "stage_updated_at": { 7116 "description": "The datetime the package stage was updated at.", 7117 "type": "string" 7118 }, 7119 "status": { 7120 "description": "The synchronisation status of the package.", 7121 "type": "string" 7122 }, 7123 "status_reason": { 7124 "description": "A textual description for the synchronous status reason (if any", 7125 "type": "string" 7126 }, 7127 "status_str": { 7128 "description": "", 7129 "type": "string" 7130 }, 7131 "status_updated_at": { 7132 "description": "The datetime the package status was updated at.", 7133 "type": "string" 7134 }, 7135 "status_url": { 7136 "description": "", 7137 "type": "string" 7138 }, 7139 "subtype": { 7140 "description": "", 7141 "type": "string" 7142 }, 7143 "summary": { 7144 "description": "A one-liner synopsis of this package.", 7145 "type": "string" 7146 }, 7147 "sync_finished_at": { 7148 "description": "The datetime the package sync was finished at.", 7149 "type": "string" 7150 }, 7151 "sync_progress": { 7152 "description": "Synchronisation progress (from 0-100)", 7153 "type": "integer" 7154 }, 7155 "type_display": { 7156 "description": "", 7157 "type": "string" 7158 }, 7159 "uploaded_at": { 7160 "description": "The date this package was uploaded.", 7161 "type": "string" 7162 }, 7163 "uploader": { 7164 "description": "", 7165 "type": "string" 7166 }, 7167 "uploader_url": { 7168 "description": "", 7169 "type": "string" 7170 }, 7171 "version": { 7172 "description": "The raw version for this package.", 7173 "type": "string" 7174 }, 7175 "version_orig": { 7176 "description": "", 7177 "type": "string" 7178 } 7179 }, 7180 "title": "DebPackageUpload", 7181 "type": "object" 7182 } 7183 }, 7184 "400": { 7185 "description": "Request could not be processed (see detail)", 7186 "schema": { 7187 "properties": { 7188 "detail": { 7189 "description": "An extended message for the response.", 7190 "type": "string" 7191 } 7192 }, 7193 "required": [ 7194 "detail" 7195 ], 7196 "title": "Status", 7197 "type": "object" 7198 } 7199 }, 7200 "404": { 7201 "description": "Namespace (owner) or repository not found", 7202 "schema": { 7203 "properties": { 7204 "detail": { 7205 "description": "An extended message for the response.", 7206 "type": "string" 7207 } 7208 }, 7209 "required": [ 7210 "detail" 7211 ], 7212 "title": "Status", 7213 "type": "object" 7214 } 7215 }, 7216 "422": { 7217 "description": "Missing or invalid parameters (see detail)", 7218 "schema": { 7219 "properties": { 7220 "detail": { 7221 "description": "An extended message for the response.", 7222 "type": "string" 7223 } 7224 }, 7225 "required": [ 7226 "detail" 7227 ], 7228 "title": "Status", 7229 "type": "object" 7230 } 7231 } 7232 }, 7233 "security": [ 7234 { 7235 "token": [] 7236 }, 7237 { 7238 "apikey": [] 7239 }, 7240 { 7241 "csrf_token": [] 7242 } 7243 ], 7244 "summary": "Create a new Debian package", 7245 "tags": [ 7246 "packages" 7247 ] 7248 } 7249 }, 7250 "/packages/{owner}/{repo}/upload/docker/": { 7251 "post": { 7252 "consumes": [ 7253 "application/json" 7254 ], 7255 "description": "Create a new Docker package", 7256 "operationId": "packages_upload_docker", 7257 "parameters": [ 7258 { 7259 "description": "", 7260 "in": "path", 7261 "name": "owner", 7262 "required": true, 7263 "type": "string" 7264 }, 7265 { 7266 "description": "", 7267 "in": "path", 7268 "name": "repo", 7269 "required": true, 7270 "type": "string" 7271 }, 7272 { 7273 "in": "body", 7274 "name": "data", 7275 "schema": { 7276 "properties": { 7277 "package_file": { 7278 "description": "The primary file for the package.", 7279 "example": "y123456789", 7280 "type": "string" 7281 }, 7282 "republish": { 7283 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 7284 "type": "boolean" 7285 } 7286 }, 7287 "required": [ 7288 "package_file" 7289 ], 7290 "title": "PackagesUploadDocker", 7291 "type": "object" 7292 } 7293 } 7294 ], 7295 "responses": { 7296 "201": { 7297 "description": "Upload acknowledged and queued for synchronisation", 7298 "schema": { 7299 "properties": { 7300 "architectures": { 7301 "description": "", 7302 "items": { 7303 "properties": { 7304 "description": { 7305 "description": "", 7306 "type": "string" 7307 }, 7308 "name": { 7309 "description": "", 7310 "type": "string" 7311 } 7312 }, 7313 "type": "object" 7314 }, 7315 "title": "ArchitecturesList", 7316 "type": "array" 7317 }, 7318 "cdn_url": { 7319 "description": "", 7320 "type": "string" 7321 }, 7322 "checksum_md5": { 7323 "description": "", 7324 "type": "string" 7325 }, 7326 "checksum_sha1": { 7327 "description": "", 7328 "type": "string" 7329 }, 7330 "checksum_sha256": { 7331 "description": "", 7332 "type": "string" 7333 }, 7334 "checksum_sha512": { 7335 "description": "", 7336 "type": "string" 7337 }, 7338 "description": { 7339 "description": "A textual description of this package.", 7340 "type": "string" 7341 }, 7342 "distro": { 7343 "description": "", 7344 "type": "object" 7345 }, 7346 "distro_version": { 7347 "description": "", 7348 "type": "object" 7349 }, 7350 "downloads": { 7351 "description": "", 7352 "type": "integer" 7353 }, 7354 "epoch": { 7355 "description": "The epoch of the package version (if any).", 7356 "type": "integer" 7357 }, 7358 "extension": { 7359 "description": "", 7360 "type": "string" 7361 }, 7362 "filename": { 7363 "description": "", 7364 "type": "string" 7365 }, 7366 "files": { 7367 "description": "", 7368 "items": { 7369 "properties": { 7370 "cdn_url": { 7371 "description": "", 7372 "type": "string" 7373 }, 7374 "checksum_md5": { 7375 "description": "", 7376 "type": "string" 7377 }, 7378 "checksum_sha1": { 7379 "description": "", 7380 "type": "string" 7381 }, 7382 "checksum_sha256": { 7383 "description": "", 7384 "type": "string" 7385 }, 7386 "checksum_sha512": { 7387 "description": "", 7388 "type": "string" 7389 }, 7390 "downloads": { 7391 "description": "", 7392 "type": "integer" 7393 }, 7394 "filename": { 7395 "description": "", 7396 "type": "string" 7397 }, 7398 "is_downloadable": { 7399 "description": "", 7400 "type": "boolean" 7401 }, 7402 "is_primary": { 7403 "description": "", 7404 "type": "boolean" 7405 }, 7406 "is_synchronised": { 7407 "description": "", 7408 "type": "boolean" 7409 }, 7410 "size": { 7411 "description": "The calculated size of the file.", 7412 "type": "integer" 7413 }, 7414 "slug_perm": { 7415 "description": "", 7416 "type": "string" 7417 }, 7418 "tag": { 7419 "description": "Freeform descriptor that describes what the file is.", 7420 "type": "string" 7421 } 7422 }, 7423 "type": "object" 7424 }, 7425 "title": "FilesList", 7426 "type": "array" 7427 }, 7428 "format": { 7429 "description": "", 7430 "type": "string" 7431 }, 7432 "format_url": { 7433 "description": "", 7434 "type": "string" 7435 }, 7436 "identifier_perm": { 7437 "description": "Unique and permanent identifier for the package.", 7438 "type": "string" 7439 }, 7440 "indexed": { 7441 "description": "", 7442 "type": "boolean" 7443 }, 7444 "is_sync_awaiting": { 7445 "description": "", 7446 "type": "boolean" 7447 }, 7448 "is_sync_completed": { 7449 "description": "", 7450 "type": "boolean" 7451 }, 7452 "is_sync_failed": { 7453 "description": "", 7454 "type": "boolean" 7455 }, 7456 "is_sync_in_flight": { 7457 "description": "", 7458 "type": "boolean" 7459 }, 7460 "is_sync_in_progress": { 7461 "description": "", 7462 "type": "boolean" 7463 }, 7464 "license": { 7465 "description": "The license of this package.", 7466 "type": "string" 7467 }, 7468 "name": { 7469 "description": "The name of this package.", 7470 "type": "string" 7471 }, 7472 "namespace": { 7473 "description": "", 7474 "type": "string" 7475 }, 7476 "namespace_url": { 7477 "description": "", 7478 "type": "string" 7479 }, 7480 "num_files": { 7481 "description": "", 7482 "type": "integer" 7483 }, 7484 "package_type": { 7485 "description": "The type of package contents.", 7486 "type": "string" 7487 }, 7488 "release": { 7489 "description": "The release of the package version (if any).", 7490 "type": "string" 7491 }, 7492 "repository": { 7493 "description": "", 7494 "type": "string" 7495 }, 7496 "repository_url": { 7497 "description": "", 7498 "type": "string" 7499 }, 7500 "self_html_url": { 7501 "description": "", 7502 "type": "string" 7503 }, 7504 "self_url": { 7505 "description": "", 7506 "type": "string" 7507 }, 7508 "size": { 7509 "description": "The calculated size of the package.", 7510 "type": "integer" 7511 }, 7512 "slug": { 7513 "description": "", 7514 "type": "string" 7515 }, 7516 "slug_perm": { 7517 "description": "", 7518 "type": "string" 7519 }, 7520 "stage": { 7521 "description": "The synchronisation (in progress) stage of the package.", 7522 "type": "string" 7523 }, 7524 "stage_str": { 7525 "description": "", 7526 "type": "string" 7527 }, 7528 "stage_updated_at": { 7529 "description": "The datetime the package stage was updated at.", 7530 "type": "string" 7531 }, 7532 "status": { 7533 "description": "The synchronisation status of the package.", 7534 "type": "string" 7535 }, 7536 "status_reason": { 7537 "description": "A textual description for the synchronous status reason (if any", 7538 "type": "string" 7539 }, 7540 "status_str": { 7541 "description": "", 7542 "type": "string" 7543 }, 7544 "status_updated_at": { 7545 "description": "The datetime the package status was updated at.", 7546 "type": "string" 7547 }, 7548 "status_url": { 7549 "description": "", 7550 "type": "string" 7551 }, 7552 "subtype": { 7553 "description": "", 7554 "type": "string" 7555 }, 7556 "summary": { 7557 "description": "A one-liner synopsis of this package.", 7558 "type": "string" 7559 }, 7560 "sync_finished_at": { 7561 "description": "The datetime the package sync was finished at.", 7562 "type": "string" 7563 }, 7564 "sync_progress": { 7565 "description": "Synchronisation progress (from 0-100)", 7566 "type": "integer" 7567 }, 7568 "type_display": { 7569 "description": "", 7570 "type": "string" 7571 }, 7572 "uploaded_at": { 7573 "description": "The date this package was uploaded.", 7574 "type": "string" 7575 }, 7576 "uploader": { 7577 "description": "", 7578 "type": "string" 7579 }, 7580 "uploader_url": { 7581 "description": "", 7582 "type": "string" 7583 }, 7584 "version": { 7585 "description": "The raw version for this package.", 7586 "type": "string" 7587 }, 7588 "version_orig": { 7589 "description": "", 7590 "type": "string" 7591 } 7592 }, 7593 "title": "DockerPackageUpload", 7594 "type": "object" 7595 } 7596 }, 7597 "400": { 7598 "description": "Request could not be processed (see detail)", 7599 "schema": { 7600 "properties": { 7601 "detail": { 7602 "description": "An extended message for the response.", 7603 "type": "string" 7604 } 7605 }, 7606 "required": [ 7607 "detail" 7608 ], 7609 "title": "Status", 7610 "type": "object" 7611 } 7612 }, 7613 "404": { 7614 "description": "Namespace (owner) or repository not found", 7615 "schema": { 7616 "properties": { 7617 "detail": { 7618 "description": "An extended message for the response.", 7619 "type": "string" 7620 } 7621 }, 7622 "required": [ 7623 "detail" 7624 ], 7625 "title": "Status", 7626 "type": "object" 7627 } 7628 }, 7629 "422": { 7630 "description": "Missing or invalid parameters (see detail)", 7631 "schema": { 7632 "properties": { 7633 "detail": { 7634 "description": "An extended message for the response.", 7635 "type": "string" 7636 } 7637 }, 7638 "required": [ 7639 "detail" 7640 ], 7641 "title": "Status", 7642 "type": "object" 7643 } 7644 } 7645 }, 7646 "security": [ 7647 { 7648 "token": [] 7649 }, 7650 { 7651 "apikey": [] 7652 }, 7653 { 7654 "csrf_token": [] 7655 } 7656 ], 7657 "summary": "Create a new Docker package", 7658 "tags": [ 7659 "packages" 7660 ] 7661 } 7662 }, 7663 "/packages/{owner}/{repo}/upload/go/": { 7664 "post": { 7665 "consumes": [ 7666 "application/json" 7667 ], 7668 "description": "Create a new Go package", 7669 "operationId": "packages_upload_go", 7670 "parameters": [ 7671 { 7672 "description": "", 7673 "in": "path", 7674 "name": "owner", 7675 "required": true, 7676 "type": "string" 7677 }, 7678 { 7679 "description": "", 7680 "in": "path", 7681 "name": "repo", 7682 "required": true, 7683 "type": "string" 7684 }, 7685 { 7686 "in": "body", 7687 "name": "data", 7688 "schema": { 7689 "properties": { 7690 "package_file": { 7691 "description": "The primary file for the package.", 7692 "example": "x123456789a", 7693 "type": "string" 7694 }, 7695 "republish": { 7696 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 7697 "type": "boolean" 7698 } 7699 }, 7700 "required": [ 7701 "package_file" 7702 ], 7703 "title": "PackagesUploadGo", 7704 "type": "object" 7705 } 7706 } 7707 ], 7708 "responses": { 7709 "201": { 7710 "description": "Upload acknowledged and queued for synchronisation", 7711 "schema": { 7712 "properties": { 7713 "architectures": { 7714 "description": "", 7715 "items": { 7716 "properties": { 7717 "description": { 7718 "description": "", 7719 "type": "string" 7720 }, 7721 "name": { 7722 "description": "", 7723 "type": "string" 7724 } 7725 }, 7726 "type": "object" 7727 }, 7728 "title": "ArchitecturesList", 7729 "type": "array" 7730 }, 7731 "cdn_url": { 7732 "description": "", 7733 "type": "string" 7734 }, 7735 "checksum_md5": { 7736 "description": "", 7737 "type": "string" 7738 }, 7739 "checksum_sha1": { 7740 "description": "", 7741 "type": "string" 7742 }, 7743 "checksum_sha256": { 7744 "description": "", 7745 "type": "string" 7746 }, 7747 "checksum_sha512": { 7748 "description": "", 7749 "type": "string" 7750 }, 7751 "description": { 7752 "description": "A textual description of this package.", 7753 "type": "string" 7754 }, 7755 "distro": { 7756 "description": "", 7757 "type": "object" 7758 }, 7759 "distro_version": { 7760 "description": "", 7761 "type": "object" 7762 }, 7763 "downloads": { 7764 "description": "", 7765 "type": "integer" 7766 }, 7767 "epoch": { 7768 "description": "The epoch of the package version (if any).", 7769 "type": "integer" 7770 }, 7771 "extension": { 7772 "description": "", 7773 "type": "string" 7774 }, 7775 "filename": { 7776 "description": "", 7777 "type": "string" 7778 }, 7779 "files": { 7780 "description": "", 7781 "items": { 7782 "properties": { 7783 "cdn_url": { 7784 "description": "", 7785 "type": "string" 7786 }, 7787 "checksum_md5": { 7788 "description": "", 7789 "type": "string" 7790 }, 7791 "checksum_sha1": { 7792 "description": "", 7793 "type": "string" 7794 }, 7795 "checksum_sha256": { 7796 "description": "", 7797 "type": "string" 7798 }, 7799 "checksum_sha512": { 7800 "description": "", 7801 "type": "string" 7802 }, 7803 "downloads": { 7804 "description": "", 7805 "type": "integer" 7806 }, 7807 "filename": { 7808 "description": "", 7809 "type": "string" 7810 }, 7811 "is_downloadable": { 7812 "description": "", 7813 "type": "boolean" 7814 }, 7815 "is_primary": { 7816 "description": "", 7817 "type": "boolean" 7818 }, 7819 "is_synchronised": { 7820 "description": "", 7821 "type": "boolean" 7822 }, 7823 "size": { 7824 "description": "The calculated size of the file.", 7825 "type": "integer" 7826 }, 7827 "slug_perm": { 7828 "description": "", 7829 "type": "string" 7830 }, 7831 "tag": { 7832 "description": "Freeform descriptor that describes what the file is.", 7833 "type": "string" 7834 } 7835 }, 7836 "type": "object" 7837 }, 7838 "title": "FilesList", 7839 "type": "array" 7840 }, 7841 "format": { 7842 "description": "", 7843 "type": "string" 7844 }, 7845 "format_url": { 7846 "description": "", 7847 "type": "string" 7848 }, 7849 "identifier_perm": { 7850 "description": "Unique and permanent identifier for the package.", 7851 "type": "string" 7852 }, 7853 "indexed": { 7854 "description": "", 7855 "type": "boolean" 7856 }, 7857 "is_sync_awaiting": { 7858 "description": "", 7859 "type": "boolean" 7860 }, 7861 "is_sync_completed": { 7862 "description": "", 7863 "type": "boolean" 7864 }, 7865 "is_sync_failed": { 7866 "description": "", 7867 "type": "boolean" 7868 }, 7869 "is_sync_in_flight": { 7870 "description": "", 7871 "type": "boolean" 7872 }, 7873 "is_sync_in_progress": { 7874 "description": "", 7875 "type": "boolean" 7876 }, 7877 "license": { 7878 "description": "The license of this package.", 7879 "type": "string" 7880 }, 7881 "name": { 7882 "description": "The name of this package.", 7883 "type": "string" 7884 }, 7885 "namespace": { 7886 "description": "", 7887 "type": "string" 7888 }, 7889 "namespace_url": { 7890 "description": "", 7891 "type": "string" 7892 }, 7893 "num_files": { 7894 "description": "", 7895 "type": "integer" 7896 }, 7897 "package_type": { 7898 "description": "The type of package contents.", 7899 "type": "string" 7900 }, 7901 "release": { 7902 "description": "The release of the package version (if any).", 7903 "type": "string" 7904 }, 7905 "repository": { 7906 "description": "", 7907 "type": "string" 7908 }, 7909 "repository_url": { 7910 "description": "", 7911 "type": "string" 7912 }, 7913 "self_html_url": { 7914 "description": "", 7915 "type": "string" 7916 }, 7917 "self_url": { 7918 "description": "", 7919 "type": "string" 7920 }, 7921 "size": { 7922 "description": "The calculated size of the package.", 7923 "type": "integer" 7924 }, 7925 "slug": { 7926 "description": "", 7927 "type": "string" 7928 }, 7929 "slug_perm": { 7930 "description": "", 7931 "type": "string" 7932 }, 7933 "stage": { 7934 "description": "The synchronisation (in progress) stage of the package.", 7935 "type": "string" 7936 }, 7937 "stage_str": { 7938 "description": "", 7939 "type": "string" 7940 }, 7941 "stage_updated_at": { 7942 "description": "The datetime the package stage was updated at.", 7943 "type": "string" 7944 }, 7945 "status": { 7946 "description": "The synchronisation status of the package.", 7947 "type": "string" 7948 }, 7949 "status_reason": { 7950 "description": "A textual description for the synchronous status reason (if any", 7951 "type": "string" 7952 }, 7953 "status_str": { 7954 "description": "", 7955 "type": "string" 7956 }, 7957 "status_updated_at": { 7958 "description": "The datetime the package status was updated at.", 7959 "type": "string" 7960 }, 7961 "status_url": { 7962 "description": "", 7963 "type": "string" 7964 }, 7965 "subtype": { 7966 "description": "", 7967 "type": "string" 7968 }, 7969 "summary": { 7970 "description": "A one-liner synopsis of this package.", 7971 "type": "string" 7972 }, 7973 "sync_finished_at": { 7974 "description": "The datetime the package sync was finished at.", 7975 "type": "string" 7976 }, 7977 "sync_progress": { 7978 "description": "Synchronisation progress (from 0-100)", 7979 "type": "integer" 7980 }, 7981 "type_display": { 7982 "description": "", 7983 "type": "string" 7984 }, 7985 "uploaded_at": { 7986 "description": "The date this package was uploaded.", 7987 "type": "string" 7988 }, 7989 "uploader": { 7990 "description": "", 7991 "type": "string" 7992 }, 7993 "uploader_url": { 7994 "description": "", 7995 "type": "string" 7996 }, 7997 "version": { 7998 "description": "The raw version for this package.", 7999 "type": "string" 8000 }, 8001 "version_orig": { 8002 "description": "", 8003 "type": "string" 8004 } 8005 }, 8006 "title": "GoPackageUpload", 8007 "type": "object" 8008 } 8009 }, 8010 "400": { 8011 "description": "Request could not be processed (see detail)", 8012 "schema": { 8013 "properties": { 8014 "detail": { 8015 "description": "An extended message for the response.", 8016 "type": "string" 8017 } 8018 }, 8019 "required": [ 8020 "detail" 8021 ], 8022 "title": "Status", 8023 "type": "object" 8024 } 8025 }, 8026 "404": { 8027 "description": "Namespace (owner) or repository not found", 8028 "schema": { 8029 "properties": { 8030 "detail": { 8031 "description": "An extended message for the response.", 8032 "type": "string" 8033 } 8034 }, 8035 "required": [ 8036 "detail" 8037 ], 8038 "title": "Status", 8039 "type": "object" 8040 } 8041 }, 8042 "422": { 8043 "description": "Missing or invalid parameters (see detail)", 8044 "schema": { 8045 "properties": { 8046 "detail": { 8047 "description": "An extended message for the response.", 8048 "type": "string" 8049 } 8050 }, 8051 "required": [ 8052 "detail" 8053 ], 8054 "title": "Status", 8055 "type": "object" 8056 } 8057 } 8058 }, 8059 "security": [ 8060 { 8061 "token": [] 8062 }, 8063 { 8064 "apikey": [] 8065 }, 8066 { 8067 "csrf_token": [] 8068 } 8069 ], 8070 "summary": "Create a new Go package", 8071 "tags": [ 8072 "packages" 8073 ] 8074 } 8075 }, 8076 "/packages/{owner}/{repo}/upload/helm/": { 8077 "post": { 8078 "consumes": [ 8079 "application/json" 8080 ], 8081 "description": "Create a new Helm package", 8082 "operationId": "packages_upload_helm", 8083 "parameters": [ 8084 { 8085 "description": "", 8086 "in": "path", 8087 "name": "owner", 8088 "required": true, 8089 "type": "string" 8090 }, 8091 { 8092 "description": "", 8093 "in": "path", 8094 "name": "repo", 8095 "required": true, 8096 "type": "string" 8097 }, 8098 { 8099 "in": "body", 8100 "name": "data", 8101 "schema": { 8102 "properties": { 8103 "package_file": { 8104 "description": "The primary file for the package.", 8105 "example": "x123456789a", 8106 "type": "string" 8107 }, 8108 "republish": { 8109 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 8110 "type": "boolean" 8111 } 8112 }, 8113 "required": [ 8114 "package_file" 8115 ], 8116 "title": "PackagesUploadHelm", 8117 "type": "object" 8118 } 8119 } 8120 ], 8121 "responses": { 8122 "201": { 8123 "description": "Upload acknowledged and queued for synchronisation", 8124 "schema": { 8125 "properties": { 8126 "architectures": { 8127 "description": "", 8128 "items": { 8129 "properties": { 8130 "description": { 8131 "description": "", 8132 "type": "string" 8133 }, 8134 "name": { 8135 "description": "", 8136 "type": "string" 8137 } 8138 }, 8139 "type": "object" 8140 }, 8141 "title": "ArchitecturesList", 8142 "type": "array" 8143 }, 8144 "cdn_url": { 8145 "description": "", 8146 "type": "string" 8147 }, 8148 "checksum_md5": { 8149 "description": "", 8150 "type": "string" 8151 }, 8152 "checksum_sha1": { 8153 "description": "", 8154 "type": "string" 8155 }, 8156 "checksum_sha256": { 8157 "description": "", 8158 "type": "string" 8159 }, 8160 "checksum_sha512": { 8161 "description": "", 8162 "type": "string" 8163 }, 8164 "description": { 8165 "description": "A textual description of this package.", 8166 "type": "string" 8167 }, 8168 "distro": { 8169 "description": "", 8170 "type": "object" 8171 }, 8172 "distro_version": { 8173 "description": "", 8174 "type": "object" 8175 }, 8176 "downloads": { 8177 "description": "", 8178 "type": "integer" 8179 }, 8180 "epoch": { 8181 "description": "The epoch of the package version (if any).", 8182 "type": "integer" 8183 }, 8184 "extension": { 8185 "description": "", 8186 "type": "string" 8187 }, 8188 "filename": { 8189 "description": "", 8190 "type": "string" 8191 }, 8192 "files": { 8193 "description": "", 8194 "items": { 8195 "properties": { 8196 "cdn_url": { 8197 "description": "", 8198 "type": "string" 8199 }, 8200 "checksum_md5": { 8201 "description": "", 8202 "type": "string" 8203 }, 8204 "checksum_sha1": { 8205 "description": "", 8206 "type": "string" 8207 }, 8208 "checksum_sha256": { 8209 "description": "", 8210 "type": "string" 8211 }, 8212 "checksum_sha512": { 8213 "description": "", 8214 "type": "string" 8215 }, 8216 "downloads": { 8217 "description": "", 8218 "type": "integer" 8219 }, 8220 "filename": { 8221 "description": "", 8222 "type": "string" 8223 }, 8224 "is_downloadable": { 8225 "description": "", 8226 "type": "boolean" 8227 }, 8228 "is_primary": { 8229 "description": "", 8230 "type": "boolean" 8231 }, 8232 "is_synchronised": { 8233 "description": "", 8234 "type": "boolean" 8235 }, 8236 "size": { 8237 "description": "The calculated size of the file.", 8238 "type": "integer" 8239 }, 8240 "slug_perm": { 8241 "description": "", 8242 "type": "string" 8243 }, 8244 "tag": { 8245 "description": "Freeform descriptor that describes what the file is.", 8246 "type": "string" 8247 } 8248 }, 8249 "type": "object" 8250 }, 8251 "title": "FilesList", 8252 "type": "array" 8253 }, 8254 "format": { 8255 "description": "", 8256 "type": "string" 8257 }, 8258 "format_url": { 8259 "description": "", 8260 "type": "string" 8261 }, 8262 "identifier_perm": { 8263 "description": "Unique and permanent identifier for the package.", 8264 "type": "string" 8265 }, 8266 "indexed": { 8267 "description": "", 8268 "type": "boolean" 8269 }, 8270 "is_sync_awaiting": { 8271 "description": "", 8272 "type": "boolean" 8273 }, 8274 "is_sync_completed": { 8275 "description": "", 8276 "type": "boolean" 8277 }, 8278 "is_sync_failed": { 8279 "description": "", 8280 "type": "boolean" 8281 }, 8282 "is_sync_in_flight": { 8283 "description": "", 8284 "type": "boolean" 8285 }, 8286 "is_sync_in_progress": { 8287 "description": "", 8288 "type": "boolean" 8289 }, 8290 "license": { 8291 "description": "The license of this package.", 8292 "type": "string" 8293 }, 8294 "name": { 8295 "description": "The name of this package.", 8296 "type": "string" 8297 }, 8298 "namespace": { 8299 "description": "", 8300 "type": "string" 8301 }, 8302 "namespace_url": { 8303 "description": "", 8304 "type": "string" 8305 }, 8306 "num_files": { 8307 "description": "", 8308 "type": "integer" 8309 }, 8310 "package_type": { 8311 "description": "The type of package contents.", 8312 "type": "string" 8313 }, 8314 "release": { 8315 "description": "The release of the package version (if any).", 8316 "type": "string" 8317 }, 8318 "repository": { 8319 "description": "", 8320 "type": "string" 8321 }, 8322 "repository_url": { 8323 "description": "", 8324 "type": "string" 8325 }, 8326 "self_html_url": { 8327 "description": "", 8328 "type": "string" 8329 }, 8330 "self_url": { 8331 "description": "", 8332 "type": "string" 8333 }, 8334 "size": { 8335 "description": "The calculated size of the package.", 8336 "type": "integer" 8337 }, 8338 "slug": { 8339 "description": "", 8340 "type": "string" 8341 }, 8342 "slug_perm": { 8343 "description": "", 8344 "type": "string" 8345 }, 8346 "stage": { 8347 "description": "The synchronisation (in progress) stage of the package.", 8348 "type": "string" 8349 }, 8350 "stage_str": { 8351 "description": "", 8352 "type": "string" 8353 }, 8354 "stage_updated_at": { 8355 "description": "The datetime the package stage was updated at.", 8356 "type": "string" 8357 }, 8358 "status": { 8359 "description": "The synchronisation status of the package.", 8360 "type": "string" 8361 }, 8362 "status_reason": { 8363 "description": "A textual description for the synchronous status reason (if any", 8364 "type": "string" 8365 }, 8366 "status_str": { 8367 "description": "", 8368 "type": "string" 8369 }, 8370 "status_updated_at": { 8371 "description": "The datetime the package status was updated at.", 8372 "type": "string" 8373 }, 8374 "status_url": { 8375 "description": "", 8376 "type": "string" 8377 }, 8378 "subtype": { 8379 "description": "", 8380 "type": "string" 8381 }, 8382 "summary": { 8383 "description": "A one-liner synopsis of this package.", 8384 "type": "string" 8385 }, 8386 "sync_finished_at": { 8387 "description": "The datetime the package sync was finished at.", 8388 "type": "string" 8389 }, 8390 "sync_progress": { 8391 "description": "Synchronisation progress (from 0-100)", 8392 "type": "integer" 8393 }, 8394 "type_display": { 8395 "description": "", 8396 "type": "string" 8397 }, 8398 "uploaded_at": { 8399 "description": "The date this package was uploaded.", 8400 "type": "string" 8401 }, 8402 "uploader": { 8403 "description": "", 8404 "type": "string" 8405 }, 8406 "uploader_url": { 8407 "description": "", 8408 "type": "string" 8409 }, 8410 "version": { 8411 "description": "The raw version for this package.", 8412 "type": "string" 8413 }, 8414 "version_orig": { 8415 "description": "", 8416 "type": "string" 8417 } 8418 }, 8419 "title": "HelmPackageUpload", 8420 "type": "object" 8421 } 8422 }, 8423 "400": { 8424 "description": "Request could not be processed (see detail)", 8425 "schema": { 8426 "properties": { 8427 "detail": { 8428 "description": "An extended message for the response.", 8429 "type": "string" 8430 } 8431 }, 8432 "required": [ 8433 "detail" 8434 ], 8435 "title": "Status", 8436 "type": "object" 8437 } 8438 }, 8439 "404": { 8440 "description": "Namespace (owner) or repository not found", 8441 "schema": { 8442 "properties": { 8443 "detail": { 8444 "description": "An extended message for the response.", 8445 "type": "string" 8446 } 8447 }, 8448 "required": [ 8449 "detail" 8450 ], 8451 "title": "Status", 8452 "type": "object" 8453 } 8454 }, 8455 "422": { 8456 "description": "Missing or invalid parameters (see detail)", 8457 "schema": { 8458 "properties": { 8459 "detail": { 8460 "description": "An extended message for the response.", 8461 "type": "string" 8462 } 8463 }, 8464 "required": [ 8465 "detail" 8466 ], 8467 "title": "Status", 8468 "type": "object" 8469 } 8470 } 8471 }, 8472 "security": [ 8473 { 8474 "token": [] 8475 }, 8476 { 8477 "apikey": [] 8478 }, 8479 { 8480 "csrf_token": [] 8481 } 8482 ], 8483 "summary": "Create a new Helm package", 8484 "tags": [ 8485 "packages" 8486 ] 8487 } 8488 }, 8489 "/packages/{owner}/{repo}/upload/luarocks/": { 8490 "post": { 8491 "consumes": [ 8492 "application/json" 8493 ], 8494 "description": "Create a new LuaRocks package", 8495 "operationId": "packages_upload_luarocks", 8496 "parameters": [ 8497 { 8498 "description": "", 8499 "in": "path", 8500 "name": "owner", 8501 "required": true, 8502 "type": "string" 8503 }, 8504 { 8505 "description": "", 8506 "in": "path", 8507 "name": "repo", 8508 "required": true, 8509 "type": "string" 8510 }, 8511 { 8512 "in": "body", 8513 "name": "data", 8514 "schema": { 8515 "properties": { 8516 "package_file": { 8517 "description": "The primary file for the package.", 8518 "example": "x123456789a", 8519 "type": "string" 8520 }, 8521 "republish": { 8522 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 8523 "type": "boolean" 8524 } 8525 }, 8526 "required": [ 8527 "package_file" 8528 ], 8529 "title": "PackagesUploadLuarocks", 8530 "type": "object" 8531 } 8532 } 8533 ], 8534 "responses": { 8535 "201": { 8536 "description": "Upload acknowledged and queued for synchronisation", 8537 "schema": { 8538 "properties": { 8539 "architectures": { 8540 "description": "", 8541 "items": { 8542 "properties": { 8543 "description": { 8544 "description": "", 8545 "type": "string" 8546 }, 8547 "name": { 8548 "description": "", 8549 "type": "string" 8550 } 8551 }, 8552 "type": "object" 8553 }, 8554 "title": "ArchitecturesList", 8555 "type": "array" 8556 }, 8557 "cdn_url": { 8558 "description": "", 8559 "type": "string" 8560 }, 8561 "checksum_md5": { 8562 "description": "", 8563 "type": "string" 8564 }, 8565 "checksum_sha1": { 8566 "description": "", 8567 "type": "string" 8568 }, 8569 "checksum_sha256": { 8570 "description": "", 8571 "type": "string" 8572 }, 8573 "checksum_sha512": { 8574 "description": "", 8575 "type": "string" 8576 }, 8577 "description": { 8578 "description": "A textual description of this package.", 8579 "type": "string" 8580 }, 8581 "distro": { 8582 "description": "", 8583 "type": "object" 8584 }, 8585 "distro_version": { 8586 "description": "", 8587 "type": "object" 8588 }, 8589 "downloads": { 8590 "description": "", 8591 "type": "integer" 8592 }, 8593 "epoch": { 8594 "description": "The epoch of the package version (if any).", 8595 "type": "integer" 8596 }, 8597 "extension": { 8598 "description": "", 8599 "type": "string" 8600 }, 8601 "filename": { 8602 "description": "", 8603 "type": "string" 8604 }, 8605 "files": { 8606 "description": "", 8607 "items": { 8608 "properties": { 8609 "cdn_url": { 8610 "description": "", 8611 "type": "string" 8612 }, 8613 "checksum_md5": { 8614 "description": "", 8615 "type": "string" 8616 }, 8617 "checksum_sha1": { 8618 "description": "", 8619 "type": "string" 8620 }, 8621 "checksum_sha256": { 8622 "description": "", 8623 "type": "string" 8624 }, 8625 "checksum_sha512": { 8626 "description": "", 8627 "type": "string" 8628 }, 8629 "downloads": { 8630 "description": "", 8631 "type": "integer" 8632 }, 8633 "filename": { 8634 "description": "", 8635 "type": "string" 8636 }, 8637 "is_downloadable": { 8638 "description": "", 8639 "type": "boolean" 8640 }, 8641 "is_primary": { 8642 "description": "", 8643 "type": "boolean" 8644 }, 8645 "is_synchronised": { 8646 "description": "", 8647 "type": "boolean" 8648 }, 8649 "size": { 8650 "description": "The calculated size of the file.", 8651 "type": "integer" 8652 }, 8653 "slug_perm": { 8654 "description": "", 8655 "type": "string" 8656 }, 8657 "tag": { 8658 "description": "Freeform descriptor that describes what the file is.", 8659 "type": "string" 8660 } 8661 }, 8662 "type": "object" 8663 }, 8664 "title": "FilesList", 8665 "type": "array" 8666 }, 8667 "format": { 8668 "description": "", 8669 "type": "string" 8670 }, 8671 "format_url": { 8672 "description": "", 8673 "type": "string" 8674 }, 8675 "identifier_perm": { 8676 "description": "Unique and permanent identifier for the package.", 8677 "type": "string" 8678 }, 8679 "indexed": { 8680 "description": "", 8681 "type": "boolean" 8682 }, 8683 "is_sync_awaiting": { 8684 "description": "", 8685 "type": "boolean" 8686 }, 8687 "is_sync_completed": { 8688 "description": "", 8689 "type": "boolean" 8690 }, 8691 "is_sync_failed": { 8692 "description": "", 8693 "type": "boolean" 8694 }, 8695 "is_sync_in_flight": { 8696 "description": "", 8697 "type": "boolean" 8698 }, 8699 "is_sync_in_progress": { 8700 "description": "", 8701 "type": "boolean" 8702 }, 8703 "license": { 8704 "description": "The license of this package.", 8705 "type": "string" 8706 }, 8707 "name": { 8708 "description": "The name of this package.", 8709 "type": "string" 8710 }, 8711 "namespace": { 8712 "description": "", 8713 "type": "string" 8714 }, 8715 "namespace_url": { 8716 "description": "", 8717 "type": "string" 8718 }, 8719 "num_files": { 8720 "description": "", 8721 "type": "integer" 8722 }, 8723 "package_type": { 8724 "description": "The type of package contents.", 8725 "type": "string" 8726 }, 8727 "release": { 8728 "description": "The release of the package version (if any).", 8729 "type": "string" 8730 }, 8731 "repository": { 8732 "description": "", 8733 "type": "string" 8734 }, 8735 "repository_url": { 8736 "description": "", 8737 "type": "string" 8738 }, 8739 "self_html_url": { 8740 "description": "", 8741 "type": "string" 8742 }, 8743 "self_url": { 8744 "description": "", 8745 "type": "string" 8746 }, 8747 "size": { 8748 "description": "The calculated size of the package.", 8749 "type": "integer" 8750 }, 8751 "slug": { 8752 "description": "", 8753 "type": "string" 8754 }, 8755 "slug_perm": { 8756 "description": "", 8757 "type": "string" 8758 }, 8759 "stage": { 8760 "description": "The synchronisation (in progress) stage of the package.", 8761 "type": "string" 8762 }, 8763 "stage_str": { 8764 "description": "", 8765 "type": "string" 8766 }, 8767 "stage_updated_at": { 8768 "description": "The datetime the package stage was updated at.", 8769 "type": "string" 8770 }, 8771 "status": { 8772 "description": "The synchronisation status of the package.", 8773 "type": "string" 8774 }, 8775 "status_reason": { 8776 "description": "A textual description for the synchronous status reason (if any", 8777 "type": "string" 8778 }, 8779 "status_str": { 8780 "description": "", 8781 "type": "string" 8782 }, 8783 "status_updated_at": { 8784 "description": "The datetime the package status was updated at.", 8785 "type": "string" 8786 }, 8787 "status_url": { 8788 "description": "", 8789 "type": "string" 8790 }, 8791 "subtype": { 8792 "description": "", 8793 "type": "string" 8794 }, 8795 "summary": { 8796 "description": "A one-liner synopsis of this package.", 8797 "type": "string" 8798 }, 8799 "sync_finished_at": { 8800 "description": "The datetime the package sync was finished at.", 8801 "type": "string" 8802 }, 8803 "sync_progress": { 8804 "description": "Synchronisation progress (from 0-100)", 8805 "type": "integer" 8806 }, 8807 "type_display": { 8808 "description": "", 8809 "type": "string" 8810 }, 8811 "uploaded_at": { 8812 "description": "The date this package was uploaded.", 8813 "type": "string" 8814 }, 8815 "uploader": { 8816 "description": "", 8817 "type": "string" 8818 }, 8819 "uploader_url": { 8820 "description": "", 8821 "type": "string" 8822 }, 8823 "version": { 8824 "description": "The raw version for this package.", 8825 "type": "string" 8826 }, 8827 "version_orig": { 8828 "description": "", 8829 "type": "string" 8830 } 8831 }, 8832 "title": "LuarocksPackageUpload", 8833 "type": "object" 8834 } 8835 }, 8836 "400": { 8837 "description": "Request could not be processed (see detail)", 8838 "schema": { 8839 "properties": { 8840 "detail": { 8841 "description": "An extended message for the response.", 8842 "type": "string" 8843 } 8844 }, 8845 "required": [ 8846 "detail" 8847 ], 8848 "title": "Status", 8849 "type": "object" 8850 } 8851 }, 8852 "404": { 8853 "description": "Namespace (owner) or repository not found", 8854 "schema": { 8855 "properties": { 8856 "detail": { 8857 "description": "An extended message for the response.", 8858 "type": "string" 8859 } 8860 }, 8861 "required": [ 8862 "detail" 8863 ], 8864 "title": "Status", 8865 "type": "object" 8866 } 8867 }, 8868 "422": { 8869 "description": "Missing or invalid parameters (see detail)", 8870 "schema": { 8871 "properties": { 8872 "detail": { 8873 "description": "An extended message for the response.", 8874 "type": "string" 8875 } 8876 }, 8877 "required": [ 8878 "detail" 8879 ], 8880 "title": "Status", 8881 "type": "object" 8882 } 8883 } 8884 }, 8885 "security": [ 8886 { 8887 "token": [] 8888 }, 8889 { 8890 "apikey": [] 8891 }, 8892 { 8893 "csrf_token": [] 8894 } 8895 ], 8896 "summary": "Create a new LuaRocks package", 8897 "tags": [ 8898 "packages" 8899 ] 8900 } 8901 }, 8902 "/packages/{owner}/{repo}/upload/maven/": { 8903 "post": { 8904 "consumes": [ 8905 "application/json" 8906 ], 8907 "description": "Create a new Maven package", 8908 "operationId": "packages_upload_maven", 8909 "parameters": [ 8910 { 8911 "description": "", 8912 "in": "path", 8913 "name": "owner", 8914 "required": true, 8915 "type": "string" 8916 }, 8917 { 8918 "description": "", 8919 "in": "path", 8920 "name": "repo", 8921 "required": true, 8922 "type": "string" 8923 }, 8924 { 8925 "in": "body", 8926 "name": "data", 8927 "schema": { 8928 "properties": { 8929 "artifact_id": { 8930 "description": "The ID of the artifact.", 8931 "example": "cloudsmith-example", 8932 "type": "string" 8933 }, 8934 "group_id": { 8935 "description": "Artifact's group ID.", 8936 "example": "io.cloudsmith.example", 8937 "type": "string" 8938 }, 8939 "javadoc_file": { 8940 "description": "Adds bundled Java documentation to the Maven package", 8941 "example": "y1234456789c", 8942 "type": "string" 8943 }, 8944 "package_file": { 8945 "description": "The primary file for the package.", 8946 "example": "y1234456789a", 8947 "type": "string" 8948 }, 8949 "packaging": { 8950 "description": "Artifact's Maven packaging type.", 8951 "type": "string" 8952 }, 8953 "pom_file": { 8954 "description": "The POM file is an XML file containing the Maven coordinates.", 8955 "example": "y1234456789b", 8956 "type": "string" 8957 }, 8958 "republish": { 8959 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 8960 "type": "boolean" 8961 }, 8962 "sources_file": { 8963 "description": "Adds bundled Java source code to the Maven package.", 8964 "example": "y1234456789d", 8965 "type": "string" 8966 }, 8967 "tests_file": { 8968 "description": "Adds bundled Java tests to the Maven package.", 8969 "example": "y1234456789e", 8970 "type": "string" 8971 }, 8972 "version": { 8973 "description": "The raw version for this package.", 8974 "type": "string" 8975 } 8976 }, 8977 "required": [ 8978 "package_file" 8979 ], 8980 "title": "PackagesUploadMaven", 8981 "type": "object" 8982 } 8983 } 8984 ], 8985 "responses": { 8986 "201": { 8987 "description": "Upload acknowledged and queued for synchronisation", 8988 "schema": { 8989 "properties": { 8990 "architectures": { 8991 "description": "", 8992 "items": { 8993 "properties": { 8994 "description": { 8995 "description": "", 8996 "type": "string" 8997 }, 8998 "name": { 8999 "description": "", 9000 "type": "string" 9001 } 9002 }, 9003 "type": "object" 9004 }, 9005 "title": "ArchitecturesList", 9006 "type": "array" 9007 }, 9008 "artifact_id": { 9009 "description": "The ID of the artifact.", 9010 "example": "cloudsmith-example", 9011 "type": "string" 9012 }, 9013 "cdn_url": { 9014 "description": "", 9015 "type": "string" 9016 }, 9017 "checksum_md5": { 9018 "description": "", 9019 "type": "string" 9020 }, 9021 "checksum_sha1": { 9022 "description": "", 9023 "type": "string" 9024 }, 9025 "checksum_sha256": { 9026 "description": "", 9027 "type": "string" 9028 }, 9029 "checksum_sha512": { 9030 "description": "", 9031 "type": "string" 9032 }, 9033 "description": { 9034 "description": "A textual description of this package.", 9035 "type": "string" 9036 }, 9037 "distro": { 9038 "description": "", 9039 "type": "object" 9040 }, 9041 "distro_version": { 9042 "description": "", 9043 "type": "object" 9044 }, 9045 "downloads": { 9046 "description": "", 9047 "type": "integer" 9048 }, 9049 "epoch": { 9050 "description": "The epoch of the package version (if any).", 9051 "type": "integer" 9052 }, 9053 "extension": { 9054 "description": "", 9055 "type": "string" 9056 }, 9057 "filename": { 9058 "description": "", 9059 "type": "string" 9060 }, 9061 "files": { 9062 "description": "", 9063 "items": { 9064 "properties": { 9065 "cdn_url": { 9066 "description": "", 9067 "type": "string" 9068 }, 9069 "checksum_md5": { 9070 "description": "", 9071 "type": "string" 9072 }, 9073 "checksum_sha1": { 9074 "description": "", 9075 "type": "string" 9076 }, 9077 "checksum_sha256": { 9078 "description": "", 9079 "type": "string" 9080 }, 9081 "checksum_sha512": { 9082 "description": "", 9083 "type": "string" 9084 }, 9085 "downloads": { 9086 "description": "", 9087 "type": "integer" 9088 }, 9089 "filename": { 9090 "description": "", 9091 "type": "string" 9092 }, 9093 "is_downloadable": { 9094 "description": "", 9095 "type": "boolean" 9096 }, 9097 "is_primary": { 9098 "description": "", 9099 "type": "boolean" 9100 }, 9101 "is_synchronised": { 9102 "description": "", 9103 "type": "boolean" 9104 }, 9105 "size": { 9106 "description": "The calculated size of the file.", 9107 "type": "integer" 9108 }, 9109 "slug_perm": { 9110 "description": "", 9111 "type": "string" 9112 }, 9113 "tag": { 9114 "description": "Freeform descriptor that describes what the file is.", 9115 "type": "string" 9116 } 9117 }, 9118 "type": "object" 9119 }, 9120 "title": "FilesList", 9121 "type": "array" 9122 }, 9123 "format": { 9124 "description": "", 9125 "type": "string" 9126 }, 9127 "format_url": { 9128 "description": "", 9129 "type": "string" 9130 }, 9131 "group_id": { 9132 "description": "Artifact's group ID.", 9133 "example": "io.cloudsmith.example", 9134 "type": "string" 9135 }, 9136 "identifier_perm": { 9137 "description": "Unique and permanent identifier for the package.", 9138 "type": "string" 9139 }, 9140 "indexed": { 9141 "description": "", 9142 "type": "boolean" 9143 }, 9144 "is_sync_awaiting": { 9145 "description": "", 9146 "type": "boolean" 9147 }, 9148 "is_sync_completed": { 9149 "description": "", 9150 "type": "boolean" 9151 }, 9152 "is_sync_failed": { 9153 "description": "", 9154 "type": "boolean" 9155 }, 9156 "is_sync_in_flight": { 9157 "description": "", 9158 "type": "boolean" 9159 }, 9160 "is_sync_in_progress": { 9161 "description": "", 9162 "type": "boolean" 9163 }, 9164 "license": { 9165 "description": "The license of this package.", 9166 "type": "string" 9167 }, 9168 "name": { 9169 "description": "The name of this package.", 9170 "type": "string" 9171 }, 9172 "namespace": { 9173 "description": "", 9174 "type": "string" 9175 }, 9176 "namespace_url": { 9177 "description": "", 9178 "type": "string" 9179 }, 9180 "num_files": { 9181 "description": "", 9182 "type": "integer" 9183 }, 9184 "package_type": { 9185 "description": "The type of package contents.", 9186 "type": "string" 9187 }, 9188 "packaging": { 9189 "description": "Artifact's Maven packaging type.", 9190 "type": "string" 9191 }, 9192 "release": { 9193 "description": "The release of the package version (if any).", 9194 "type": "string" 9195 }, 9196 "repository": { 9197 "description": "", 9198 "type": "string" 9199 }, 9200 "repository_url": { 9201 "description": "", 9202 "type": "string" 9203 }, 9204 "self_html_url": { 9205 "description": "", 9206 "type": "string" 9207 }, 9208 "self_url": { 9209 "description": "", 9210 "type": "string" 9211 }, 9212 "size": { 9213 "description": "The calculated size of the package.", 9214 "type": "integer" 9215 }, 9216 "slug": { 9217 "description": "", 9218 "type": "string" 9219 }, 9220 "slug_perm": { 9221 "description": "", 9222 "type": "string" 9223 }, 9224 "stage": { 9225 "description": "The synchronisation (in progress) stage of the package.", 9226 "type": "string" 9227 }, 9228 "stage_str": { 9229 "description": "", 9230 "type": "string" 9231 }, 9232 "stage_updated_at": { 9233 "description": "The datetime the package stage was updated at.", 9234 "type": "string" 9235 }, 9236 "status": { 9237 "description": "The synchronisation status of the package.", 9238 "type": "string" 9239 }, 9240 "status_reason": { 9241 "description": "A textual description for the synchronous status reason (if any", 9242 "type": "string" 9243 }, 9244 "status_str": { 9245 "description": "", 9246 "type": "string" 9247 }, 9248 "status_updated_at": { 9249 "description": "The datetime the package status was updated at.", 9250 "type": "string" 9251 }, 9252 "status_url": { 9253 "description": "", 9254 "type": "string" 9255 }, 9256 "subtype": { 9257 "description": "", 9258 "type": "string" 9259 }, 9260 "summary": { 9261 "description": "A one-liner synopsis of this package.", 9262 "type": "string" 9263 }, 9264 "sync_finished_at": { 9265 "description": "The datetime the package sync was finished at.", 9266 "type": "string" 9267 }, 9268 "sync_progress": { 9269 "description": "Synchronisation progress (from 0-100)", 9270 "type": "integer" 9271 }, 9272 "type_display": { 9273 "description": "", 9274 "type": "string" 9275 }, 9276 "uploaded_at": { 9277 "description": "The date this package was uploaded.", 9278 "type": "string" 9279 }, 9280 "uploader": { 9281 "description": "", 9282 "type": "string" 9283 }, 9284 "uploader_url": { 9285 "description": "", 9286 "type": "string" 9287 }, 9288 "version": { 9289 "description": "The raw version for this package.", 9290 "type": "string" 9291 }, 9292 "version_orig": { 9293 "description": "", 9294 "type": "string" 9295 } 9296 }, 9297 "title": "MavenPackageUpload", 9298 "type": "object" 9299 } 9300 }, 9301 "400": { 9302 "description": "Request could not be processed (see detail)", 9303 "schema": { 9304 "properties": { 9305 "detail": { 9306 "description": "An extended message for the response.", 9307 "type": "string" 9308 } 9309 }, 9310 "required": [ 9311 "detail" 9312 ], 9313 "title": "Status", 9314 "type": "object" 9315 } 9316 }, 9317 "404": { 9318 "description": "Namespace (owner) or repository not found", 9319 "schema": { 9320 "properties": { 9321 "detail": { 9322 "description": "An extended message for the response.", 9323 "type": "string" 9324 } 9325 }, 9326 "required": [ 9327 "detail" 9328 ], 9329 "title": "Status", 9330 "type": "object" 9331 } 9332 }, 9333 "422": { 9334 "description": "Missing or invalid parameters (see detail)", 9335 "schema": { 9336 "properties": { 9337 "detail": { 9338 "description": "An extended message for the response.", 9339 "type": "string" 9340 } 9341 }, 9342 "required": [ 9343 "detail" 9344 ], 9345 "title": "Status", 9346 "type": "object" 9347 } 9348 } 9349 }, 9350 "security": [ 9351 { 9352 "token": [] 9353 }, 9354 { 9355 "apikey": [] 9356 }, 9357 { 9358 "csrf_token": [] 9359 } 9360 ], 9361 "summary": "Create a new Maven package", 9362 "tags": [ 9363 "packages" 9364 ] 9365 } 9366 }, 9367 "/packages/{owner}/{repo}/upload/npm/": { 9368 "post": { 9369 "consumes": [ 9370 "application/json" 9371 ], 9372 "description": "Create a new npm package", 9373 "operationId": "packages_upload_npm", 9374 "parameters": [ 9375 { 9376 "description": "", 9377 "in": "path", 9378 "name": "owner", 9379 "required": true, 9380 "type": "string" 9381 }, 9382 { 9383 "description": "", 9384 "in": "path", 9385 "name": "repo", 9386 "required": true, 9387 "type": "string" 9388 }, 9389 { 9390 "in": "body", 9391 "name": "data", 9392 "schema": { 9393 "properties": { 9394 "npm_dist_tag": { 9395 "description": "The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag.", 9396 "example": "latest", 9397 "type": "string" 9398 }, 9399 "package_file": { 9400 "description": "The primary file for the package.", 9401 "example": "y123456789", 9402 "type": "string" 9403 }, 9404 "republish": { 9405 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 9406 "type": "boolean" 9407 } 9408 }, 9409 "required": [ 9410 "package_file" 9411 ], 9412 "title": "PackagesUploadNpm", 9413 "type": "object" 9414 } 9415 } 9416 ], 9417 "responses": { 9418 "201": { 9419 "description": "Upload acknowledged and queued for synchronisation", 9420 "schema": { 9421 "properties": { 9422 "architectures": { 9423 "description": "", 9424 "items": { 9425 "properties": { 9426 "description": { 9427 "description": "", 9428 "type": "string" 9429 }, 9430 "name": { 9431 "description": "", 9432 "type": "string" 9433 } 9434 }, 9435 "type": "object" 9436 }, 9437 "title": "ArchitecturesList", 9438 "type": "array" 9439 }, 9440 "cdn_url": { 9441 "description": "", 9442 "type": "string" 9443 }, 9444 "checksum_md5": { 9445 "description": "", 9446 "type": "string" 9447 }, 9448 "checksum_sha1": { 9449 "description": "", 9450 "type": "string" 9451 }, 9452 "checksum_sha256": { 9453 "description": "", 9454 "type": "string" 9455 }, 9456 "checksum_sha512": { 9457 "description": "", 9458 "type": "string" 9459 }, 9460 "description": { 9461 "description": "A textual description of this package.", 9462 "type": "string" 9463 }, 9464 "distro": { 9465 "description": "", 9466 "type": "object" 9467 }, 9468 "distro_version": { 9469 "description": "", 9470 "type": "object" 9471 }, 9472 "downloads": { 9473 "description": "", 9474 "type": "integer" 9475 }, 9476 "epoch": { 9477 "description": "The epoch of the package version (if any).", 9478 "type": "integer" 9479 }, 9480 "extension": { 9481 "description": "", 9482 "type": "string" 9483 }, 9484 "filename": { 9485 "description": "", 9486 "type": "string" 9487 }, 9488 "files": { 9489 "description": "", 9490 "items": { 9491 "properties": { 9492 "cdn_url": { 9493 "description": "", 9494 "type": "string" 9495 }, 9496 "checksum_md5": { 9497 "description": "", 9498 "type": "string" 9499 }, 9500 "checksum_sha1": { 9501 "description": "", 9502 "type": "string" 9503 }, 9504 "checksum_sha256": { 9505 "description": "", 9506 "type": "string" 9507 }, 9508 "checksum_sha512": { 9509 "description": "", 9510 "type": "string" 9511 }, 9512 "downloads": { 9513 "description": "", 9514 "type": "integer" 9515 }, 9516 "filename": { 9517 "description": "", 9518 "type": "string" 9519 }, 9520 "is_downloadable": { 9521 "description": "", 9522 "type": "boolean" 9523 }, 9524 "is_primary": { 9525 "description": "", 9526 "type": "boolean" 9527 }, 9528 "is_synchronised": { 9529 "description": "", 9530 "type": "boolean" 9531 }, 9532 "size": { 9533 "description": "The calculated size of the file.", 9534 "type": "integer" 9535 }, 9536 "slug_perm": { 9537 "description": "", 9538 "type": "string" 9539 }, 9540 "tag": { 9541 "description": "Freeform descriptor that describes what the file is.", 9542 "type": "string" 9543 } 9544 }, 9545 "type": "object" 9546 }, 9547 "title": "FilesList", 9548 "type": "array" 9549 }, 9550 "format": { 9551 "description": "", 9552 "type": "string" 9553 }, 9554 "format_url": { 9555 "description": "", 9556 "type": "string" 9557 }, 9558 "identifier_perm": { 9559 "description": "Unique and permanent identifier for the package.", 9560 "type": "string" 9561 }, 9562 "indexed": { 9563 "description": "", 9564 "type": "boolean" 9565 }, 9566 "is_sync_awaiting": { 9567 "description": "", 9568 "type": "boolean" 9569 }, 9570 "is_sync_completed": { 9571 "description": "", 9572 "type": "boolean" 9573 }, 9574 "is_sync_failed": { 9575 "description": "", 9576 "type": "boolean" 9577 }, 9578 "is_sync_in_flight": { 9579 "description": "", 9580 "type": "boolean" 9581 }, 9582 "is_sync_in_progress": { 9583 "description": "", 9584 "type": "boolean" 9585 }, 9586 "license": { 9587 "description": "The license of this package.", 9588 "type": "string" 9589 }, 9590 "name": { 9591 "description": "The name of this package.", 9592 "type": "string" 9593 }, 9594 "namespace": { 9595 "description": "", 9596 "type": "string" 9597 }, 9598 "namespace_url": { 9599 "description": "", 9600 "type": "string" 9601 }, 9602 "num_files": { 9603 "description": "", 9604 "type": "integer" 9605 }, 9606 "package_type": { 9607 "description": "The type of package contents.", 9608 "type": "string" 9609 }, 9610 "release": { 9611 "description": "The release of the package version (if any).", 9612 "type": "string" 9613 }, 9614 "repository": { 9615 "description": "", 9616 "type": "string" 9617 }, 9618 "repository_url": { 9619 "description": "", 9620 "type": "string" 9621 }, 9622 "self_html_url": { 9623 "description": "", 9624 "type": "string" 9625 }, 9626 "self_url": { 9627 "description": "", 9628 "type": "string" 9629 }, 9630 "size": { 9631 "description": "The calculated size of the package.", 9632 "type": "integer" 9633 }, 9634 "slug": { 9635 "description": "", 9636 "type": "string" 9637 }, 9638 "slug_perm": { 9639 "description": "", 9640 "type": "string" 9641 }, 9642 "stage": { 9643 "description": "The synchronisation (in progress) stage of the package.", 9644 "type": "string" 9645 }, 9646 "stage_str": { 9647 "description": "", 9648 "type": "string" 9649 }, 9650 "stage_updated_at": { 9651 "description": "The datetime the package stage was updated at.", 9652 "type": "string" 9653 }, 9654 "status": { 9655 "description": "The synchronisation status of the package.", 9656 "type": "string" 9657 }, 9658 "status_reason": { 9659 "description": "A textual description for the synchronous status reason (if any", 9660 "type": "string" 9661 }, 9662 "status_str": { 9663 "description": "", 9664 "type": "string" 9665 }, 9666 "status_updated_at": { 9667 "description": "The datetime the package status was updated at.", 9668 "type": "string" 9669 }, 9670 "status_url": { 9671 "description": "", 9672 "type": "string" 9673 }, 9674 "subtype": { 9675 "description": "", 9676 "type": "string" 9677 }, 9678 "summary": { 9679 "description": "A one-liner synopsis of this package.", 9680 "type": "string" 9681 }, 9682 "sync_finished_at": { 9683 "description": "The datetime the package sync was finished at.", 9684 "type": "string" 9685 }, 9686 "sync_progress": { 9687 "description": "Synchronisation progress (from 0-100)", 9688 "type": "integer" 9689 }, 9690 "type_display": { 9691 "description": "", 9692 "type": "string" 9693 }, 9694 "uploaded_at": { 9695 "description": "The date this package was uploaded.", 9696 "type": "string" 9697 }, 9698 "uploader": { 9699 "description": "", 9700 "type": "string" 9701 }, 9702 "uploader_url": { 9703 "description": "", 9704 "type": "string" 9705 }, 9706 "version": { 9707 "description": "The raw version for this package.", 9708 "type": "string" 9709 }, 9710 "version_orig": { 9711 "description": "", 9712 "type": "string" 9713 } 9714 }, 9715 "title": "NpmPackageUpload", 9716 "type": "object" 9717 } 9718 }, 9719 "400": { 9720 "description": "Request could not be processed (see detail)", 9721 "schema": { 9722 "properties": { 9723 "detail": { 9724 "description": "An extended message for the response.", 9725 "type": "string" 9726 } 9727 }, 9728 "required": [ 9729 "detail" 9730 ], 9731 "title": "Status", 9732 "type": "object" 9733 } 9734 }, 9735 "404": { 9736 "description": "Namespace (owner) or repository not found", 9737 "schema": { 9738 "properties": { 9739 "detail": { 9740 "description": "An extended message for the response.", 9741 "type": "string" 9742 } 9743 }, 9744 "required": [ 9745 "detail" 9746 ], 9747 "title": "Status", 9748 "type": "object" 9749 } 9750 }, 9751 "422": { 9752 "description": "Missing or invalid parameters (see detail)", 9753 "schema": { 9754 "properties": { 9755 "detail": { 9756 "description": "An extended message for the response.", 9757 "type": "string" 9758 } 9759 }, 9760 "required": [ 9761 "detail" 9762 ], 9763 "title": "Status", 9764 "type": "object" 9765 } 9766 } 9767 }, 9768 "security": [ 9769 { 9770 "token": [] 9771 }, 9772 { 9773 "apikey": [] 9774 }, 9775 { 9776 "csrf_token": [] 9777 } 9778 ], 9779 "summary": "Create a new npm package", 9780 "tags": [ 9781 "packages" 9782 ] 9783 } 9784 }, 9785 "/packages/{owner}/{repo}/upload/nuget/": { 9786 "post": { 9787 "consumes": [ 9788 "application/json" 9789 ], 9790 "description": "Create a new NuGet package", 9791 "operationId": "packages_upload_nuget", 9792 "parameters": [ 9793 { 9794 "description": "", 9795 "in": "path", 9796 "name": "owner", 9797 "required": true, 9798 "type": "string" 9799 }, 9800 { 9801 "description": "", 9802 "in": "path", 9803 "name": "repo", 9804 "required": true, 9805 "type": "string" 9806 }, 9807 { 9808 "in": "body", 9809 "name": "data", 9810 "schema": { 9811 "properties": { 9812 "package_file": { 9813 "description": "The primary file for the package.", 9814 "example": "y1234456789a", 9815 "type": "string" 9816 }, 9817 "republish": { 9818 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 9819 "type": "boolean" 9820 }, 9821 "symbols_file": { 9822 "description": "Attaches a symbols file to the package.", 9823 "example": "y1234456789b", 9824 "type": "string" 9825 } 9826 }, 9827 "required": [ 9828 "package_file" 9829 ], 9830 "title": "PackagesUploadNuget", 9831 "type": "object" 9832 } 9833 } 9834 ], 9835 "responses": { 9836 "201": { 9837 "description": "Upload acknowledged and queued for synchronisation", 9838 "schema": { 9839 "properties": { 9840 "architectures": { 9841 "description": "", 9842 "items": { 9843 "properties": { 9844 "description": { 9845 "description": "", 9846 "type": "string" 9847 }, 9848 "name": { 9849 "description": "", 9850 "type": "string" 9851 } 9852 }, 9853 "type": "object" 9854 }, 9855 "title": "ArchitecturesList", 9856 "type": "array" 9857 }, 9858 "cdn_url": { 9859 "description": "", 9860 "type": "string" 9861 }, 9862 "checksum_md5": { 9863 "description": "", 9864 "type": "string" 9865 }, 9866 "checksum_sha1": { 9867 "description": "", 9868 "type": "string" 9869 }, 9870 "checksum_sha256": { 9871 "description": "", 9872 "type": "string" 9873 }, 9874 "checksum_sha512": { 9875 "description": "", 9876 "type": "string" 9877 }, 9878 "description": { 9879 "description": "A textual description of this package.", 9880 "type": "string" 9881 }, 9882 "distro": { 9883 "description": "", 9884 "type": "object" 9885 }, 9886 "distro_version": { 9887 "description": "", 9888 "type": "object" 9889 }, 9890 "downloads": { 9891 "description": "", 9892 "type": "integer" 9893 }, 9894 "epoch": { 9895 "description": "The epoch of the package version (if any).", 9896 "type": "integer" 9897 }, 9898 "extension": { 9899 "description": "", 9900 "type": "string" 9901 }, 9902 "filename": { 9903 "description": "", 9904 "type": "string" 9905 }, 9906 "files": { 9907 "description": "", 9908 "items": { 9909 "properties": { 9910 "cdn_url": { 9911 "description": "", 9912 "type": "string" 9913 }, 9914 "checksum_md5": { 9915 "description": "", 9916 "type": "string" 9917 }, 9918 "checksum_sha1": { 9919 "description": "", 9920 "type": "string" 9921 }, 9922 "checksum_sha256": { 9923 "description": "", 9924 "type": "string" 9925 }, 9926 "checksum_sha512": { 9927 "description": "", 9928 "type": "string" 9929 }, 9930 "downloads": { 9931 "description": "", 9932 "type": "integer" 9933 }, 9934 "filename": { 9935 "description": "", 9936 "type": "string" 9937 }, 9938 "is_downloadable": { 9939 "description": "", 9940 "type": "boolean" 9941 }, 9942 "is_primary": { 9943 "description": "", 9944 "type": "boolean" 9945 }, 9946 "is_synchronised": { 9947 "description": "", 9948 "type": "boolean" 9949 }, 9950 "size": { 9951 "description": "The calculated size of the file.", 9952 "type": "integer" 9953 }, 9954 "slug_perm": { 9955 "description": "", 9956 "type": "string" 9957 }, 9958 "tag": { 9959 "description": "Freeform descriptor that describes what the file is.", 9960 "type": "string" 9961 } 9962 }, 9963 "type": "object" 9964 }, 9965 "title": "FilesList", 9966 "type": "array" 9967 }, 9968 "format": { 9969 "description": "", 9970 "type": "string" 9971 }, 9972 "format_url": { 9973 "description": "", 9974 "type": "string" 9975 }, 9976 "identifier_perm": { 9977 "description": "Unique and permanent identifier for the package.", 9978 "type": "string" 9979 }, 9980 "indexed": { 9981 "description": "", 9982 "type": "boolean" 9983 }, 9984 "is_sync_awaiting": { 9985 "description": "", 9986 "type": "boolean" 9987 }, 9988 "is_sync_completed": { 9989 "description": "", 9990 "type": "boolean" 9991 }, 9992 "is_sync_failed": { 9993 "description": "", 9994 "type": "boolean" 9995 }, 9996 "is_sync_in_flight": { 9997 "description": "", 9998 "type": "boolean" 9999 }, 10000 "is_sync_in_progress": { 10001 "description": "", 10002 "type": "boolean" 10003 }, 10004 "license": { 10005 "description": "The license of this package.", 10006 "type": "string" 10007 }, 10008 "name": { 10009 "description": "The name of this package.", 10010 "type": "string" 10011 }, 10012 "namespace": { 10013 "description": "", 10014 "type": "string" 10015 }, 10016 "namespace_url": { 10017 "description": "", 10018 "type": "string" 10019 }, 10020 "num_files": { 10021 "description": "", 10022 "type": "integer" 10023 }, 10024 "package_type": { 10025 "description": "The type of package contents.", 10026 "type": "string" 10027 }, 10028 "release": { 10029 "description": "The release of the package version (if any).", 10030 "type": "string" 10031 }, 10032 "repository": { 10033 "description": "", 10034 "type": "string" 10035 }, 10036 "repository_url": { 10037 "description": "", 10038 "type": "string" 10039 }, 10040 "self_html_url": { 10041 "description": "", 10042 "type": "string" 10043 }, 10044 "self_url": { 10045 "description": "", 10046 "type": "string" 10047 }, 10048 "size": { 10049 "description": "The calculated size of the package.", 10050 "type": "integer" 10051 }, 10052 "slug": { 10053 "description": "", 10054 "type": "string" 10055 }, 10056 "slug_perm": { 10057 "description": "", 10058 "type": "string" 10059 }, 10060 "stage": { 10061 "description": "The synchronisation (in progress) stage of the package.", 10062 "type": "string" 10063 }, 10064 "stage_str": { 10065 "description": "", 10066 "type": "string" 10067 }, 10068 "stage_updated_at": { 10069 "description": "The datetime the package stage was updated at.", 10070 "type": "string" 10071 }, 10072 "status": { 10073 "description": "The synchronisation status of the package.", 10074 "type": "string" 10075 }, 10076 "status_reason": { 10077 "description": "A textual description for the synchronous status reason (if any", 10078 "type": "string" 10079 }, 10080 "status_str": { 10081 "description": "", 10082 "type": "string" 10083 }, 10084 "status_updated_at": { 10085 "description": "The datetime the package status was updated at.", 10086 "type": "string" 10087 }, 10088 "status_url": { 10089 "description": "", 10090 "type": "string" 10091 }, 10092 "subtype": { 10093 "description": "", 10094 "type": "string" 10095 }, 10096 "summary": { 10097 "description": "A one-liner synopsis of this package.", 10098 "type": "string" 10099 }, 10100 "sync_finished_at": { 10101 "description": "The datetime the package sync was finished at.", 10102 "type": "string" 10103 }, 10104 "sync_progress": { 10105 "description": "Synchronisation progress (from 0-100)", 10106 "type": "integer" 10107 }, 10108 "type_display": { 10109 "description": "", 10110 "type": "string" 10111 }, 10112 "uploaded_at": { 10113 "description": "The date this package was uploaded.", 10114 "type": "string" 10115 }, 10116 "uploader": { 10117 "description": "", 10118 "type": "string" 10119 }, 10120 "uploader_url": { 10121 "description": "", 10122 "type": "string" 10123 }, 10124 "version": { 10125 "description": "The raw version for this package.", 10126 "type": "string" 10127 }, 10128 "version_orig": { 10129 "description": "", 10130 "type": "string" 10131 } 10132 }, 10133 "title": "NugetPackageUpload", 10134 "type": "object" 10135 } 10136 }, 10137 "400": { 10138 "description": "Request could not be processed (see detail)", 10139 "schema": { 10140 "properties": { 10141 "detail": { 10142 "description": "An extended message for the response.", 10143 "type": "string" 10144 } 10145 }, 10146 "required": [ 10147 "detail" 10148 ], 10149 "title": "Status", 10150 "type": "object" 10151 } 10152 }, 10153 "404": { 10154 "description": "Namespace (owner) or repository not found", 10155 "schema": { 10156 "properties": { 10157 "detail": { 10158 "description": "An extended message for the response.", 10159 "type": "string" 10160 } 10161 }, 10162 "required": [ 10163 "detail" 10164 ], 10165 "title": "Status", 10166 "type": "object" 10167 } 10168 }, 10169 "422": { 10170 "description": "Missing or invalid parameters (see detail)", 10171 "schema": { 10172 "properties": { 10173 "detail": { 10174 "description": "An extended message for the response.", 10175 "type": "string" 10176 } 10177 }, 10178 "required": [ 10179 "detail" 10180 ], 10181 "title": "Status", 10182 "type": "object" 10183 } 10184 } 10185 }, 10186 "security": [ 10187 { 10188 "token": [] 10189 }, 10190 { 10191 "apikey": [] 10192 }, 10193 { 10194 "csrf_token": [] 10195 } 10196 ], 10197 "summary": "Create a new NuGet package", 10198 "tags": [ 10199 "packages" 10200 ] 10201 } 10202 }, 10203 "/packages/{owner}/{repo}/upload/python/": { 10204 "post": { 10205 "consumes": [ 10206 "application/json" 10207 ], 10208 "description": "Create a new Python package", 10209 "operationId": "packages_upload_python", 10210 "parameters": [ 10211 { 10212 "description": "", 10213 "in": "path", 10214 "name": "owner", 10215 "required": true, 10216 "type": "string" 10217 }, 10218 { 10219 "description": "", 10220 "in": "path", 10221 "name": "repo", 10222 "required": true, 10223 "type": "string" 10224 }, 10225 { 10226 "in": "body", 10227 "name": "data", 10228 "schema": { 10229 "properties": { 10230 "package_file": { 10231 "description": "The primary file for the package.", 10232 "example": "y123456789", 10233 "type": "string" 10234 }, 10235 "republish": { 10236 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 10237 "type": "boolean" 10238 } 10239 }, 10240 "required": [ 10241 "package_file" 10242 ], 10243 "title": "PackagesUploadPython", 10244 "type": "object" 10245 } 10246 } 10247 ], 10248 "responses": { 10249 "201": { 10250 "description": "Upload acknowledged and queued for synchronisation", 10251 "schema": { 10252 "properties": { 10253 "architectures": { 10254 "description": "", 10255 "items": { 10256 "properties": { 10257 "description": { 10258 "description": "", 10259 "type": "string" 10260 }, 10261 "name": { 10262 "description": "", 10263 "type": "string" 10264 } 10265 }, 10266 "type": "object" 10267 }, 10268 "title": "ArchitecturesList", 10269 "type": "array" 10270 }, 10271 "cdn_url": { 10272 "description": "", 10273 "type": "string" 10274 }, 10275 "checksum_md5": { 10276 "description": "", 10277 "type": "string" 10278 }, 10279 "checksum_sha1": { 10280 "description": "", 10281 "type": "string" 10282 }, 10283 "checksum_sha256": { 10284 "description": "", 10285 "type": "string" 10286 }, 10287 "checksum_sha512": { 10288 "description": "", 10289 "type": "string" 10290 }, 10291 "description": { 10292 "description": "A textual description of this package.", 10293 "type": "string" 10294 }, 10295 "distro": { 10296 "description": "", 10297 "type": "object" 10298 }, 10299 "distro_version": { 10300 "description": "", 10301 "type": "object" 10302 }, 10303 "downloads": { 10304 "description": "", 10305 "type": "integer" 10306 }, 10307 "epoch": { 10308 "description": "The epoch of the package version (if any).", 10309 "type": "integer" 10310 }, 10311 "extension": { 10312 "description": "", 10313 "type": "string" 10314 }, 10315 "filename": { 10316 "description": "", 10317 "type": "string" 10318 }, 10319 "files": { 10320 "description": "", 10321 "items": { 10322 "properties": { 10323 "cdn_url": { 10324 "description": "", 10325 "type": "string" 10326 }, 10327 "checksum_md5": { 10328 "description": "", 10329 "type": "string" 10330 }, 10331 "checksum_sha1": { 10332 "description": "", 10333 "type": "string" 10334 }, 10335 "checksum_sha256": { 10336 "description": "", 10337 "type": "string" 10338 }, 10339 "checksum_sha512": { 10340 "description": "", 10341 "type": "string" 10342 }, 10343 "downloads": { 10344 "description": "", 10345 "type": "integer" 10346 }, 10347 "filename": { 10348 "description": "", 10349 "type": "string" 10350 }, 10351 "is_downloadable": { 10352 "description": "", 10353 "type": "boolean" 10354 }, 10355 "is_primary": { 10356 "description": "", 10357 "type": "boolean" 10358 }, 10359 "is_synchronised": { 10360 "description": "", 10361 "type": "boolean" 10362 }, 10363 "size": { 10364 "description": "The calculated size of the file.", 10365 "type": "integer" 10366 }, 10367 "slug_perm": { 10368 "description": "", 10369 "type": "string" 10370 }, 10371 "tag": { 10372 "description": "Freeform descriptor that describes what the file is.", 10373 "type": "string" 10374 } 10375 }, 10376 "type": "object" 10377 }, 10378 "title": "FilesList", 10379 "type": "array" 10380 }, 10381 "format": { 10382 "description": "", 10383 "type": "string" 10384 }, 10385 "format_url": { 10386 "description": "", 10387 "type": "string" 10388 }, 10389 "identifier_perm": { 10390 "description": "Unique and permanent identifier for the package.", 10391 "type": "string" 10392 }, 10393 "indexed": { 10394 "description": "", 10395 "type": "boolean" 10396 }, 10397 "is_sync_awaiting": { 10398 "description": "", 10399 "type": "boolean" 10400 }, 10401 "is_sync_completed": { 10402 "description": "", 10403 "type": "boolean" 10404 }, 10405 "is_sync_failed": { 10406 "description": "", 10407 "type": "boolean" 10408 }, 10409 "is_sync_in_flight": { 10410 "description": "", 10411 "type": "boolean" 10412 }, 10413 "is_sync_in_progress": { 10414 "description": "", 10415 "type": "boolean" 10416 }, 10417 "license": { 10418 "description": "The license of this package.", 10419 "type": "string" 10420 }, 10421 "name": { 10422 "description": "The name of this package.", 10423 "type": "string" 10424 }, 10425 "namespace": { 10426 "description": "", 10427 "type": "string" 10428 }, 10429 "namespace_url": { 10430 "description": "", 10431 "type": "string" 10432 }, 10433 "num_files": { 10434 "description": "", 10435 "type": "integer" 10436 }, 10437 "package_type": { 10438 "description": "The type of package contents.", 10439 "type": "string" 10440 }, 10441 "release": { 10442 "description": "The release of the package version (if any).", 10443 "type": "string" 10444 }, 10445 "repository": { 10446 "description": "", 10447 "type": "string" 10448 }, 10449 "repository_url": { 10450 "description": "", 10451 "type": "string" 10452 }, 10453 "self_html_url": { 10454 "description": "", 10455 "type": "string" 10456 }, 10457 "self_url": { 10458 "description": "", 10459 "type": "string" 10460 }, 10461 "size": { 10462 "description": "The calculated size of the package.", 10463 "type": "integer" 10464 }, 10465 "slug": { 10466 "description": "", 10467 "type": "string" 10468 }, 10469 "slug_perm": { 10470 "description": "", 10471 "type": "string" 10472 }, 10473 "stage": { 10474 "description": "The synchronisation (in progress) stage of the package.", 10475 "type": "string" 10476 }, 10477 "stage_str": { 10478 "description": "", 10479 "type": "string" 10480 }, 10481 "stage_updated_at": { 10482 "description": "The datetime the package stage was updated at.", 10483 "type": "string" 10484 }, 10485 "status": { 10486 "description": "The synchronisation status of the package.", 10487 "type": "string" 10488 }, 10489 "status_reason": { 10490 "description": "A textual description for the synchronous status reason (if any", 10491 "type": "string" 10492 }, 10493 "status_str": { 10494 "description": "", 10495 "type": "string" 10496 }, 10497 "status_updated_at": { 10498 "description": "The datetime the package status was updated at.", 10499 "type": "string" 10500 }, 10501 "status_url": { 10502 "description": "", 10503 "type": "string" 10504 }, 10505 "subtype": { 10506 "description": "", 10507 "type": "string" 10508 }, 10509 "summary": { 10510 "description": "A one-liner synopsis of this package.", 10511 "type": "string" 10512 }, 10513 "sync_finished_at": { 10514 "description": "The datetime the package sync was finished at.", 10515 "type": "string" 10516 }, 10517 "sync_progress": { 10518 "description": "Synchronisation progress (from 0-100)", 10519 "type": "integer" 10520 }, 10521 "type_display": { 10522 "description": "", 10523 "type": "string" 10524 }, 10525 "uploaded_at": { 10526 "description": "The date this package was uploaded.", 10527 "type": "string" 10528 }, 10529 "uploader": { 10530 "description": "", 10531 "type": "string" 10532 }, 10533 "uploader_url": { 10534 "description": "", 10535 "type": "string" 10536 }, 10537 "version": { 10538 "description": "The raw version for this package.", 10539 "type": "string" 10540 }, 10541 "version_orig": { 10542 "description": "", 10543 "type": "string" 10544 } 10545 }, 10546 "title": "PythonPackageUpload", 10547 "type": "object" 10548 } 10549 }, 10550 "400": { 10551 "description": "Request could not be processed (see detail)", 10552 "schema": { 10553 "properties": { 10554 "detail": { 10555 "description": "An extended message for the response.", 10556 "type": "string" 10557 } 10558 }, 10559 "required": [ 10560 "detail" 10561 ], 10562 "title": "Status", 10563 "type": "object" 10564 } 10565 }, 10566 "404": { 10567 "description": "Namespace (owner) or repository not found", 10568 "schema": { 10569 "properties": { 10570 "detail": { 10571 "description": "An extended message for the response.", 10572 "type": "string" 10573 } 10574 }, 10575 "required": [ 10576 "detail" 10577 ], 10578 "title": "Status", 10579 "type": "object" 10580 } 10581 }, 10582 "422": { 10583 "description": "Missing or invalid parameters (see detail)", 10584 "schema": { 10585 "properties": { 10586 "detail": { 10587 "description": "An extended message for the response.", 10588 "type": "string" 10589 } 10590 }, 10591 "required": [ 10592 "detail" 10593 ], 10594 "title": "Status", 10595 "type": "object" 10596 } 10597 } 10598 }, 10599 "security": [ 10600 { 10601 "token": [] 10602 }, 10603 { 10604 "apikey": [] 10605 }, 10606 { 10607 "csrf_token": [] 10608 } 10609 ], 10610 "summary": "Create a new Python package", 10611 "tags": [ 10612 "packages" 10613 ] 10614 } 10615 }, 10616 "/packages/{owner}/{repo}/upload/raw/": { 10617 "post": { 10618 "consumes": [ 10619 "application/json" 10620 ], 10621 "description": "Create a new Raw package", 10622 "operationId": "packages_upload_raw", 10623 "parameters": [ 10624 { 10625 "description": "", 10626 "in": "path", 10627 "name": "owner", 10628 "required": true, 10629 "type": "string" 10630 }, 10631 { 10632 "description": "", 10633 "in": "path", 10634 "name": "repo", 10635 "required": true, 10636 "type": "string" 10637 }, 10638 { 10639 "in": "body", 10640 "name": "data", 10641 "schema": { 10642 "properties": { 10643 "content_type": { 10644 "description": "A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here.", 10645 "type": "string" 10646 }, 10647 "description": { 10648 "description": "A textual description of this package.", 10649 "example": "Everything about packaging files.", 10650 "type": "string" 10651 }, 10652 "name": { 10653 "description": "The name of this package.", 10654 "example": "my-package", 10655 "type": "string" 10656 }, 10657 "package_file": { 10658 "description": "The primary file for the package.", 10659 "example": "y123456789", 10660 "type": "string" 10661 }, 10662 "republish": { 10663 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 10664 "type": "boolean" 10665 }, 10666 "summary": { 10667 "description": "A one-liner synopsis of this package.", 10668 "example": "My Package File", 10669 "type": "string" 10670 }, 10671 "version": { 10672 "description": "The raw version for this package.", 10673 "example": "1.0", 10674 "type": "string" 10675 } 10676 }, 10677 "required": [ 10678 "package_file" 10679 ], 10680 "title": "PackagesUploadRaw", 10681 "type": "object" 10682 } 10683 } 10684 ], 10685 "responses": { 10686 "201": { 10687 "description": "Upload acknowledged and queued for synchronisation", 10688 "schema": { 10689 "properties": { 10690 "architectures": { 10691 "description": "", 10692 "items": { 10693 "properties": { 10694 "description": { 10695 "description": "", 10696 "type": "string" 10697 }, 10698 "name": { 10699 "description": "", 10700 "type": "string" 10701 } 10702 }, 10703 "type": "object" 10704 }, 10705 "title": "ArchitecturesList", 10706 "type": "array" 10707 }, 10708 "cdn_url": { 10709 "description": "", 10710 "type": "string" 10711 }, 10712 "checksum_md5": { 10713 "description": "", 10714 "type": "string" 10715 }, 10716 "checksum_sha1": { 10717 "description": "", 10718 "type": "string" 10719 }, 10720 "checksum_sha256": { 10721 "description": "", 10722 "type": "string" 10723 }, 10724 "checksum_sha512": { 10725 "description": "", 10726 "type": "string" 10727 }, 10728 "description": { 10729 "description": "A textual description of this package.", 10730 "example": "Everything about packaging files.", 10731 "type": "string" 10732 }, 10733 "distro": { 10734 "description": "", 10735 "type": "object" 10736 }, 10737 "distro_version": { 10738 "description": "", 10739 "type": "object" 10740 }, 10741 "downloads": { 10742 "description": "", 10743 "type": "integer" 10744 }, 10745 "epoch": { 10746 "description": "The epoch of the package version (if any).", 10747 "type": "integer" 10748 }, 10749 "extension": { 10750 "description": "", 10751 "type": "string" 10752 }, 10753 "filename": { 10754 "description": "", 10755 "type": "string" 10756 }, 10757 "files": { 10758 "description": "", 10759 "items": { 10760 "properties": { 10761 "cdn_url": { 10762 "description": "", 10763 "type": "string" 10764 }, 10765 "checksum_md5": { 10766 "description": "", 10767 "type": "string" 10768 }, 10769 "checksum_sha1": { 10770 "description": "", 10771 "type": "string" 10772 }, 10773 "checksum_sha256": { 10774 "description": "", 10775 "type": "string" 10776 }, 10777 "checksum_sha512": { 10778 "description": "", 10779 "type": "string" 10780 }, 10781 "downloads": { 10782 "description": "", 10783 "type": "integer" 10784 }, 10785 "filename": { 10786 "description": "", 10787 "type": "string" 10788 }, 10789 "is_downloadable": { 10790 "description": "", 10791 "type": "boolean" 10792 }, 10793 "is_primary": { 10794 "description": "", 10795 "type": "boolean" 10796 }, 10797 "is_synchronised": { 10798 "description": "", 10799 "type": "boolean" 10800 }, 10801 "size": { 10802 "description": "The calculated size of the file.", 10803 "type": "integer" 10804 }, 10805 "slug_perm": { 10806 "description": "", 10807 "type": "string" 10808 }, 10809 "tag": { 10810 "description": "Freeform descriptor that describes what the file is.", 10811 "type": "string" 10812 } 10813 }, 10814 "type": "object" 10815 }, 10816 "title": "FilesList", 10817 "type": "array" 10818 }, 10819 "format": { 10820 "description": "", 10821 "type": "string" 10822 }, 10823 "format_url": { 10824 "description": "", 10825 "type": "string" 10826 }, 10827 "identifier_perm": { 10828 "description": "Unique and permanent identifier for the package.", 10829 "type": "string" 10830 }, 10831 "indexed": { 10832 "description": "", 10833 "type": "boolean" 10834 }, 10835 "is_sync_awaiting": { 10836 "description": "", 10837 "type": "boolean" 10838 }, 10839 "is_sync_completed": { 10840 "description": "", 10841 "type": "boolean" 10842 }, 10843 "is_sync_failed": { 10844 "description": "", 10845 "type": "boolean" 10846 }, 10847 "is_sync_in_flight": { 10848 "description": "", 10849 "type": "boolean" 10850 }, 10851 "is_sync_in_progress": { 10852 "description": "", 10853 "type": "boolean" 10854 }, 10855 "license": { 10856 "description": "The license of this package.", 10857 "type": "string" 10858 }, 10859 "name": { 10860 "description": "The name of this package.", 10861 "example": "my-package", 10862 "type": "string" 10863 }, 10864 "namespace": { 10865 "description": "", 10866 "type": "string" 10867 }, 10868 "namespace_url": { 10869 "description": "", 10870 "type": "string" 10871 }, 10872 "num_files": { 10873 "description": "", 10874 "type": "integer" 10875 }, 10876 "package_type": { 10877 "description": "The type of package contents.", 10878 "type": "string" 10879 }, 10880 "release": { 10881 "description": "The release of the package version (if any).", 10882 "type": "string" 10883 }, 10884 "repository": { 10885 "description": "", 10886 "type": "string" 10887 }, 10888 "repository_url": { 10889 "description": "", 10890 "type": "string" 10891 }, 10892 "self_html_url": { 10893 "description": "", 10894 "type": "string" 10895 }, 10896 "self_url": { 10897 "description": "", 10898 "type": "string" 10899 }, 10900 "size": { 10901 "description": "The calculated size of the package.", 10902 "type": "integer" 10903 }, 10904 "slug": { 10905 "description": "", 10906 "type": "string" 10907 }, 10908 "slug_perm": { 10909 "description": "", 10910 "type": "string" 10911 }, 10912 "stage": { 10913 "description": "The synchronisation (in progress) stage of the package.", 10914 "type": "string" 10915 }, 10916 "stage_str": { 10917 "description": "", 10918 "type": "string" 10919 }, 10920 "stage_updated_at": { 10921 "description": "The datetime the package stage was updated at.", 10922 "type": "string" 10923 }, 10924 "status": { 10925 "description": "The synchronisation status of the package.", 10926 "type": "string" 10927 }, 10928 "status_reason": { 10929 "description": "A textual description for the synchronous status reason (if any", 10930 "type": "string" 10931 }, 10932 "status_str": { 10933 "description": "", 10934 "type": "string" 10935 }, 10936 "status_updated_at": { 10937 "description": "The datetime the package status was updated at.", 10938 "type": "string" 10939 }, 10940 "status_url": { 10941 "description": "", 10942 "type": "string" 10943 }, 10944 "subtype": { 10945 "description": "", 10946 "type": "string" 10947 }, 10948 "summary": { 10949 "description": "A one-liner synopsis of this package.", 10950 "example": "My Package File", 10951 "type": "string" 10952 }, 10953 "sync_finished_at": { 10954 "description": "The datetime the package sync was finished at.", 10955 "type": "string" 10956 }, 10957 "sync_progress": { 10958 "description": "Synchronisation progress (from 0-100)", 10959 "type": "integer" 10960 }, 10961 "type_display": { 10962 "description": "", 10963 "type": "string" 10964 }, 10965 "uploaded_at": { 10966 "description": "The date this package was uploaded.", 10967 "type": "string" 10968 }, 10969 "uploader": { 10970 "description": "", 10971 "type": "string" 10972 }, 10973 "uploader_url": { 10974 "description": "", 10975 "type": "string" 10976 }, 10977 "version": { 10978 "description": "The raw version for this package.", 10979 "example": "1.0", 10980 "type": "string" 10981 }, 10982 "version_orig": { 10983 "description": "", 10984 "type": "string" 10985 } 10986 }, 10987 "title": "RawPackageUpload", 10988 "type": "object" 10989 } 10990 }, 10991 "400": { 10992 "description": "Request could not be processed (see detail)", 10993 "schema": { 10994 "properties": { 10995 "detail": { 10996 "description": "An extended message for the response.", 10997 "type": "string" 10998 } 10999 }, 11000 "required": [ 11001 "detail" 11002 ], 11003 "title": "Status", 11004 "type": "object" 11005 } 11006 }, 11007 "404": { 11008 "description": "Namespace (owner) or repository not found", 11009 "schema": { 11010 "properties": { 11011 "detail": { 11012 "description": "An extended message for the response.", 11013 "type": "string" 11014 } 11015 }, 11016 "required": [ 11017 "detail" 11018 ], 11019 "title": "Status", 11020 "type": "object" 11021 } 11022 }, 11023 "422": { 11024 "description": "Missing or invalid parameters (see detail)", 11025 "schema": { 11026 "properties": { 11027 "detail": { 11028 "description": "An extended message for the response.", 11029 "type": "string" 11030 } 11031 }, 11032 "required": [ 11033 "detail" 11034 ], 11035 "title": "Status", 11036 "type": "object" 11037 } 11038 } 11039 }, 11040 "security": [ 11041 { 11042 "token": [] 11043 }, 11044 { 11045 "apikey": [] 11046 }, 11047 { 11048 "csrf_token": [] 11049 } 11050 ], 11051 "summary": "Create a new Raw package", 11052 "tags": [ 11053 "packages" 11054 ] 11055 } 11056 }, 11057 "/packages/{owner}/{repo}/upload/rpm/": { 11058 "post": { 11059 "consumes": [ 11060 "application/json" 11061 ], 11062 "description": "Create a new RedHat package", 11063 "operationId": "packages_upload_rpm", 11064 "parameters": [ 11065 { 11066 "description": "", 11067 "in": "path", 11068 "name": "owner", 11069 "required": true, 11070 "type": "string" 11071 }, 11072 { 11073 "description": "", 11074 "in": "path", 11075 "name": "repo", 11076 "required": true, 11077 "type": "string" 11078 }, 11079 { 11080 "in": "body", 11081 "name": "data", 11082 "schema": { 11083 "properties": { 11084 "distribution": { 11085 "description": "The distribution to store the package for.", 11086 "example": "el/7", 11087 "type": "string" 11088 }, 11089 "package_file": { 11090 "description": "The primary file for the package.", 11091 "example": "y123456789", 11092 "type": "string" 11093 }, 11094 "republish": { 11095 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 11096 "type": "boolean" 11097 } 11098 }, 11099 "required": [ 11100 "distribution", 11101 "package_file" 11102 ], 11103 "title": "PackagesUploadRpm", 11104 "type": "object" 11105 } 11106 } 11107 ], 11108 "responses": { 11109 "201": { 11110 "description": "Upload acknowledged and queued for synchronisation", 11111 "schema": { 11112 "properties": { 11113 "architectures": { 11114 "description": "", 11115 "items": { 11116 "properties": { 11117 "description": { 11118 "description": "", 11119 "type": "string" 11120 }, 11121 "name": { 11122 "description": "", 11123 "type": "string" 11124 } 11125 }, 11126 "type": "object" 11127 }, 11128 "title": "ArchitecturesList", 11129 "type": "array" 11130 }, 11131 "cdn_url": { 11132 "description": "", 11133 "type": "string" 11134 }, 11135 "checksum_md5": { 11136 "description": "", 11137 "type": "string" 11138 }, 11139 "checksum_sha1": { 11140 "description": "", 11141 "type": "string" 11142 }, 11143 "checksum_sha256": { 11144 "description": "", 11145 "type": "string" 11146 }, 11147 "checksum_sha512": { 11148 "description": "", 11149 "type": "string" 11150 }, 11151 "description": { 11152 "description": "A textual description of this package.", 11153 "type": "string" 11154 }, 11155 "distro": { 11156 "description": "", 11157 "type": "object" 11158 }, 11159 "distro_version": { 11160 "description": "", 11161 "type": "object" 11162 }, 11163 "downloads": { 11164 "description": "", 11165 "type": "integer" 11166 }, 11167 "epoch": { 11168 "description": "The epoch of the package version (if any).", 11169 "type": "integer" 11170 }, 11171 "extension": { 11172 "description": "", 11173 "type": "string" 11174 }, 11175 "filename": { 11176 "description": "", 11177 "type": "string" 11178 }, 11179 "files": { 11180 "description": "", 11181 "items": { 11182 "properties": { 11183 "cdn_url": { 11184 "description": "", 11185 "type": "string" 11186 }, 11187 "checksum_md5": { 11188 "description": "", 11189 "type": "string" 11190 }, 11191 "checksum_sha1": { 11192 "description": "", 11193 "type": "string" 11194 }, 11195 "checksum_sha256": { 11196 "description": "", 11197 "type": "string" 11198 }, 11199 "checksum_sha512": { 11200 "description": "", 11201 "type": "string" 11202 }, 11203 "downloads": { 11204 "description": "", 11205 "type": "integer" 11206 }, 11207 "filename": { 11208 "description": "", 11209 "type": "string" 11210 }, 11211 "is_downloadable": { 11212 "description": "", 11213 "type": "boolean" 11214 }, 11215 "is_primary": { 11216 "description": "", 11217 "type": "boolean" 11218 }, 11219 "is_synchronised": { 11220 "description": "", 11221 "type": "boolean" 11222 }, 11223 "size": { 11224 "description": "The calculated size of the file.", 11225 "type": "integer" 11226 }, 11227 "slug_perm": { 11228 "description": "", 11229 "type": "string" 11230 }, 11231 "tag": { 11232 "description": "Freeform descriptor that describes what the file is.", 11233 "type": "string" 11234 } 11235 }, 11236 "type": "object" 11237 }, 11238 "title": "FilesList", 11239 "type": "array" 11240 }, 11241 "format": { 11242 "description": "", 11243 "type": "string" 11244 }, 11245 "format_url": { 11246 "description": "", 11247 "type": "string" 11248 }, 11249 "identifier_perm": { 11250 "description": "Unique and permanent identifier for the package.", 11251 "type": "string" 11252 }, 11253 "indexed": { 11254 "description": "", 11255 "type": "boolean" 11256 }, 11257 "is_sync_awaiting": { 11258 "description": "", 11259 "type": "boolean" 11260 }, 11261 "is_sync_completed": { 11262 "description": "", 11263 "type": "boolean" 11264 }, 11265 "is_sync_failed": { 11266 "description": "", 11267 "type": "boolean" 11268 }, 11269 "is_sync_in_flight": { 11270 "description": "", 11271 "type": "boolean" 11272 }, 11273 "is_sync_in_progress": { 11274 "description": "", 11275 "type": "boolean" 11276 }, 11277 "license": { 11278 "description": "The license of this package.", 11279 "type": "string" 11280 }, 11281 "name": { 11282 "description": "The name of this package.", 11283 "type": "string" 11284 }, 11285 "namespace": { 11286 "description": "", 11287 "type": "string" 11288 }, 11289 "namespace_url": { 11290 "description": "", 11291 "type": "string" 11292 }, 11293 "num_files": { 11294 "description": "", 11295 "type": "integer" 11296 }, 11297 "package_type": { 11298 "description": "The type of package contents.", 11299 "type": "string" 11300 }, 11301 "release": { 11302 "description": "The release of the package version (if any).", 11303 "type": "string" 11304 }, 11305 "repository": { 11306 "description": "", 11307 "type": "string" 11308 }, 11309 "repository_url": { 11310 "description": "", 11311 "type": "string" 11312 }, 11313 "self_html_url": { 11314 "description": "", 11315 "type": "string" 11316 }, 11317 "self_url": { 11318 "description": "", 11319 "type": "string" 11320 }, 11321 "size": { 11322 "description": "The calculated size of the package.", 11323 "type": "integer" 11324 }, 11325 "slug": { 11326 "description": "", 11327 "type": "string" 11328 }, 11329 "slug_perm": { 11330 "description": "", 11331 "type": "string" 11332 }, 11333 "stage": { 11334 "description": "The synchronisation (in progress) stage of the package.", 11335 "type": "string" 11336 }, 11337 "stage_str": { 11338 "description": "", 11339 "type": "string" 11340 }, 11341 "stage_updated_at": { 11342 "description": "The datetime the package stage was updated at.", 11343 "type": "string" 11344 }, 11345 "status": { 11346 "description": "The synchronisation status of the package.", 11347 "type": "string" 11348 }, 11349 "status_reason": { 11350 "description": "A textual description for the synchronous status reason (if any", 11351 "type": "string" 11352 }, 11353 "status_str": { 11354 "description": "", 11355 "type": "string" 11356 }, 11357 "status_updated_at": { 11358 "description": "The datetime the package status was updated at.", 11359 "type": "string" 11360 }, 11361 "status_url": { 11362 "description": "", 11363 "type": "string" 11364 }, 11365 "subtype": { 11366 "description": "", 11367 "type": "string" 11368 }, 11369 "summary": { 11370 "description": "A one-liner synopsis of this package.", 11371 "type": "string" 11372 }, 11373 "sync_finished_at": { 11374 "description": "The datetime the package sync was finished at.", 11375 "type": "string" 11376 }, 11377 "sync_progress": { 11378 "description": "Synchronisation progress (from 0-100)", 11379 "type": "integer" 11380 }, 11381 "type_display": { 11382 "description": "", 11383 "type": "string" 11384 }, 11385 "uploaded_at": { 11386 "description": "The date this package was uploaded.", 11387 "type": "string" 11388 }, 11389 "uploader": { 11390 "description": "", 11391 "type": "string" 11392 }, 11393 "uploader_url": { 11394 "description": "", 11395 "type": "string" 11396 }, 11397 "version": { 11398 "description": "The raw version for this package.", 11399 "type": "string" 11400 }, 11401 "version_orig": { 11402 "description": "", 11403 "type": "string" 11404 } 11405 }, 11406 "title": "RpmPackageUpload", 11407 "type": "object" 11408 } 11409 }, 11410 "400": { 11411 "description": "Request could not be processed (see detail)", 11412 "schema": { 11413 "properties": { 11414 "detail": { 11415 "description": "An extended message for the response.", 11416 "type": "string" 11417 } 11418 }, 11419 "required": [ 11420 "detail" 11421 ], 11422 "title": "Status", 11423 "type": "object" 11424 } 11425 }, 11426 "404": { 11427 "description": "Namespace (owner) or repository not found", 11428 "schema": { 11429 "properties": { 11430 "detail": { 11431 "description": "An extended message for the response.", 11432 "type": "string" 11433 } 11434 }, 11435 "required": [ 11436 "detail" 11437 ], 11438 "title": "Status", 11439 "type": "object" 11440 } 11441 }, 11442 "422": { 11443 "description": "Missing or invalid parameters (see detail)", 11444 "schema": { 11445 "properties": { 11446 "detail": { 11447 "description": "An extended message for the response.", 11448 "type": "string" 11449 } 11450 }, 11451 "required": [ 11452 "detail" 11453 ], 11454 "title": "Status", 11455 "type": "object" 11456 } 11457 } 11458 }, 11459 "security": [ 11460 { 11461 "token": [] 11462 }, 11463 { 11464 "apikey": [] 11465 }, 11466 { 11467 "csrf_token": [] 11468 } 11469 ], 11470 "summary": "Create a new RedHat package", 11471 "tags": [ 11472 "packages" 11473 ] 11474 } 11475 }, 11476 "/packages/{owner}/{repo}/upload/ruby/": { 11477 "post": { 11478 "consumes": [ 11479 "application/json" 11480 ], 11481 "description": "Create a new Ruby package", 11482 "operationId": "packages_upload_ruby", 11483 "parameters": [ 11484 { 11485 "description": "", 11486 "in": "path", 11487 "name": "owner", 11488 "required": true, 11489 "type": "string" 11490 }, 11491 { 11492 "description": "", 11493 "in": "path", 11494 "name": "repo", 11495 "required": true, 11496 "type": "string" 11497 }, 11498 { 11499 "in": "body", 11500 "name": "data", 11501 "schema": { 11502 "properties": { 11503 "package_file": { 11504 "description": "The primary file for the package.", 11505 "example": "y123456789", 11506 "type": "string" 11507 }, 11508 "republish": { 11509 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 11510 "type": "boolean" 11511 } 11512 }, 11513 "required": [ 11514 "package_file" 11515 ], 11516 "title": "PackagesUploadRuby", 11517 "type": "object" 11518 } 11519 } 11520 ], 11521 "responses": { 11522 "201": { 11523 "description": "Upload acknowledged and queued for synchronisation", 11524 "schema": { 11525 "properties": { 11526 "architectures": { 11527 "description": "", 11528 "items": { 11529 "properties": { 11530 "description": { 11531 "description": "", 11532 "type": "string" 11533 }, 11534 "name": { 11535 "description": "", 11536 "type": "string" 11537 } 11538 }, 11539 "type": "object" 11540 }, 11541 "title": "ArchitecturesList", 11542 "type": "array" 11543 }, 11544 "cdn_url": { 11545 "description": "", 11546 "type": "string" 11547 }, 11548 "checksum_md5": { 11549 "description": "", 11550 "type": "string" 11551 }, 11552 "checksum_sha1": { 11553 "description": "", 11554 "type": "string" 11555 }, 11556 "checksum_sha256": { 11557 "description": "", 11558 "type": "string" 11559 }, 11560 "checksum_sha512": { 11561 "description": "", 11562 "type": "string" 11563 }, 11564 "description": { 11565 "description": "A textual description of this package.", 11566 "type": "string" 11567 }, 11568 "distro": { 11569 "description": "", 11570 "type": "object" 11571 }, 11572 "distro_version": { 11573 "description": "", 11574 "type": "object" 11575 }, 11576 "downloads": { 11577 "description": "", 11578 "type": "integer" 11579 }, 11580 "epoch": { 11581 "description": "The epoch of the package version (if any).", 11582 "type": "integer" 11583 }, 11584 "extension": { 11585 "description": "", 11586 "type": "string" 11587 }, 11588 "filename": { 11589 "description": "", 11590 "type": "string" 11591 }, 11592 "files": { 11593 "description": "", 11594 "items": { 11595 "properties": { 11596 "cdn_url": { 11597 "description": "", 11598 "type": "string" 11599 }, 11600 "checksum_md5": { 11601 "description": "", 11602 "type": "string" 11603 }, 11604 "checksum_sha1": { 11605 "description": "", 11606 "type": "string" 11607 }, 11608 "checksum_sha256": { 11609 "description": "", 11610 "type": "string" 11611 }, 11612 "checksum_sha512": { 11613 "description": "", 11614 "type": "string" 11615 }, 11616 "downloads": { 11617 "description": "", 11618 "type": "integer" 11619 }, 11620 "filename": { 11621 "description": "", 11622 "type": "string" 11623 }, 11624 "is_downloadable": { 11625 "description": "", 11626 "type": "boolean" 11627 }, 11628 "is_primary": { 11629 "description": "", 11630 "type": "boolean" 11631 }, 11632 "is_synchronised": { 11633 "description": "", 11634 "type": "boolean" 11635 }, 11636 "size": { 11637 "description": "The calculated size of the file.", 11638 "type": "integer" 11639 }, 11640 "slug_perm": { 11641 "description": "", 11642 "type": "string" 11643 }, 11644 "tag": { 11645 "description": "Freeform descriptor that describes what the file is.", 11646 "type": "string" 11647 } 11648 }, 11649 "type": "object" 11650 }, 11651 "title": "FilesList", 11652 "type": "array" 11653 }, 11654 "format": { 11655 "description": "", 11656 "type": "string" 11657 }, 11658 "format_url": { 11659 "description": "", 11660 "type": "string" 11661 }, 11662 "identifier_perm": { 11663 "description": "Unique and permanent identifier for the package.", 11664 "type": "string" 11665 }, 11666 "indexed": { 11667 "description": "", 11668 "type": "boolean" 11669 }, 11670 "is_sync_awaiting": { 11671 "description": "", 11672 "type": "boolean" 11673 }, 11674 "is_sync_completed": { 11675 "description": "", 11676 "type": "boolean" 11677 }, 11678 "is_sync_failed": { 11679 "description": "", 11680 "type": "boolean" 11681 }, 11682 "is_sync_in_flight": { 11683 "description": "", 11684 "type": "boolean" 11685 }, 11686 "is_sync_in_progress": { 11687 "description": "", 11688 "type": "boolean" 11689 }, 11690 "license": { 11691 "description": "The license of this package.", 11692 "type": "string" 11693 }, 11694 "name": { 11695 "description": "The name of this package.", 11696 "type": "string" 11697 }, 11698 "namespace": { 11699 "description": "", 11700 "type": "string" 11701 }, 11702 "namespace_url": { 11703 "description": "", 11704 "type": "string" 11705 }, 11706 "num_files": { 11707 "description": "", 11708 "type": "integer" 11709 }, 11710 "package_type": { 11711 "description": "The type of package contents.", 11712 "type": "string" 11713 }, 11714 "release": { 11715 "description": "The release of the package version (if any).", 11716 "type": "string" 11717 }, 11718 "repository": { 11719 "description": "", 11720 "type": "string" 11721 }, 11722 "repository_url": { 11723 "description": "", 11724 "type": "string" 11725 }, 11726 "self_html_url": { 11727 "description": "", 11728 "type": "string" 11729 }, 11730 "self_url": { 11731 "description": "", 11732 "type": "string" 11733 }, 11734 "size": { 11735 "description": "The calculated size of the package.", 11736 "type": "integer" 11737 }, 11738 "slug": { 11739 "description": "", 11740 "type": "string" 11741 }, 11742 "slug_perm": { 11743 "description": "", 11744 "type": "string" 11745 }, 11746 "stage": { 11747 "description": "The synchronisation (in progress) stage of the package.", 11748 "type": "string" 11749 }, 11750 "stage_str": { 11751 "description": "", 11752 "type": "string" 11753 }, 11754 "stage_updated_at": { 11755 "description": "The datetime the package stage was updated at.", 11756 "type": "string" 11757 }, 11758 "status": { 11759 "description": "The synchronisation status of the package.", 11760 "type": "string" 11761 }, 11762 "status_reason": { 11763 "description": "A textual description for the synchronous status reason (if any", 11764 "type": "string" 11765 }, 11766 "status_str": { 11767 "description": "", 11768 "type": "string" 11769 }, 11770 "status_updated_at": { 11771 "description": "The datetime the package status was updated at.", 11772 "type": "string" 11773 }, 11774 "status_url": { 11775 "description": "", 11776 "type": "string" 11777 }, 11778 "subtype": { 11779 "description": "", 11780 "type": "string" 11781 }, 11782 "summary": { 11783 "description": "A one-liner synopsis of this package.", 11784 "type": "string" 11785 }, 11786 "sync_finished_at": { 11787 "description": "The datetime the package sync was finished at.", 11788 "type": "string" 11789 }, 11790 "sync_progress": { 11791 "description": "Synchronisation progress (from 0-100)", 11792 "type": "integer" 11793 }, 11794 "type_display": { 11795 "description": "", 11796 "type": "string" 11797 }, 11798 "uploaded_at": { 11799 "description": "The date this package was uploaded.", 11800 "type": "string" 11801 }, 11802 "uploader": { 11803 "description": "", 11804 "type": "string" 11805 }, 11806 "uploader_url": { 11807 "description": "", 11808 "type": "string" 11809 }, 11810 "version": { 11811 "description": "The raw version for this package.", 11812 "type": "string" 11813 }, 11814 "version_orig": { 11815 "description": "", 11816 "type": "string" 11817 } 11818 }, 11819 "title": "RubyPackageUpload", 11820 "type": "object" 11821 } 11822 }, 11823 "400": { 11824 "description": "Request could not be processed (see detail)", 11825 "schema": { 11826 "properties": { 11827 "detail": { 11828 "description": "An extended message for the response.", 11829 "type": "string" 11830 } 11831 }, 11832 "required": [ 11833 "detail" 11834 ], 11835 "title": "Status", 11836 "type": "object" 11837 } 11838 }, 11839 "404": { 11840 "description": "Namespace (owner) or repository not found", 11841 "schema": { 11842 "properties": { 11843 "detail": { 11844 "description": "An extended message for the response.", 11845 "type": "string" 11846 } 11847 }, 11848 "required": [ 11849 "detail" 11850 ], 11851 "title": "Status", 11852 "type": "object" 11853 } 11854 }, 11855 "422": { 11856 "description": "Missing or invalid parameters (see detail)", 11857 "schema": { 11858 "properties": { 11859 "detail": { 11860 "description": "An extended message for the response.", 11861 "type": "string" 11862 } 11863 }, 11864 "required": [ 11865 "detail" 11866 ], 11867 "title": "Status", 11868 "type": "object" 11869 } 11870 } 11871 }, 11872 "security": [ 11873 { 11874 "token": [] 11875 }, 11876 { 11877 "apikey": [] 11878 }, 11879 { 11880 "csrf_token": [] 11881 } 11882 ], 11883 "summary": "Create a new Ruby package", 11884 "tags": [ 11885 "packages" 11886 ] 11887 } 11888 }, 11889 "/packages/{owner}/{repo}/upload/terraform/": { 11890 "post": { 11891 "consumes": [ 11892 "application/json" 11893 ], 11894 "description": "Create a new Terraform package", 11895 "operationId": "packages_upload_terraform", 11896 "parameters": [ 11897 { 11898 "description": "", 11899 "in": "path", 11900 "name": "owner", 11901 "required": true, 11902 "type": "string" 11903 }, 11904 { 11905 "description": "", 11906 "in": "path", 11907 "name": "repo", 11908 "required": true, 11909 "type": "string" 11910 }, 11911 { 11912 "in": "body", 11913 "name": "data", 11914 "schema": { 11915 "properties": { 11916 "package_file": { 11917 "description": "The primary file for the package.", 11918 "example": "z123456789a", 11919 "type": "string" 11920 }, 11921 "republish": { 11922 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 11923 "type": "boolean" 11924 } 11925 }, 11926 "required": [ 11927 "package_file" 11928 ], 11929 "title": "PackagesUploadTerraform", 11930 "type": "object" 11931 } 11932 } 11933 ], 11934 "responses": { 11935 "201": { 11936 "description": "Upload acknowledged and queued for synchronisation", 11937 "schema": { 11938 "properties": { 11939 "architectures": { 11940 "description": "", 11941 "items": { 11942 "properties": { 11943 "description": { 11944 "description": "", 11945 "type": "string" 11946 }, 11947 "name": { 11948 "description": "", 11949 "type": "string" 11950 } 11951 }, 11952 "type": "object" 11953 }, 11954 "title": "ArchitecturesList", 11955 "type": "array" 11956 }, 11957 "cdn_url": { 11958 "description": "", 11959 "type": "string" 11960 }, 11961 "checksum_md5": { 11962 "description": "", 11963 "type": "string" 11964 }, 11965 "checksum_sha1": { 11966 "description": "", 11967 "type": "string" 11968 }, 11969 "checksum_sha256": { 11970 "description": "", 11971 "type": "string" 11972 }, 11973 "checksum_sha512": { 11974 "description": "", 11975 "type": "string" 11976 }, 11977 "description": { 11978 "description": "A textual description of this package.", 11979 "type": "string" 11980 }, 11981 "distro": { 11982 "description": "", 11983 "type": "object" 11984 }, 11985 "distro_version": { 11986 "description": "", 11987 "type": "object" 11988 }, 11989 "downloads": { 11990 "description": "", 11991 "type": "integer" 11992 }, 11993 "epoch": { 11994 "description": "The epoch of the package version (if any).", 11995 "type": "integer" 11996 }, 11997 "extension": { 11998 "description": "", 11999 "type": "string" 12000 }, 12001 "filename": { 12002 "description": "", 12003 "type": "string" 12004 }, 12005 "files": { 12006 "description": "", 12007 "items": { 12008 "properties": { 12009 "cdn_url": { 12010 "description": "", 12011 "type": "string" 12012 }, 12013 "checksum_md5": { 12014 "description": "", 12015 "type": "string" 12016 }, 12017 "checksum_sha1": { 12018 "description": "", 12019 "type": "string" 12020 }, 12021 "checksum_sha256": { 12022 "description": "", 12023 "type": "string" 12024 }, 12025 "checksum_sha512": { 12026 "description": "", 12027 "type": "string" 12028 }, 12029 "downloads": { 12030 "description": "", 12031 "type": "integer" 12032 }, 12033 "filename": { 12034 "description": "", 12035 "type": "string" 12036 }, 12037 "is_downloadable": { 12038 "description": "", 12039 "type": "boolean" 12040 }, 12041 "is_primary": { 12042 "description": "", 12043 "type": "boolean" 12044 }, 12045 "is_synchronised": { 12046 "description": "", 12047 "type": "boolean" 12048 }, 12049 "size": { 12050 "description": "The calculated size of the file.", 12051 "type": "integer" 12052 }, 12053 "slug_perm": { 12054 "description": "", 12055 "type": "string" 12056 }, 12057 "tag": { 12058 "description": "Freeform descriptor that describes what the file is.", 12059 "type": "string" 12060 } 12061 }, 12062 "type": "object" 12063 }, 12064 "title": "FilesList", 12065 "type": "array" 12066 }, 12067 "format": { 12068 "description": "", 12069 "type": "string" 12070 }, 12071 "format_url": { 12072 "description": "", 12073 "type": "string" 12074 }, 12075 "identifier_perm": { 12076 "description": "Unique and permanent identifier for the package.", 12077 "type": "string" 12078 }, 12079 "indexed": { 12080 "description": "", 12081 "type": "boolean" 12082 }, 12083 "is_sync_awaiting": { 12084 "description": "", 12085 "type": "boolean" 12086 }, 12087 "is_sync_completed": { 12088 "description": "", 12089 "type": "boolean" 12090 }, 12091 "is_sync_failed": { 12092 "description": "", 12093 "type": "boolean" 12094 }, 12095 "is_sync_in_flight": { 12096 "description": "", 12097 "type": "boolean" 12098 }, 12099 "is_sync_in_progress": { 12100 "description": "", 12101 "type": "boolean" 12102 }, 12103 "license": { 12104 "description": "The license of this package.", 12105 "type": "string" 12106 }, 12107 "name": { 12108 "description": "The name of this package.", 12109 "type": "string" 12110 }, 12111 "namespace": { 12112 "description": "", 12113 "type": "string" 12114 }, 12115 "namespace_url": { 12116 "description": "", 12117 "type": "string" 12118 }, 12119 "num_files": { 12120 "description": "", 12121 "type": "integer" 12122 }, 12123 "package_type": { 12124 "description": "The type of package contents.", 12125 "type": "string" 12126 }, 12127 "release": { 12128 "description": "The release of the package version (if any).", 12129 "type": "string" 12130 }, 12131 "repository": { 12132 "description": "", 12133 "type": "string" 12134 }, 12135 "repository_url": { 12136 "description": "", 12137 "type": "string" 12138 }, 12139 "self_html_url": { 12140 "description": "", 12141 "type": "string" 12142 }, 12143 "self_url": { 12144 "description": "", 12145 "type": "string" 12146 }, 12147 "size": { 12148 "description": "The calculated size of the package.", 12149 "type": "integer" 12150 }, 12151 "slug": { 12152 "description": "", 12153 "type": "string" 12154 }, 12155 "slug_perm": { 12156 "description": "", 12157 "type": "string" 12158 }, 12159 "stage": { 12160 "description": "The synchronisation (in progress) stage of the package.", 12161 "type": "string" 12162 }, 12163 "stage_str": { 12164 "description": "", 12165 "type": "string" 12166 }, 12167 "stage_updated_at": { 12168 "description": "The datetime the package stage was updated at.", 12169 "type": "string" 12170 }, 12171 "status": { 12172 "description": "The synchronisation status of the package.", 12173 "type": "string" 12174 }, 12175 "status_reason": { 12176 "description": "A textual description for the synchronous status reason (if any", 12177 "type": "string" 12178 }, 12179 "status_str": { 12180 "description": "", 12181 "type": "string" 12182 }, 12183 "status_updated_at": { 12184 "description": "The datetime the package status was updated at.", 12185 "type": "string" 12186 }, 12187 "status_url": { 12188 "description": "", 12189 "type": "string" 12190 }, 12191 "subtype": { 12192 "description": "", 12193 "type": "string" 12194 }, 12195 "summary": { 12196 "description": "A one-liner synopsis of this package.", 12197 "type": "string" 12198 }, 12199 "sync_finished_at": { 12200 "description": "The datetime the package sync was finished at.", 12201 "type": "string" 12202 }, 12203 "sync_progress": { 12204 "description": "Synchronisation progress (from 0-100)", 12205 "type": "integer" 12206 }, 12207 "type_display": { 12208 "description": "", 12209 "type": "string" 12210 }, 12211 "uploaded_at": { 12212 "description": "The date this package was uploaded.", 12213 "type": "string" 12214 }, 12215 "uploader": { 12216 "description": "", 12217 "type": "string" 12218 }, 12219 "uploader_url": { 12220 "description": "", 12221 "type": "string" 12222 }, 12223 "version": { 12224 "description": "The raw version for this package.", 12225 "type": "string" 12226 }, 12227 "version_orig": { 12228 "description": "", 12229 "type": "string" 12230 } 12231 }, 12232 "title": "TerraformPackageUpload", 12233 "type": "object" 12234 } 12235 }, 12236 "400": { 12237 "description": "Request could not be processed (see detail)", 12238 "schema": { 12239 "properties": { 12240 "detail": { 12241 "description": "An extended message for the response.", 12242 "type": "string" 12243 } 12244 }, 12245 "required": [ 12246 "detail" 12247 ], 12248 "title": "Status", 12249 "type": "object" 12250 } 12251 }, 12252 "404": { 12253 "description": "Namespace (owner) or repository not found", 12254 "schema": { 12255 "properties": { 12256 "detail": { 12257 "description": "An extended message for the response.", 12258 "type": "string" 12259 } 12260 }, 12261 "required": [ 12262 "detail" 12263 ], 12264 "title": "Status", 12265 "type": "object" 12266 } 12267 }, 12268 "422": { 12269 "description": "Missing or invalid parameters (see detail)", 12270 "schema": { 12271 "properties": { 12272 "detail": { 12273 "description": "An extended message for the response.", 12274 "type": "string" 12275 } 12276 }, 12277 "required": [ 12278 "detail" 12279 ], 12280 "title": "Status", 12281 "type": "object" 12282 } 12283 } 12284 }, 12285 "security": [ 12286 { 12287 "token": [] 12288 }, 12289 { 12290 "apikey": [] 12291 }, 12292 { 12293 "csrf_token": [] 12294 } 12295 ], 12296 "summary": "Create a new Terraform package", 12297 "tags": [ 12298 "packages" 12299 ] 12300 } 12301 }, 12302 "/packages/{owner}/{repo}/upload/vagrant/": { 12303 "post": { 12304 "consumes": [ 12305 "application/json" 12306 ], 12307 "description": "Create a new Vagrant package", 12308 "operationId": "packages_upload_vagrant", 12309 "parameters": [ 12310 { 12311 "description": "", 12312 "in": "path", 12313 "name": "owner", 12314 "required": true, 12315 "type": "string" 12316 }, 12317 { 12318 "description": "", 12319 "in": "path", 12320 "name": "repo", 12321 "required": true, 12322 "type": "string" 12323 }, 12324 { 12325 "in": "body", 12326 "name": "data", 12327 "schema": { 12328 "properties": { 12329 "name": { 12330 "description": "The name of this package.", 12331 "example": "tcl", 12332 "type": "string" 12333 }, 12334 "package_file": { 12335 "description": "The primary file for the package.", 12336 "example": "y123456789x", 12337 "type": "string" 12338 }, 12339 "provider": { 12340 "description": "The virtual machine provider for the box.", 12341 "example": "virtualbox", 12342 "type": "string" 12343 }, 12344 "republish": { 12345 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 12346 "type": "boolean" 12347 }, 12348 "version": { 12349 "description": "The raw version for this package.", 12350 "example": "1.0", 12351 "type": "string" 12352 } 12353 }, 12354 "required": [ 12355 "name", 12356 "package_file", 12357 "provider", 12358 "version" 12359 ], 12360 "title": "PackagesUploadVagrant", 12361 "type": "object" 12362 } 12363 } 12364 ], 12365 "responses": { 12366 "201": { 12367 "description": "Upload acknowledged and queued for synchronisation", 12368 "schema": { 12369 "properties": { 12370 "architectures": { 12371 "description": "", 12372 "items": { 12373 "properties": { 12374 "description": { 12375 "description": "", 12376 "type": "string" 12377 }, 12378 "name": { 12379 "description": "", 12380 "type": "string" 12381 } 12382 }, 12383 "type": "object" 12384 }, 12385 "title": "ArchitecturesList", 12386 "type": "array" 12387 }, 12388 "cdn_url": { 12389 "description": "", 12390 "type": "string" 12391 }, 12392 "checksum_md5": { 12393 "description": "", 12394 "type": "string" 12395 }, 12396 "checksum_sha1": { 12397 "description": "", 12398 "type": "string" 12399 }, 12400 "checksum_sha256": { 12401 "description": "", 12402 "type": "string" 12403 }, 12404 "checksum_sha512": { 12405 "description": "", 12406 "type": "string" 12407 }, 12408 "description": { 12409 "description": "A textual description of this package.", 12410 "type": "string" 12411 }, 12412 "distro": { 12413 "description": "", 12414 "type": "object" 12415 }, 12416 "distro_version": { 12417 "description": "", 12418 "type": "object" 12419 }, 12420 "downloads": { 12421 "description": "", 12422 "type": "integer" 12423 }, 12424 "epoch": { 12425 "description": "The epoch of the package version (if any).", 12426 "type": "integer" 12427 }, 12428 "extension": { 12429 "description": "", 12430 "type": "string" 12431 }, 12432 "filename": { 12433 "description": "", 12434 "type": "string" 12435 }, 12436 "files": { 12437 "description": "", 12438 "items": { 12439 "properties": { 12440 "cdn_url": { 12441 "description": "", 12442 "type": "string" 12443 }, 12444 "checksum_md5": { 12445 "description": "", 12446 "type": "string" 12447 }, 12448 "checksum_sha1": { 12449 "description": "", 12450 "type": "string" 12451 }, 12452 "checksum_sha256": { 12453 "description": "", 12454 "type": "string" 12455 }, 12456 "checksum_sha512": { 12457 "description": "", 12458 "type": "string" 12459 }, 12460 "downloads": { 12461 "description": "", 12462 "type": "integer" 12463 }, 12464 "filename": { 12465 "description": "", 12466 "type": "string" 12467 }, 12468 "is_downloadable": { 12469 "description": "", 12470 "type": "boolean" 12471 }, 12472 "is_primary": { 12473 "description": "", 12474 "type": "boolean" 12475 }, 12476 "is_synchronised": { 12477 "description": "", 12478 "type": "boolean" 12479 }, 12480 "size": { 12481 "description": "The calculated size of the file.", 12482 "type": "integer" 12483 }, 12484 "slug_perm": { 12485 "description": "", 12486 "type": "string" 12487 }, 12488 "tag": { 12489 "description": "Freeform descriptor that describes what the file is.", 12490 "type": "string" 12491 } 12492 }, 12493 "type": "object" 12494 }, 12495 "title": "FilesList", 12496 "type": "array" 12497 }, 12498 "format": { 12499 "description": "", 12500 "type": "string" 12501 }, 12502 "format_url": { 12503 "description": "", 12504 "type": "string" 12505 }, 12506 "identifier_perm": { 12507 "description": "Unique and permanent identifier for the package.", 12508 "type": "string" 12509 }, 12510 "indexed": { 12511 "description": "", 12512 "type": "boolean" 12513 }, 12514 "is_sync_awaiting": { 12515 "description": "", 12516 "type": "boolean" 12517 }, 12518 "is_sync_completed": { 12519 "description": "", 12520 "type": "boolean" 12521 }, 12522 "is_sync_failed": { 12523 "description": "", 12524 "type": "boolean" 12525 }, 12526 "is_sync_in_flight": { 12527 "description": "", 12528 "type": "boolean" 12529 }, 12530 "is_sync_in_progress": { 12531 "description": "", 12532 "type": "boolean" 12533 }, 12534 "license": { 12535 "description": "The license of this package.", 12536 "type": "string" 12537 }, 12538 "name": { 12539 "description": "The name of this package.", 12540 "example": "tcl", 12541 "type": "string" 12542 }, 12543 "namespace": { 12544 "description": "", 12545 "type": "string" 12546 }, 12547 "namespace_url": { 12548 "description": "", 12549 "type": "string" 12550 }, 12551 "num_files": { 12552 "description": "", 12553 "type": "integer" 12554 }, 12555 "package_type": { 12556 "description": "The type of package contents.", 12557 "type": "string" 12558 }, 12559 "provider": { 12560 "description": "The virtual machine provider for the box.", 12561 "example": "virtualbox", 12562 "type": "string" 12563 }, 12564 "release": { 12565 "description": "The release of the package version (if any).", 12566 "type": "string" 12567 }, 12568 "repository": { 12569 "description": "", 12570 "type": "string" 12571 }, 12572 "repository_url": { 12573 "description": "", 12574 "type": "string" 12575 }, 12576 "self_html_url": { 12577 "description": "", 12578 "type": "string" 12579 }, 12580 "self_url": { 12581 "description": "", 12582 "type": "string" 12583 }, 12584 "size": { 12585 "description": "The calculated size of the package.", 12586 "type": "integer" 12587 }, 12588 "slug": { 12589 "description": "", 12590 "type": "string" 12591 }, 12592 "slug_perm": { 12593 "description": "", 12594 "type": "string" 12595 }, 12596 "stage": { 12597 "description": "The synchronisation (in progress) stage of the package.", 12598 "type": "string" 12599 }, 12600 "stage_str": { 12601 "description": "", 12602 "type": "string" 12603 }, 12604 "stage_updated_at": { 12605 "description": "The datetime the package stage was updated at.", 12606 "type": "string" 12607 }, 12608 "status": { 12609 "description": "The synchronisation status of the package.", 12610 "type": "string" 12611 }, 12612 "status_reason": { 12613 "description": "A textual description for the synchronous status reason (if any", 12614 "type": "string" 12615 }, 12616 "status_str": { 12617 "description": "", 12618 "type": "string" 12619 }, 12620 "status_updated_at": { 12621 "description": "The datetime the package status was updated at.", 12622 "type": "string" 12623 }, 12624 "status_url": { 12625 "description": "", 12626 "type": "string" 12627 }, 12628 "subtype": { 12629 "description": "", 12630 "type": "string" 12631 }, 12632 "summary": { 12633 "description": "A one-liner synopsis of this package.", 12634 "type": "string" 12635 }, 12636 "sync_finished_at": { 12637 "description": "The datetime the package sync was finished at.", 12638 "type": "string" 12639 }, 12640 "sync_progress": { 12641 "description": "Synchronisation progress (from 0-100)", 12642 "type": "integer" 12643 }, 12644 "type_display": { 12645 "description": "", 12646 "type": "string" 12647 }, 12648 "uploaded_at": { 12649 "description": "The date this package was uploaded.", 12650 "type": "string" 12651 }, 12652 "uploader": { 12653 "description": "", 12654 "type": "string" 12655 }, 12656 "uploader_url": { 12657 "description": "", 12658 "type": "string" 12659 }, 12660 "version": { 12661 "description": "The raw version for this package.", 12662 "example": "1.0", 12663 "type": "string" 12664 }, 12665 "version_orig": { 12666 "description": "", 12667 "type": "string" 12668 } 12669 }, 12670 "required": [ 12671 "name", 12672 "provider", 12673 "version" 12674 ], 12675 "title": "VagrantPackageUpload", 12676 "type": "object" 12677 } 12678 }, 12679 "400": { 12680 "description": "Request could not be processed (see detail)", 12681 "schema": { 12682 "properties": { 12683 "detail": { 12684 "description": "An extended message for the response.", 12685 "type": "string" 12686 } 12687 }, 12688 "required": [ 12689 "detail" 12690 ], 12691 "title": "Status", 12692 "type": "object" 12693 } 12694 }, 12695 "404": { 12696 "description": "Namespace (owner) or repository not found", 12697 "schema": { 12698 "properties": { 12699 "detail": { 12700 "description": "An extended message for the response.", 12701 "type": "string" 12702 } 12703 }, 12704 "required": [ 12705 "detail" 12706 ], 12707 "title": "Status", 12708 "type": "object" 12709 } 12710 }, 12711 "422": { 12712 "description": "Missing or invalid parameters (see detail)", 12713 "schema": { 12714 "properties": { 12715 "detail": { 12716 "description": "An extended message for the response.", 12717 "type": "string" 12718 } 12719 }, 12720 "required": [ 12721 "detail" 12722 ], 12723 "title": "Status", 12724 "type": "object" 12725 } 12726 } 12727 }, 12728 "security": [ 12729 { 12730 "token": [] 12731 }, 12732 { 12733 "apikey": [] 12734 }, 12735 { 12736 "csrf_token": [] 12737 } 12738 ], 12739 "summary": "Create a new Vagrant package", 12740 "tags": [ 12741 "packages" 12742 ] 12743 } 12744 }, 12745 "/packages/{owner}/{repo}/validate-upload/alpine/": { 12746 "post": { 12747 "consumes": [ 12748 "application/json" 12749 ], 12750 "description": "Validate parameters for create Alpine package", 12751 "operationId": "packages_validate-upload_alpine", 12752 "parameters": [ 12753 { 12754 "description": "", 12755 "in": "path", 12756 "name": "owner", 12757 "required": true, 12758 "type": "string" 12759 }, 12760 { 12761 "description": "", 12762 "in": "path", 12763 "name": "repo", 12764 "required": true, 12765 "type": "string" 12766 }, 12767 { 12768 "in": "body", 12769 "name": "data", 12770 "schema": { 12771 "properties": { 12772 "distribution": { 12773 "description": "The distribution to store the package for.", 12774 "example": "alpine/v3.8", 12775 "type": "string" 12776 }, 12777 "package_file": { 12778 "description": "The primary file for the package.", 12779 "example": "a123456789", 12780 "type": "string" 12781 }, 12782 "republish": { 12783 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 12784 "type": "boolean" 12785 } 12786 }, 12787 "required": [ 12788 "distribution", 12789 "package_file" 12790 ], 12791 "title": "PackagesValidate-uploadAlpine", 12792 "type": "object" 12793 } 12794 } 12795 ], 12796 "responses": { 12797 "204": { 12798 "description": "Validation was successful, parameters are OK" 12799 }, 12800 "400": { 12801 "description": "Request could not be processed (see detail)", 12802 "schema": { 12803 "properties": { 12804 "detail": { 12805 "description": "An extended message for the response.", 12806 "type": "string" 12807 } 12808 }, 12809 "required": [ 12810 "detail" 12811 ], 12812 "title": "Status", 12813 "type": "object" 12814 } 12815 }, 12816 "404": { 12817 "description": "Namespace (owner) or repository not found", 12818 "schema": { 12819 "properties": { 12820 "detail": { 12821 "description": "An extended message for the response.", 12822 "type": "string" 12823 } 12824 }, 12825 "required": [ 12826 "detail" 12827 ], 12828 "title": "Status", 12829 "type": "object" 12830 } 12831 }, 12832 "422": { 12833 "description": "Missing or invalid parameters (see detail)", 12834 "schema": { 12835 "properties": { 12836 "detail": { 12837 "description": "An extended message for the response.", 12838 "type": "string" 12839 } 12840 }, 12841 "required": [ 12842 "detail" 12843 ], 12844 "title": "Status", 12845 "type": "object" 12846 } 12847 } 12848 }, 12849 "security": [ 12850 { 12851 "token": [] 12852 }, 12853 { 12854 "apikey": [] 12855 }, 12856 { 12857 "csrf_token": [] 12858 } 12859 ], 12860 "summary": "Validate parameters for create Alpine package", 12861 "tags": [ 12862 "packages" 12863 ] 12864 } 12865 }, 12866 "/packages/{owner}/{repo}/validate-upload/cargo/": { 12867 "post": { 12868 "consumes": [ 12869 "application/json" 12870 ], 12871 "description": "Validate parameters for create Cargo package", 12872 "operationId": "packages_validate-upload_cargo", 12873 "parameters": [ 12874 { 12875 "description": "", 12876 "in": "path", 12877 "name": "owner", 12878 "required": true, 12879 "type": "string" 12880 }, 12881 { 12882 "description": "", 12883 "in": "path", 12884 "name": "repo", 12885 "required": true, 12886 "type": "string" 12887 }, 12888 { 12889 "in": "body", 12890 "name": "data", 12891 "schema": { 12892 "properties": { 12893 "package_file": { 12894 "description": "The primary file for the package.", 12895 "example": "x123456789a", 12896 "type": "string" 12897 }, 12898 "republish": { 12899 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 12900 "type": "boolean" 12901 } 12902 }, 12903 "required": [ 12904 "package_file" 12905 ], 12906 "title": "PackagesValidate-uploadCargo", 12907 "type": "object" 12908 } 12909 } 12910 ], 12911 "responses": { 12912 "204": { 12913 "description": "Validation was successful, parameters are OK" 12914 }, 12915 "400": { 12916 "description": "Request could not be processed (see detail)", 12917 "schema": { 12918 "properties": { 12919 "detail": { 12920 "description": "An extended message for the response.", 12921 "type": "string" 12922 } 12923 }, 12924 "required": [ 12925 "detail" 12926 ], 12927 "title": "Status", 12928 "type": "object" 12929 } 12930 }, 12931 "404": { 12932 "description": "Namespace (owner) or repository not found", 12933 "schema": { 12934 "properties": { 12935 "detail": { 12936 "description": "An extended message for the response.", 12937 "type": "string" 12938 } 12939 }, 12940 "required": [ 12941 "detail" 12942 ], 12943 "title": "Status", 12944 "type": "object" 12945 } 12946 }, 12947 "422": { 12948 "description": "Missing or invalid parameters (see detail)", 12949 "schema": { 12950 "properties": { 12951 "detail": { 12952 "description": "An extended message for the response.", 12953 "type": "string" 12954 } 12955 }, 12956 "required": [ 12957 "detail" 12958 ], 12959 "title": "Status", 12960 "type": "object" 12961 } 12962 } 12963 }, 12964 "security": [ 12965 { 12966 "token": [] 12967 }, 12968 { 12969 "apikey": [] 12970 }, 12971 { 12972 "csrf_token": [] 12973 } 12974 ], 12975 "summary": "Validate parameters for create Cargo package", 12976 "tags": [ 12977 "packages" 12978 ] 12979 } 12980 }, 12981 "/packages/{owner}/{repo}/validate-upload/cocoapods/": { 12982 "post": { 12983 "consumes": [ 12984 "application/json" 12985 ], 12986 "description": "Validate parameters for create CocoaPods package", 12987 "operationId": "packages_validate-upload_cocoapods", 12988 "parameters": [ 12989 { 12990 "description": "", 12991 "in": "path", 12992 "name": "owner", 12993 "required": true, 12994 "type": "string" 12995 }, 12996 { 12997 "description": "", 12998 "in": "path", 12999 "name": "repo", 13000 "required": true, 13001 "type": "string" 13002 }, 13003 { 13004 "in": "body", 13005 "name": "data", 13006 "schema": { 13007 "properties": { 13008 "package_file": { 13009 "description": "The primary file for the package.", 13010 "example": "z123456789", 13011 "type": "string" 13012 }, 13013 "republish": { 13014 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13015 "type": "boolean" 13016 } 13017 }, 13018 "required": [ 13019 "package_file" 13020 ], 13021 "title": "PackagesValidate-uploadCocoapods", 13022 "type": "object" 13023 } 13024 } 13025 ], 13026 "responses": { 13027 "204": { 13028 "description": "Validation was successful, parameters are OK" 13029 }, 13030 "400": { 13031 "description": "Request could not be processed (see detail)", 13032 "schema": { 13033 "properties": { 13034 "detail": { 13035 "description": "An extended message for the response.", 13036 "type": "string" 13037 } 13038 }, 13039 "required": [ 13040 "detail" 13041 ], 13042 "title": "Status", 13043 "type": "object" 13044 } 13045 }, 13046 "404": { 13047 "description": "Namespace (owner) or repository not found", 13048 "schema": { 13049 "properties": { 13050 "detail": { 13051 "description": "An extended message for the response.", 13052 "type": "string" 13053 } 13054 }, 13055 "required": [ 13056 "detail" 13057 ], 13058 "title": "Status", 13059 "type": "object" 13060 } 13061 }, 13062 "422": { 13063 "description": "Missing or invalid parameters (see detail)", 13064 "schema": { 13065 "properties": { 13066 "detail": { 13067 "description": "An extended message for the response.", 13068 "type": "string" 13069 } 13070 }, 13071 "required": [ 13072 "detail" 13073 ], 13074 "title": "Status", 13075 "type": "object" 13076 } 13077 } 13078 }, 13079 "security": [ 13080 { 13081 "token": [] 13082 }, 13083 { 13084 "apikey": [] 13085 }, 13086 { 13087 "csrf_token": [] 13088 } 13089 ], 13090 "summary": "Validate parameters for create CocoaPods package", 13091 "tags": [ 13092 "packages" 13093 ] 13094 } 13095 }, 13096 "/packages/{owner}/{repo}/validate-upload/composer/": { 13097 "post": { 13098 "consumes": [ 13099 "application/json" 13100 ], 13101 "description": "Validate parameters for create Composer package", 13102 "operationId": "packages_validate-upload_composer", 13103 "parameters": [ 13104 { 13105 "description": "", 13106 "in": "path", 13107 "name": "owner", 13108 "required": true, 13109 "type": "string" 13110 }, 13111 { 13112 "description": "", 13113 "in": "path", 13114 "name": "repo", 13115 "required": true, 13116 "type": "string" 13117 }, 13118 { 13119 "in": "body", 13120 "name": "data", 13121 "schema": { 13122 "properties": { 13123 "package_file": { 13124 "description": "The primary file for the package.", 13125 "example": "y123456789", 13126 "type": "string" 13127 }, 13128 "republish": { 13129 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13130 "type": "boolean" 13131 } 13132 }, 13133 "required": [ 13134 "package_file" 13135 ], 13136 "title": "PackagesValidate-uploadComposer", 13137 "type": "object" 13138 } 13139 } 13140 ], 13141 "responses": { 13142 "204": { 13143 "description": "Validation was successful, parameters are OK" 13144 }, 13145 "400": { 13146 "description": "Request could not be processed (see detail)", 13147 "schema": { 13148 "properties": { 13149 "detail": { 13150 "description": "An extended message for the response.", 13151 "type": "string" 13152 } 13153 }, 13154 "required": [ 13155 "detail" 13156 ], 13157 "title": "Status", 13158 "type": "object" 13159 } 13160 }, 13161 "404": { 13162 "description": "Namespace (owner) or repository not found", 13163 "schema": { 13164 "properties": { 13165 "detail": { 13166 "description": "An extended message for the response.", 13167 "type": "string" 13168 } 13169 }, 13170 "required": [ 13171 "detail" 13172 ], 13173 "title": "Status", 13174 "type": "object" 13175 } 13176 }, 13177 "422": { 13178 "description": "Missing or invalid parameters (see detail)", 13179 "schema": { 13180 "properties": { 13181 "detail": { 13182 "description": "An extended message for the response.", 13183 "type": "string" 13184 } 13185 }, 13186 "required": [ 13187 "detail" 13188 ], 13189 "title": "Status", 13190 "type": "object" 13191 } 13192 } 13193 }, 13194 "security": [ 13195 { 13196 "token": [] 13197 }, 13198 { 13199 "apikey": [] 13200 }, 13201 { 13202 "csrf_token": [] 13203 } 13204 ], 13205 "summary": "Validate parameters for create Composer package", 13206 "tags": [ 13207 "packages" 13208 ] 13209 } 13210 }, 13211 "/packages/{owner}/{repo}/validate-upload/conan/": { 13212 "post": { 13213 "consumes": [ 13214 "application/json" 13215 ], 13216 "description": "Validate parameters for create Conan package", 13217 "operationId": "packages_validate-upload_conan", 13218 "parameters": [ 13219 { 13220 "description": "", 13221 "in": "path", 13222 "name": "owner", 13223 "required": true, 13224 "type": "string" 13225 }, 13226 { 13227 "description": "", 13228 "in": "path", 13229 "name": "repo", 13230 "required": true, 13231 "type": "string" 13232 }, 13233 { 13234 "in": "body", 13235 "name": "data", 13236 "schema": { 13237 "properties": { 13238 "conan_channel": { 13239 "description": "Conan channel.", 13240 "example": "alpha", 13241 "type": "string" 13242 }, 13243 "conan_prefix": { 13244 "description": "Conan prefix (User).", 13245 "example": "my-repository", 13246 "type": "string" 13247 }, 13248 "info_file": { 13249 "description": "The info file is an python file containing the package metadata.", 13250 "example": "y1234456789b", 13251 "type": "string" 13252 }, 13253 "manifest_file": { 13254 "description": "The info file is an python file containing the package metadata.", 13255 "example": "y1234456789c", 13256 "type": "string" 13257 }, 13258 "metadata_file": { 13259 "description": "The conan file is an python file containing the package metadata.", 13260 "example": "y1234456789a", 13261 "type": "string" 13262 }, 13263 "name": { 13264 "description": "The name of this package.", 13265 "example": "conan_package.tgz", 13266 "type": "string" 13267 }, 13268 "package_file": { 13269 "description": "The primary file for the package.", 13270 "example": "x123456789a", 13271 "type": "string" 13272 }, 13273 "republish": { 13274 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13275 "type": "boolean" 13276 }, 13277 "version": { 13278 "description": "The raw version for this package.", 13279 "example": "1.0.0", 13280 "type": "string" 13281 } 13282 }, 13283 "required": [ 13284 "info_file", 13285 "manifest_file", 13286 "metadata_file", 13287 "package_file" 13288 ], 13289 "title": "PackagesValidate-uploadConan", 13290 "type": "object" 13291 } 13292 } 13293 ], 13294 "responses": { 13295 "204": { 13296 "description": "Validation was successful, parameters are OK" 13297 }, 13298 "400": { 13299 "description": "Request could not be processed (see detail)", 13300 "schema": { 13301 "properties": { 13302 "detail": { 13303 "description": "An extended message for the response.", 13304 "type": "string" 13305 } 13306 }, 13307 "required": [ 13308 "detail" 13309 ], 13310 "title": "Status", 13311 "type": "object" 13312 } 13313 }, 13314 "404": { 13315 "description": "Namespace (owner) or repository not found", 13316 "schema": { 13317 "properties": { 13318 "detail": { 13319 "description": "An extended message for the response.", 13320 "type": "string" 13321 } 13322 }, 13323 "required": [ 13324 "detail" 13325 ], 13326 "title": "Status", 13327 "type": "object" 13328 } 13329 }, 13330 "422": { 13331 "description": "Missing or invalid parameters (see detail)", 13332 "schema": { 13333 "properties": { 13334 "detail": { 13335 "description": "An extended message for the response.", 13336 "type": "string" 13337 } 13338 }, 13339 "required": [ 13340 "detail" 13341 ], 13342 "title": "Status", 13343 "type": "object" 13344 } 13345 } 13346 }, 13347 "security": [ 13348 { 13349 "token": [] 13350 }, 13351 { 13352 "apikey": [] 13353 }, 13354 { 13355 "csrf_token": [] 13356 } 13357 ], 13358 "summary": "Validate parameters for create Conan package", 13359 "tags": [ 13360 "packages" 13361 ] 13362 } 13363 }, 13364 "/packages/{owner}/{repo}/validate-upload/cran/": { 13365 "post": { 13366 "consumes": [ 13367 "application/json" 13368 ], 13369 "description": "Validate parameters for create CRAN package", 13370 "operationId": "packages_validate-upload_cran", 13371 "parameters": [ 13372 { 13373 "description": "", 13374 "in": "path", 13375 "name": "owner", 13376 "required": true, 13377 "type": "string" 13378 }, 13379 { 13380 "description": "", 13381 "in": "path", 13382 "name": "repo", 13383 "required": true, 13384 "type": "string" 13385 }, 13386 { 13387 "in": "body", 13388 "name": "data", 13389 "schema": { 13390 "properties": { 13391 "package_file": { 13392 "description": "The primary file for the package.", 13393 "example": "x123456789a", 13394 "type": "string" 13395 }, 13396 "republish": { 13397 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13398 "type": "boolean" 13399 } 13400 }, 13401 "required": [ 13402 "package_file" 13403 ], 13404 "title": "PackagesValidate-uploadCran", 13405 "type": "object" 13406 } 13407 } 13408 ], 13409 "responses": { 13410 "204": { 13411 "description": "Validation was successful, parameters are OK" 13412 }, 13413 "400": { 13414 "description": "Request could not be processed (see detail)", 13415 "schema": { 13416 "properties": { 13417 "detail": { 13418 "description": "An extended message for the response.", 13419 "type": "string" 13420 } 13421 }, 13422 "required": [ 13423 "detail" 13424 ], 13425 "title": "Status", 13426 "type": "object" 13427 } 13428 }, 13429 "404": { 13430 "description": "Namespace (owner) or repository not found", 13431 "schema": { 13432 "properties": { 13433 "detail": { 13434 "description": "An extended message for the response.", 13435 "type": "string" 13436 } 13437 }, 13438 "required": [ 13439 "detail" 13440 ], 13441 "title": "Status", 13442 "type": "object" 13443 } 13444 }, 13445 "422": { 13446 "description": "Missing or invalid parameters (see detail)", 13447 "schema": { 13448 "properties": { 13449 "detail": { 13450 "description": "An extended message for the response.", 13451 "type": "string" 13452 } 13453 }, 13454 "required": [ 13455 "detail" 13456 ], 13457 "title": "Status", 13458 "type": "object" 13459 } 13460 } 13461 }, 13462 "security": [ 13463 { 13464 "token": [] 13465 }, 13466 { 13467 "apikey": [] 13468 }, 13469 { 13470 "csrf_token": [] 13471 } 13472 ], 13473 "summary": "Validate parameters for create CRAN package", 13474 "tags": [ 13475 "packages" 13476 ] 13477 } 13478 }, 13479 "/packages/{owner}/{repo}/validate-upload/dart/": { 13480 "post": { 13481 "consumes": [ 13482 "application/json" 13483 ], 13484 "description": "Validate parameters for create Dart package", 13485 "operationId": "packages_validate-upload_dart", 13486 "parameters": [ 13487 { 13488 "description": "", 13489 "in": "path", 13490 "name": "owner", 13491 "required": true, 13492 "type": "string" 13493 }, 13494 { 13495 "description": "", 13496 "in": "path", 13497 "name": "repo", 13498 "required": true, 13499 "type": "string" 13500 }, 13501 { 13502 "in": "body", 13503 "name": "data", 13504 "schema": { 13505 "properties": { 13506 "package_file": { 13507 "description": "The primary file for the package.", 13508 "example": "x123456789a", 13509 "type": "string" 13510 }, 13511 "republish": { 13512 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13513 "type": "boolean" 13514 } 13515 }, 13516 "required": [ 13517 "package_file" 13518 ], 13519 "title": "PackagesValidate-uploadDart", 13520 "type": "object" 13521 } 13522 } 13523 ], 13524 "responses": { 13525 "204": { 13526 "description": "Validation was successful, parameters are OK" 13527 }, 13528 "400": { 13529 "description": "Request could not be processed (see detail)", 13530 "schema": { 13531 "properties": { 13532 "detail": { 13533 "description": "An extended message for the response.", 13534 "type": "string" 13535 } 13536 }, 13537 "required": [ 13538 "detail" 13539 ], 13540 "title": "Status", 13541 "type": "object" 13542 } 13543 }, 13544 "404": { 13545 "description": "Namespace (owner) or repository not found", 13546 "schema": { 13547 "properties": { 13548 "detail": { 13549 "description": "An extended message for the response.", 13550 "type": "string" 13551 } 13552 }, 13553 "required": [ 13554 "detail" 13555 ], 13556 "title": "Status", 13557 "type": "object" 13558 } 13559 }, 13560 "422": { 13561 "description": "Missing or invalid parameters (see detail)", 13562 "schema": { 13563 "properties": { 13564 "detail": { 13565 "description": "An extended message for the response.", 13566 "type": "string" 13567 } 13568 }, 13569 "required": [ 13570 "detail" 13571 ], 13572 "title": "Status", 13573 "type": "object" 13574 } 13575 } 13576 }, 13577 "security": [ 13578 { 13579 "token": [] 13580 }, 13581 { 13582 "apikey": [] 13583 }, 13584 { 13585 "csrf_token": [] 13586 } 13587 ], 13588 "summary": "Validate parameters for create Dart package", 13589 "tags": [ 13590 "packages" 13591 ] 13592 } 13593 }, 13594 "/packages/{owner}/{repo}/validate-upload/deb/": { 13595 "post": { 13596 "consumes": [ 13597 "application/json" 13598 ], 13599 "description": "Validate parameters for create Debian package", 13600 "operationId": "packages_validate-upload_deb", 13601 "parameters": [ 13602 { 13603 "description": "", 13604 "in": "path", 13605 "name": "owner", 13606 "required": true, 13607 "type": "string" 13608 }, 13609 { 13610 "description": "", 13611 "in": "path", 13612 "name": "repo", 13613 "required": true, 13614 "type": "string" 13615 }, 13616 { 13617 "in": "body", 13618 "name": "data", 13619 "schema": { 13620 "properties": { 13621 "distribution": { 13622 "description": "The distribution to store the package for.", 13623 "example": "ubuntu/xenial", 13624 "type": "string" 13625 }, 13626 "package_file": { 13627 "description": "The primary file for the package.", 13628 "example": "y123456789", 13629 "type": "string" 13630 }, 13631 "republish": { 13632 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13633 "type": "boolean" 13634 } 13635 }, 13636 "required": [ 13637 "distribution", 13638 "package_file" 13639 ], 13640 "title": "PackagesValidate-uploadDeb", 13641 "type": "object" 13642 } 13643 } 13644 ], 13645 "responses": { 13646 "204": { 13647 "description": "Validation was successful, parameters are OK" 13648 }, 13649 "400": { 13650 "description": "Request could not be processed (see detail)", 13651 "schema": { 13652 "properties": { 13653 "detail": { 13654 "description": "An extended message for the response.", 13655 "type": "string" 13656 } 13657 }, 13658 "required": [ 13659 "detail" 13660 ], 13661 "title": "Status", 13662 "type": "object" 13663 } 13664 }, 13665 "404": { 13666 "description": "Namespace (owner) or repository not found", 13667 "schema": { 13668 "properties": { 13669 "detail": { 13670 "description": "An extended message for the response.", 13671 "type": "string" 13672 } 13673 }, 13674 "required": [ 13675 "detail" 13676 ], 13677 "title": "Status", 13678 "type": "object" 13679 } 13680 }, 13681 "422": { 13682 "description": "Missing or invalid parameters (see detail)", 13683 "schema": { 13684 "properties": { 13685 "detail": { 13686 "description": "An extended message for the response.", 13687 "type": "string" 13688 } 13689 }, 13690 "required": [ 13691 "detail" 13692 ], 13693 "title": "Status", 13694 "type": "object" 13695 } 13696 } 13697 }, 13698 "security": [ 13699 { 13700 "token": [] 13701 }, 13702 { 13703 "apikey": [] 13704 }, 13705 { 13706 "csrf_token": [] 13707 } 13708 ], 13709 "summary": "Validate parameters for create Debian package", 13710 "tags": [ 13711 "packages" 13712 ] 13713 } 13714 }, 13715 "/packages/{owner}/{repo}/validate-upload/docker/": { 13716 "post": { 13717 "consumes": [ 13718 "application/json" 13719 ], 13720 "description": "Validate parameters for create Docker package", 13721 "operationId": "packages_validate-upload_docker", 13722 "parameters": [ 13723 { 13724 "description": "", 13725 "in": "path", 13726 "name": "owner", 13727 "required": true, 13728 "type": "string" 13729 }, 13730 { 13731 "description": "", 13732 "in": "path", 13733 "name": "repo", 13734 "required": true, 13735 "type": "string" 13736 }, 13737 { 13738 "in": "body", 13739 "name": "data", 13740 "schema": { 13741 "properties": { 13742 "package_file": { 13743 "description": "The primary file for the package.", 13744 "example": "y123456789", 13745 "type": "string" 13746 }, 13747 "republish": { 13748 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13749 "type": "boolean" 13750 } 13751 }, 13752 "required": [ 13753 "package_file" 13754 ], 13755 "title": "PackagesValidate-uploadDocker", 13756 "type": "object" 13757 } 13758 } 13759 ], 13760 "responses": { 13761 "204": { 13762 "description": "Validation was successful, parameters are OK" 13763 }, 13764 "400": { 13765 "description": "Request could not be processed (see detail)", 13766 "schema": { 13767 "properties": { 13768 "detail": { 13769 "description": "An extended message for the response.", 13770 "type": "string" 13771 } 13772 }, 13773 "required": [ 13774 "detail" 13775 ], 13776 "title": "Status", 13777 "type": "object" 13778 } 13779 }, 13780 "404": { 13781 "description": "Namespace (owner) or repository not found", 13782 "schema": { 13783 "properties": { 13784 "detail": { 13785 "description": "An extended message for the response.", 13786 "type": "string" 13787 } 13788 }, 13789 "required": [ 13790 "detail" 13791 ], 13792 "title": "Status", 13793 "type": "object" 13794 } 13795 }, 13796 "422": { 13797 "description": "Missing or invalid parameters (see detail)", 13798 "schema": { 13799 "properties": { 13800 "detail": { 13801 "description": "An extended message for the response.", 13802 "type": "string" 13803 } 13804 }, 13805 "required": [ 13806 "detail" 13807 ], 13808 "title": "Status", 13809 "type": "object" 13810 } 13811 } 13812 }, 13813 "security": [ 13814 { 13815 "token": [] 13816 }, 13817 { 13818 "apikey": [] 13819 }, 13820 { 13821 "csrf_token": [] 13822 } 13823 ], 13824 "summary": "Validate parameters for create Docker package", 13825 "tags": [ 13826 "packages" 13827 ] 13828 } 13829 }, 13830 "/packages/{owner}/{repo}/validate-upload/go/": { 13831 "post": { 13832 "consumes": [ 13833 "application/json" 13834 ], 13835 "description": "Validate parameters for create Go package", 13836 "operationId": "packages_validate-upload_go", 13837 "parameters": [ 13838 { 13839 "description": "", 13840 "in": "path", 13841 "name": "owner", 13842 "required": true, 13843 "type": "string" 13844 }, 13845 { 13846 "description": "", 13847 "in": "path", 13848 "name": "repo", 13849 "required": true, 13850 "type": "string" 13851 }, 13852 { 13853 "in": "body", 13854 "name": "data", 13855 "schema": { 13856 "properties": { 13857 "package_file": { 13858 "description": "The primary file for the package.", 13859 "example": "x123456789a", 13860 "type": "string" 13861 }, 13862 "republish": { 13863 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13864 "type": "boolean" 13865 } 13866 }, 13867 "required": [ 13868 "package_file" 13869 ], 13870 "title": "PackagesValidate-uploadGo", 13871 "type": "object" 13872 } 13873 } 13874 ], 13875 "responses": { 13876 "204": { 13877 "description": "Validation was successful, parameters are OK" 13878 }, 13879 "400": { 13880 "description": "Request could not be processed (see detail)", 13881 "schema": { 13882 "properties": { 13883 "detail": { 13884 "description": "An extended message for the response.", 13885 "type": "string" 13886 } 13887 }, 13888 "required": [ 13889 "detail" 13890 ], 13891 "title": "Status", 13892 "type": "object" 13893 } 13894 }, 13895 "404": { 13896 "description": "Namespace (owner) or repository not found", 13897 "schema": { 13898 "properties": { 13899 "detail": { 13900 "description": "An extended message for the response.", 13901 "type": "string" 13902 } 13903 }, 13904 "required": [ 13905 "detail" 13906 ], 13907 "title": "Status", 13908 "type": "object" 13909 } 13910 }, 13911 "422": { 13912 "description": "Missing or invalid parameters (see detail)", 13913 "schema": { 13914 "properties": { 13915 "detail": { 13916 "description": "An extended message for the response.", 13917 "type": "string" 13918 } 13919 }, 13920 "required": [ 13921 "detail" 13922 ], 13923 "title": "Status", 13924 "type": "object" 13925 } 13926 } 13927 }, 13928 "security": [ 13929 { 13930 "token": [] 13931 }, 13932 { 13933 "apikey": [] 13934 }, 13935 { 13936 "csrf_token": [] 13937 } 13938 ], 13939 "summary": "Validate parameters for create Go package", 13940 "tags": [ 13941 "packages" 13942 ] 13943 } 13944 }, 13945 "/packages/{owner}/{repo}/validate-upload/helm/": { 13946 "post": { 13947 "consumes": [ 13948 "application/json" 13949 ], 13950 "description": "Validate parameters for create Helm package", 13951 "operationId": "packages_validate-upload_helm", 13952 "parameters": [ 13953 { 13954 "description": "", 13955 "in": "path", 13956 "name": "owner", 13957 "required": true, 13958 "type": "string" 13959 }, 13960 { 13961 "description": "", 13962 "in": "path", 13963 "name": "repo", 13964 "required": true, 13965 "type": "string" 13966 }, 13967 { 13968 "in": "body", 13969 "name": "data", 13970 "schema": { 13971 "properties": { 13972 "package_file": { 13973 "description": "The primary file for the package.", 13974 "example": "x123456789a", 13975 "type": "string" 13976 }, 13977 "republish": { 13978 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 13979 "type": "boolean" 13980 } 13981 }, 13982 "required": [ 13983 "package_file" 13984 ], 13985 "title": "PackagesValidate-uploadHelm", 13986 "type": "object" 13987 } 13988 } 13989 ], 13990 "responses": { 13991 "204": { 13992 "description": "Validation was successful, parameters are OK" 13993 }, 13994 "400": { 13995 "description": "Request could not be processed (see detail)", 13996 "schema": { 13997 "properties": { 13998 "detail": { 13999 "description": "An extended message for the response.", 14000 "type": "string" 14001 } 14002 }, 14003 "required": [ 14004 "detail" 14005 ], 14006 "title": "Status", 14007 "type": "object" 14008 } 14009 }, 14010 "404": { 14011 "description": "Namespace (owner) or repository not found", 14012 "schema": { 14013 "properties": { 14014 "detail": { 14015 "description": "An extended message for the response.", 14016 "type": "string" 14017 } 14018 }, 14019 "required": [ 14020 "detail" 14021 ], 14022 "title": "Status", 14023 "type": "object" 14024 } 14025 }, 14026 "422": { 14027 "description": "Missing or invalid parameters (see detail)", 14028 "schema": { 14029 "properties": { 14030 "detail": { 14031 "description": "An extended message for the response.", 14032 "type": "string" 14033 } 14034 }, 14035 "required": [ 14036 "detail" 14037 ], 14038 "title": "Status", 14039 "type": "object" 14040 } 14041 } 14042 }, 14043 "security": [ 14044 { 14045 "token": [] 14046 }, 14047 { 14048 "apikey": [] 14049 }, 14050 { 14051 "csrf_token": [] 14052 } 14053 ], 14054 "summary": "Validate parameters for create Helm package", 14055 "tags": [ 14056 "packages" 14057 ] 14058 } 14059 }, 14060 "/packages/{owner}/{repo}/validate-upload/luarocks/": { 14061 "post": { 14062 "consumes": [ 14063 "application/json" 14064 ], 14065 "description": "Validate parameters for create LuaRocks package", 14066 "operationId": "packages_validate-upload_luarocks", 14067 "parameters": [ 14068 { 14069 "description": "", 14070 "in": "path", 14071 "name": "owner", 14072 "required": true, 14073 "type": "string" 14074 }, 14075 { 14076 "description": "", 14077 "in": "path", 14078 "name": "repo", 14079 "required": true, 14080 "type": "string" 14081 }, 14082 { 14083 "in": "body", 14084 "name": "data", 14085 "schema": { 14086 "properties": { 14087 "package_file": { 14088 "description": "The primary file for the package.", 14089 "example": "x123456789a", 14090 "type": "string" 14091 }, 14092 "republish": { 14093 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14094 "type": "boolean" 14095 } 14096 }, 14097 "required": [ 14098 "package_file" 14099 ], 14100 "title": "PackagesValidate-uploadLuarocks", 14101 "type": "object" 14102 } 14103 } 14104 ], 14105 "responses": { 14106 "204": { 14107 "description": "Validation was successful, parameters are OK" 14108 }, 14109 "400": { 14110 "description": "Request could not be processed (see detail)", 14111 "schema": { 14112 "properties": { 14113 "detail": { 14114 "description": "An extended message for the response.", 14115 "type": "string" 14116 } 14117 }, 14118 "required": [ 14119 "detail" 14120 ], 14121 "title": "Status", 14122 "type": "object" 14123 } 14124 }, 14125 "404": { 14126 "description": "Namespace (owner) or repository not found", 14127 "schema": { 14128 "properties": { 14129 "detail": { 14130 "description": "An extended message for the response.", 14131 "type": "string" 14132 } 14133 }, 14134 "required": [ 14135 "detail" 14136 ], 14137 "title": "Status", 14138 "type": "object" 14139 } 14140 }, 14141 "422": { 14142 "description": "Missing or invalid parameters (see detail)", 14143 "schema": { 14144 "properties": { 14145 "detail": { 14146 "description": "An extended message for the response.", 14147 "type": "string" 14148 } 14149 }, 14150 "required": [ 14151 "detail" 14152 ], 14153 "title": "Status", 14154 "type": "object" 14155 } 14156 } 14157 }, 14158 "security": [ 14159 { 14160 "token": [] 14161 }, 14162 { 14163 "apikey": [] 14164 }, 14165 { 14166 "csrf_token": [] 14167 } 14168 ], 14169 "summary": "Validate parameters for create LuaRocks package", 14170 "tags": [ 14171 "packages" 14172 ] 14173 } 14174 }, 14175 "/packages/{owner}/{repo}/validate-upload/maven/": { 14176 "post": { 14177 "consumes": [ 14178 "application/json" 14179 ], 14180 "description": "Validate parameters for create Maven package", 14181 "operationId": "packages_validate-upload_maven", 14182 "parameters": [ 14183 { 14184 "description": "", 14185 "in": "path", 14186 "name": "owner", 14187 "required": true, 14188 "type": "string" 14189 }, 14190 { 14191 "description": "", 14192 "in": "path", 14193 "name": "repo", 14194 "required": true, 14195 "type": "string" 14196 }, 14197 { 14198 "in": "body", 14199 "name": "data", 14200 "schema": { 14201 "properties": { 14202 "artifact_id": { 14203 "description": "The ID of the artifact.", 14204 "example": "cloudsmith-example", 14205 "type": "string" 14206 }, 14207 "group_id": { 14208 "description": "Artifact's group ID.", 14209 "example": "io.cloudsmith.example", 14210 "type": "string" 14211 }, 14212 "javadoc_file": { 14213 "description": "Adds bundled Java documentation to the Maven package", 14214 "example": "y1234456789c", 14215 "type": "string" 14216 }, 14217 "package_file": { 14218 "description": "The primary file for the package.", 14219 "example": "y1234456789a", 14220 "type": "string" 14221 }, 14222 "packaging": { 14223 "description": "Artifact's Maven packaging type.", 14224 "type": "string" 14225 }, 14226 "pom_file": { 14227 "description": "The POM file is an XML file containing the Maven coordinates.", 14228 "example": "y1234456789b", 14229 "type": "string" 14230 }, 14231 "republish": { 14232 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14233 "type": "boolean" 14234 }, 14235 "sources_file": { 14236 "description": "Adds bundled Java source code to the Maven package.", 14237 "example": "y1234456789d", 14238 "type": "string" 14239 }, 14240 "tests_file": { 14241 "description": "Adds bundled Java tests to the Maven package.", 14242 "example": "y1234456789e", 14243 "type": "string" 14244 }, 14245 "version": { 14246 "description": "The raw version for this package.", 14247 "type": "string" 14248 } 14249 }, 14250 "required": [ 14251 "package_file" 14252 ], 14253 "title": "PackagesValidate-uploadMaven", 14254 "type": "object" 14255 } 14256 } 14257 ], 14258 "responses": { 14259 "204": { 14260 "description": "Validation was successful, parameters are OK" 14261 }, 14262 "400": { 14263 "description": "Request could not be processed (see detail)", 14264 "schema": { 14265 "properties": { 14266 "detail": { 14267 "description": "An extended message for the response.", 14268 "type": "string" 14269 } 14270 }, 14271 "required": [ 14272 "detail" 14273 ], 14274 "title": "Status", 14275 "type": "object" 14276 } 14277 }, 14278 "404": { 14279 "description": "Namespace (owner) or repository not found", 14280 "schema": { 14281 "properties": { 14282 "detail": { 14283 "description": "An extended message for the response.", 14284 "type": "string" 14285 } 14286 }, 14287 "required": [ 14288 "detail" 14289 ], 14290 "title": "Status", 14291 "type": "object" 14292 } 14293 }, 14294 "422": { 14295 "description": "Missing or invalid parameters (see detail)", 14296 "schema": { 14297 "properties": { 14298 "detail": { 14299 "description": "An extended message for the response.", 14300 "type": "string" 14301 } 14302 }, 14303 "required": [ 14304 "detail" 14305 ], 14306 "title": "Status", 14307 "type": "object" 14308 } 14309 } 14310 }, 14311 "security": [ 14312 { 14313 "token": [] 14314 }, 14315 { 14316 "apikey": [] 14317 }, 14318 { 14319 "csrf_token": [] 14320 } 14321 ], 14322 "summary": "Validate parameters for create Maven package", 14323 "tags": [ 14324 "packages" 14325 ] 14326 } 14327 }, 14328 "/packages/{owner}/{repo}/validate-upload/npm/": { 14329 "post": { 14330 "consumes": [ 14331 "application/json" 14332 ], 14333 "description": "Validate parameters for create npm package", 14334 "operationId": "packages_validate-upload_npm", 14335 "parameters": [ 14336 { 14337 "description": "", 14338 "in": "path", 14339 "name": "owner", 14340 "required": true, 14341 "type": "string" 14342 }, 14343 { 14344 "description": "", 14345 "in": "path", 14346 "name": "repo", 14347 "required": true, 14348 "type": "string" 14349 }, 14350 { 14351 "in": "body", 14352 "name": "data", 14353 "schema": { 14354 "properties": { 14355 "npm_dist_tag": { 14356 "description": "The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag.", 14357 "example": "latest", 14358 "type": "string" 14359 }, 14360 "package_file": { 14361 "description": "The primary file for the package.", 14362 "example": "y123456789", 14363 "type": "string" 14364 }, 14365 "republish": { 14366 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14367 "type": "boolean" 14368 } 14369 }, 14370 "required": [ 14371 "package_file" 14372 ], 14373 "title": "PackagesValidate-uploadNpm", 14374 "type": "object" 14375 } 14376 } 14377 ], 14378 "responses": { 14379 "204": { 14380 "description": "Validation was successful, parameters are OK" 14381 }, 14382 "400": { 14383 "description": "Request could not be processed (see detail)", 14384 "schema": { 14385 "properties": { 14386 "detail": { 14387 "description": "An extended message for the response.", 14388 "type": "string" 14389 } 14390 }, 14391 "required": [ 14392 "detail" 14393 ], 14394 "title": "Status", 14395 "type": "object" 14396 } 14397 }, 14398 "404": { 14399 "description": "Namespace (owner) or repository not found", 14400 "schema": { 14401 "properties": { 14402 "detail": { 14403 "description": "An extended message for the response.", 14404 "type": "string" 14405 } 14406 }, 14407 "required": [ 14408 "detail" 14409 ], 14410 "title": "Status", 14411 "type": "object" 14412 } 14413 }, 14414 "422": { 14415 "description": "Missing or invalid parameters (see detail)", 14416 "schema": { 14417 "properties": { 14418 "detail": { 14419 "description": "An extended message for the response.", 14420 "type": "string" 14421 } 14422 }, 14423 "required": [ 14424 "detail" 14425 ], 14426 "title": "Status", 14427 "type": "object" 14428 } 14429 } 14430 }, 14431 "security": [ 14432 { 14433 "token": [] 14434 }, 14435 { 14436 "apikey": [] 14437 }, 14438 { 14439 "csrf_token": [] 14440 } 14441 ], 14442 "summary": "Validate parameters for create npm package", 14443 "tags": [ 14444 "packages" 14445 ] 14446 } 14447 }, 14448 "/packages/{owner}/{repo}/validate-upload/nuget/": { 14449 "post": { 14450 "consumes": [ 14451 "application/json" 14452 ], 14453 "description": "Validate parameters for create NuGet package", 14454 "operationId": "packages_validate-upload_nuget", 14455 "parameters": [ 14456 { 14457 "description": "", 14458 "in": "path", 14459 "name": "owner", 14460 "required": true, 14461 "type": "string" 14462 }, 14463 { 14464 "description": "", 14465 "in": "path", 14466 "name": "repo", 14467 "required": true, 14468 "type": "string" 14469 }, 14470 { 14471 "in": "body", 14472 "name": "data", 14473 "schema": { 14474 "properties": { 14475 "package_file": { 14476 "description": "The primary file for the package.", 14477 "example": "y1234456789a", 14478 "type": "string" 14479 }, 14480 "republish": { 14481 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14482 "type": "boolean" 14483 }, 14484 "symbols_file": { 14485 "description": "Attaches a symbols file to the package.", 14486 "example": "y1234456789b", 14487 "type": "string" 14488 } 14489 }, 14490 "required": [ 14491 "package_file" 14492 ], 14493 "title": "PackagesValidate-uploadNuget", 14494 "type": "object" 14495 } 14496 } 14497 ], 14498 "responses": { 14499 "204": { 14500 "description": "Validation was successful, parameters are OK" 14501 }, 14502 "400": { 14503 "description": "Request could not be processed (see detail)", 14504 "schema": { 14505 "properties": { 14506 "detail": { 14507 "description": "An extended message for the response.", 14508 "type": "string" 14509 } 14510 }, 14511 "required": [ 14512 "detail" 14513 ], 14514 "title": "Status", 14515 "type": "object" 14516 } 14517 }, 14518 "404": { 14519 "description": "Namespace (owner) or repository not found", 14520 "schema": { 14521 "properties": { 14522 "detail": { 14523 "description": "An extended message for the response.", 14524 "type": "string" 14525 } 14526 }, 14527 "required": [ 14528 "detail" 14529 ], 14530 "title": "Status", 14531 "type": "object" 14532 } 14533 }, 14534 "422": { 14535 "description": "Missing or invalid parameters (see detail)", 14536 "schema": { 14537 "properties": { 14538 "detail": { 14539 "description": "An extended message for the response.", 14540 "type": "string" 14541 } 14542 }, 14543 "required": [ 14544 "detail" 14545 ], 14546 "title": "Status", 14547 "type": "object" 14548 } 14549 } 14550 }, 14551 "security": [ 14552 { 14553 "token": [] 14554 }, 14555 { 14556 "apikey": [] 14557 }, 14558 { 14559 "csrf_token": [] 14560 } 14561 ], 14562 "summary": "Validate parameters for create NuGet package", 14563 "tags": [ 14564 "packages" 14565 ] 14566 } 14567 }, 14568 "/packages/{owner}/{repo}/validate-upload/python/": { 14569 "post": { 14570 "consumes": [ 14571 "application/json" 14572 ], 14573 "description": "Validate parameters for create Python package", 14574 "operationId": "packages_validate-upload_python", 14575 "parameters": [ 14576 { 14577 "description": "", 14578 "in": "path", 14579 "name": "owner", 14580 "required": true, 14581 "type": "string" 14582 }, 14583 { 14584 "description": "", 14585 "in": "path", 14586 "name": "repo", 14587 "required": true, 14588 "type": "string" 14589 }, 14590 { 14591 "in": "body", 14592 "name": "data", 14593 "schema": { 14594 "properties": { 14595 "package_file": { 14596 "description": "The primary file for the package.", 14597 "example": "y123456789", 14598 "type": "string" 14599 }, 14600 "republish": { 14601 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14602 "type": "boolean" 14603 } 14604 }, 14605 "required": [ 14606 "package_file" 14607 ], 14608 "title": "PackagesValidate-uploadPython", 14609 "type": "object" 14610 } 14611 } 14612 ], 14613 "responses": { 14614 "204": { 14615 "description": "Validation was successful, parameters are OK" 14616 }, 14617 "400": { 14618 "description": "Request could not be processed (see detail)", 14619 "schema": { 14620 "properties": { 14621 "detail": { 14622 "description": "An extended message for the response.", 14623 "type": "string" 14624 } 14625 }, 14626 "required": [ 14627 "detail" 14628 ], 14629 "title": "Status", 14630 "type": "object" 14631 } 14632 }, 14633 "404": { 14634 "description": "Namespace (owner) or repository not found", 14635 "schema": { 14636 "properties": { 14637 "detail": { 14638 "description": "An extended message for the response.", 14639 "type": "string" 14640 } 14641 }, 14642 "required": [ 14643 "detail" 14644 ], 14645 "title": "Status", 14646 "type": "object" 14647 } 14648 }, 14649 "422": { 14650 "description": "Missing or invalid parameters (see detail)", 14651 "schema": { 14652 "properties": { 14653 "detail": { 14654 "description": "An extended message for the response.", 14655 "type": "string" 14656 } 14657 }, 14658 "required": [ 14659 "detail" 14660 ], 14661 "title": "Status", 14662 "type": "object" 14663 } 14664 } 14665 }, 14666 "security": [ 14667 { 14668 "token": [] 14669 }, 14670 { 14671 "apikey": [] 14672 }, 14673 { 14674 "csrf_token": [] 14675 } 14676 ], 14677 "summary": "Validate parameters for create Python package", 14678 "tags": [ 14679 "packages" 14680 ] 14681 } 14682 }, 14683 "/packages/{owner}/{repo}/validate-upload/raw/": { 14684 "post": { 14685 "consumes": [ 14686 "application/json" 14687 ], 14688 "description": "Validate parameters for create Raw package", 14689 "operationId": "packages_validate-upload_raw", 14690 "parameters": [ 14691 { 14692 "description": "", 14693 "in": "path", 14694 "name": "owner", 14695 "required": true, 14696 "type": "string" 14697 }, 14698 { 14699 "description": "", 14700 "in": "path", 14701 "name": "repo", 14702 "required": true, 14703 "type": "string" 14704 }, 14705 { 14706 "in": "body", 14707 "name": "data", 14708 "schema": { 14709 "properties": { 14710 "content_type": { 14711 "description": "A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here.", 14712 "type": "string" 14713 }, 14714 "description": { 14715 "description": "A textual description of this package.", 14716 "example": "Everything about packaging files.", 14717 "type": "string" 14718 }, 14719 "name": { 14720 "description": "The name of this package.", 14721 "example": "my-package", 14722 "type": "string" 14723 }, 14724 "package_file": { 14725 "description": "The primary file for the package.", 14726 "example": "y123456789", 14727 "type": "string" 14728 }, 14729 "republish": { 14730 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14731 "type": "boolean" 14732 }, 14733 "summary": { 14734 "description": "A one-liner synopsis of this package.", 14735 "example": "My Package File", 14736 "type": "string" 14737 }, 14738 "version": { 14739 "description": "The raw version for this package.", 14740 "example": "1.0", 14741 "type": "string" 14742 } 14743 }, 14744 "required": [ 14745 "package_file" 14746 ], 14747 "title": "PackagesValidate-uploadRaw", 14748 "type": "object" 14749 } 14750 } 14751 ], 14752 "responses": { 14753 "204": { 14754 "description": "Validation was successful, parameters are OK" 14755 }, 14756 "400": { 14757 "description": "Request could not be processed (see detail)", 14758 "schema": { 14759 "properties": { 14760 "detail": { 14761 "description": "An extended message for the response.", 14762 "type": "string" 14763 } 14764 }, 14765 "required": [ 14766 "detail" 14767 ], 14768 "title": "Status", 14769 "type": "object" 14770 } 14771 }, 14772 "404": { 14773 "description": "Namespace (owner) or repository not found", 14774 "schema": { 14775 "properties": { 14776 "detail": { 14777 "description": "An extended message for the response.", 14778 "type": "string" 14779 } 14780 }, 14781 "required": [ 14782 "detail" 14783 ], 14784 "title": "Status", 14785 "type": "object" 14786 } 14787 }, 14788 "422": { 14789 "description": "Missing or invalid parameters (see detail)", 14790 "schema": { 14791 "properties": { 14792 "detail": { 14793 "description": "An extended message for the response.", 14794 "type": "string" 14795 } 14796 }, 14797 "required": [ 14798 "detail" 14799 ], 14800 "title": "Status", 14801 "type": "object" 14802 } 14803 } 14804 }, 14805 "security": [ 14806 { 14807 "token": [] 14808 }, 14809 { 14810 "apikey": [] 14811 }, 14812 { 14813 "csrf_token": [] 14814 } 14815 ], 14816 "summary": "Validate parameters for create Raw package", 14817 "tags": [ 14818 "packages" 14819 ] 14820 } 14821 }, 14822 "/packages/{owner}/{repo}/validate-upload/rpm/": { 14823 "post": { 14824 "consumes": [ 14825 "application/json" 14826 ], 14827 "description": "Validate parameters for create RedHat package", 14828 "operationId": "packages_validate-upload_rpm", 14829 "parameters": [ 14830 { 14831 "description": "", 14832 "in": "path", 14833 "name": "owner", 14834 "required": true, 14835 "type": "string" 14836 }, 14837 { 14838 "description": "", 14839 "in": "path", 14840 "name": "repo", 14841 "required": true, 14842 "type": "string" 14843 }, 14844 { 14845 "in": "body", 14846 "name": "data", 14847 "schema": { 14848 "properties": { 14849 "distribution": { 14850 "description": "The distribution to store the package for.", 14851 "example": "el/7", 14852 "type": "string" 14853 }, 14854 "package_file": { 14855 "description": "The primary file for the package.", 14856 "example": "y123456789", 14857 "type": "string" 14858 }, 14859 "republish": { 14860 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14861 "type": "boolean" 14862 } 14863 }, 14864 "required": [ 14865 "distribution", 14866 "package_file" 14867 ], 14868 "title": "PackagesValidate-uploadRpm", 14869 "type": "object" 14870 } 14871 } 14872 ], 14873 "responses": { 14874 "204": { 14875 "description": "Validation was successful, parameters are OK" 14876 }, 14877 "400": { 14878 "description": "Request could not be processed (see detail)", 14879 "schema": { 14880 "properties": { 14881 "detail": { 14882 "description": "An extended message for the response.", 14883 "type": "string" 14884 } 14885 }, 14886 "required": [ 14887 "detail" 14888 ], 14889 "title": "Status", 14890 "type": "object" 14891 } 14892 }, 14893 "404": { 14894 "description": "Namespace (owner) or repository not found", 14895 "schema": { 14896 "properties": { 14897 "detail": { 14898 "description": "An extended message for the response.", 14899 "type": "string" 14900 } 14901 }, 14902 "required": [ 14903 "detail" 14904 ], 14905 "title": "Status", 14906 "type": "object" 14907 } 14908 }, 14909 "422": { 14910 "description": "Missing or invalid parameters (see detail)", 14911 "schema": { 14912 "properties": { 14913 "detail": { 14914 "description": "An extended message for the response.", 14915 "type": "string" 14916 } 14917 }, 14918 "required": [ 14919 "detail" 14920 ], 14921 "title": "Status", 14922 "type": "object" 14923 } 14924 } 14925 }, 14926 "security": [ 14927 { 14928 "token": [] 14929 }, 14930 { 14931 "apikey": [] 14932 }, 14933 { 14934 "csrf_token": [] 14935 } 14936 ], 14937 "summary": "Validate parameters for create RedHat package", 14938 "tags": [ 14939 "packages" 14940 ] 14941 } 14942 }, 14943 "/packages/{owner}/{repo}/validate-upload/ruby/": { 14944 "post": { 14945 "consumes": [ 14946 "application/json" 14947 ], 14948 "description": "Validate parameters for create Ruby package", 14949 "operationId": "packages_validate-upload_ruby", 14950 "parameters": [ 14951 { 14952 "description": "", 14953 "in": "path", 14954 "name": "owner", 14955 "required": true, 14956 "type": "string" 14957 }, 14958 { 14959 "description": "", 14960 "in": "path", 14961 "name": "repo", 14962 "required": true, 14963 "type": "string" 14964 }, 14965 { 14966 "in": "body", 14967 "name": "data", 14968 "schema": { 14969 "properties": { 14970 "package_file": { 14971 "description": "The primary file for the package.", 14972 "example": "y123456789", 14973 "type": "string" 14974 }, 14975 "republish": { 14976 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 14977 "type": "boolean" 14978 } 14979 }, 14980 "required": [ 14981 "package_file" 14982 ], 14983 "title": "PackagesValidate-uploadRuby", 14984 "type": "object" 14985 } 14986 } 14987 ], 14988 "responses": { 14989 "204": { 14990 "description": "Validation was successful, parameters are OK" 14991 }, 14992 "400": { 14993 "description": "Request could not be processed (see detail)", 14994 "schema": { 14995 "properties": { 14996 "detail": { 14997 "description": "An extended message for the response.", 14998 "type": "string" 14999 } 15000 }, 15001 "required": [ 15002 "detail" 15003 ], 15004 "title": "Status", 15005 "type": "object" 15006 } 15007 }, 15008 "404": { 15009 "description": "Namespace (owner) or repository not found", 15010 "schema": { 15011 "properties": { 15012 "detail": { 15013 "description": "An extended message for the response.", 15014 "type": "string" 15015 } 15016 }, 15017 "required": [ 15018 "detail" 15019 ], 15020 "title": "Status", 15021 "type": "object" 15022 } 15023 }, 15024 "422": { 15025 "description": "Missing or invalid parameters (see detail)", 15026 "schema": { 15027 "properties": { 15028 "detail": { 15029 "description": "An extended message for the response.", 15030 "type": "string" 15031 } 15032 }, 15033 "required": [ 15034 "detail" 15035 ], 15036 "title": "Status", 15037 "type": "object" 15038 } 15039 } 15040 }, 15041 "security": [ 15042 { 15043 "token": [] 15044 }, 15045 { 15046 "apikey": [] 15047 }, 15048 { 15049 "csrf_token": [] 15050 } 15051 ], 15052 "summary": "Validate parameters for create Ruby package", 15053 "tags": [ 15054 "packages" 15055 ] 15056 } 15057 }, 15058 "/packages/{owner}/{repo}/validate-upload/terraform/": { 15059 "post": { 15060 "consumes": [ 15061 "application/json" 15062 ], 15063 "description": "Validate parameters for create Terraform package", 15064 "operationId": "packages_validate-upload_terraform", 15065 "parameters": [ 15066 { 15067 "description": "", 15068 "in": "path", 15069 "name": "owner", 15070 "required": true, 15071 "type": "string" 15072 }, 15073 { 15074 "description": "", 15075 "in": "path", 15076 "name": "repo", 15077 "required": true, 15078 "type": "string" 15079 }, 15080 { 15081 "in": "body", 15082 "name": "data", 15083 "schema": { 15084 "properties": { 15085 "package_file": { 15086 "description": "The primary file for the package.", 15087 "example": "z123456789a", 15088 "type": "string" 15089 }, 15090 "republish": { 15091 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 15092 "type": "boolean" 15093 } 15094 }, 15095 "required": [ 15096 "package_file" 15097 ], 15098 "title": "PackagesValidate-uploadTerraform", 15099 "type": "object" 15100 } 15101 } 15102 ], 15103 "responses": { 15104 "204": { 15105 "description": "Validation was successful, parameters are OK" 15106 }, 15107 "400": { 15108 "description": "Request could not be processed (see detail)", 15109 "schema": { 15110 "properties": { 15111 "detail": { 15112 "description": "An extended message for the response.", 15113 "type": "string" 15114 } 15115 }, 15116 "required": [ 15117 "detail" 15118 ], 15119 "title": "Status", 15120 "type": "object" 15121 } 15122 }, 15123 "404": { 15124 "description": "Namespace (owner) or repository not found", 15125 "schema": { 15126 "properties": { 15127 "detail": { 15128 "description": "An extended message for the response.", 15129 "type": "string" 15130 } 15131 }, 15132 "required": [ 15133 "detail" 15134 ], 15135 "title": "Status", 15136 "type": "object" 15137 } 15138 }, 15139 "422": { 15140 "description": "Missing or invalid parameters (see detail)", 15141 "schema": { 15142 "properties": { 15143 "detail": { 15144 "description": "An extended message for the response.", 15145 "type": "string" 15146 } 15147 }, 15148 "required": [ 15149 "detail" 15150 ], 15151 "title": "Status", 15152 "type": "object" 15153 } 15154 } 15155 }, 15156 "security": [ 15157 { 15158 "token": [] 15159 }, 15160 { 15161 "apikey": [] 15162 }, 15163 { 15164 "csrf_token": [] 15165 } 15166 ], 15167 "summary": "Validate parameters for create Terraform package", 15168 "tags": [ 15169 "packages" 15170 ] 15171 } 15172 }, 15173 "/packages/{owner}/{repo}/validate-upload/vagrant/": { 15174 "post": { 15175 "consumes": [ 15176 "application/json" 15177 ], 15178 "description": "Validate parameters for create Vagrant package", 15179 "operationId": "packages_validate-upload_vagrant", 15180 "parameters": [ 15181 { 15182 "description": "", 15183 "in": "path", 15184 "name": "owner", 15185 "required": true, 15186 "type": "string" 15187 }, 15188 { 15189 "description": "", 15190 "in": "path", 15191 "name": "repo", 15192 "required": true, 15193 "type": "string" 15194 }, 15195 { 15196 "in": "body", 15197 "name": "data", 15198 "schema": { 15199 "properties": { 15200 "name": { 15201 "description": "The name of this package.", 15202 "example": "tcl", 15203 "type": "string" 15204 }, 15205 "package_file": { 15206 "description": "The primary file for the package.", 15207 "example": "y123456789x", 15208 "type": "string" 15209 }, 15210 "provider": { 15211 "description": "The virtual machine provider for the box.", 15212 "example": "virtualbox", 15213 "type": "string" 15214 }, 15215 "republish": { 15216 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 15217 "type": "boolean" 15218 }, 15219 "version": { 15220 "description": "The raw version for this package.", 15221 "example": "1.0", 15222 "type": "string" 15223 } 15224 }, 15225 "required": [ 15226 "name", 15227 "package_file", 15228 "provider", 15229 "version" 15230 ], 15231 "title": "PackagesValidate-uploadVagrant", 15232 "type": "object" 15233 } 15234 } 15235 ], 15236 "responses": { 15237 "204": { 15238 "description": "Validation was successful, parameters are OK" 15239 }, 15240 "400": { 15241 "description": "Request could not be processed (see detail)", 15242 "schema": { 15243 "properties": { 15244 "detail": { 15245 "description": "An extended message for the response.", 15246 "type": "string" 15247 } 15248 }, 15249 "required": [ 15250 "detail" 15251 ], 15252 "title": "Status", 15253 "type": "object" 15254 } 15255 }, 15256 "404": { 15257 "description": "Namespace (owner) or repository not found", 15258 "schema": { 15259 "properties": { 15260 "detail": { 15261 "description": "An extended message for the response.", 15262 "type": "string" 15263 } 15264 }, 15265 "required": [ 15266 "detail" 15267 ], 15268 "title": "Status", 15269 "type": "object" 15270 } 15271 }, 15272 "422": { 15273 "description": "Missing or invalid parameters (see detail)", 15274 "schema": { 15275 "properties": { 15276 "detail": { 15277 "description": "An extended message for the response.", 15278 "type": "string" 15279 } 15280 }, 15281 "required": [ 15282 "detail" 15283 ], 15284 "title": "Status", 15285 "type": "object" 15286 } 15287 } 15288 }, 15289 "security": [ 15290 { 15291 "token": [] 15292 }, 15293 { 15294 "apikey": [] 15295 }, 15296 { 15297 "csrf_token": [] 15298 } 15299 ], 15300 "summary": "Validate parameters for create Vagrant package", 15301 "tags": [ 15302 "packages" 15303 ] 15304 } 15305 }, 15306 "/packages/{owner}/{repo}/{identifier}/": { 15307 "delete": { 15308 "description": "Delete a specific package in a repository.", 15309 "operationId": "packages_delete", 15310 "parameters": [ 15311 { 15312 "description": "", 15313 "in": "path", 15314 "name": "owner", 15315 "required": true, 15316 "type": "string" 15317 }, 15318 { 15319 "description": "", 15320 "in": "path", 15321 "name": "repo", 15322 "required": true, 15323 "type": "string" 15324 }, 15325 { 15326 "description": "", 15327 "in": "path", 15328 "name": "identifier", 15329 "required": true, 15330 "type": "string" 15331 } 15332 ], 15333 "responses": { 15334 "204": { 15335 "description": "Deleted the specified package successfully" 15336 }, 15337 "400": { 15338 "description": "The package cannot be deleted", 15339 "schema": { 15340 "properties": { 15341 "detail": { 15342 "description": "An extended message for the response.", 15343 "type": "string" 15344 } 15345 }, 15346 "required": [ 15347 "detail" 15348 ], 15349 "title": "Status", 15350 "type": "object" 15351 } 15352 }, 15353 "422": { 15354 "description": "Missing or invalid parameters (see detail)", 15355 "schema": { 15356 "properties": { 15357 "detail": { 15358 "description": "An extended message for the response.", 15359 "type": "string" 15360 } 15361 }, 15362 "required": [ 15363 "detail" 15364 ], 15365 "title": "Status", 15366 "type": "object" 15367 } 15368 } 15369 }, 15370 "security": [ 15371 { 15372 "token": [] 15373 }, 15374 { 15375 "apikey": [] 15376 }, 15377 { 15378 "csrf_token": [] 15379 } 15380 ], 15381 "summary": "Delete a specific package in a repository.", 15382 "tags": [ 15383 "packages" 15384 ] 15385 }, 15386 "get": { 15387 "description": "Get a specific package in a repository.", 15388 "operationId": "packages_read", 15389 "parameters": [ 15390 { 15391 "description": "", 15392 "in": "path", 15393 "name": "owner", 15394 "required": true, 15395 "type": "string" 15396 }, 15397 { 15398 "description": "", 15399 "in": "path", 15400 "name": "repo", 15401 "required": true, 15402 "type": "string" 15403 }, 15404 { 15405 "description": "", 15406 "in": "path", 15407 "name": "identifier", 15408 "required": true, 15409 "type": "string" 15410 } 15411 ], 15412 "responses": { 15413 "200": { 15414 "description": "Retrieved the specified package successfully", 15415 "schema": { 15416 "properties": { 15417 "architectures": { 15418 "description": "", 15419 "items": { 15420 "properties": { 15421 "description": { 15422 "description": "", 15423 "type": "string" 15424 }, 15425 "name": { 15426 "description": "", 15427 "type": "string" 15428 } 15429 }, 15430 "type": "object" 15431 }, 15432 "title": "ArchitecturesList", 15433 "type": "array" 15434 }, 15435 "cdn_url": { 15436 "description": "", 15437 "type": "string" 15438 }, 15439 "checksum_md5": { 15440 "description": "", 15441 "type": "string" 15442 }, 15443 "checksum_sha1": { 15444 "description": "", 15445 "type": "string" 15446 }, 15447 "checksum_sha256": { 15448 "description": "", 15449 "type": "string" 15450 }, 15451 "checksum_sha512": { 15452 "description": "", 15453 "type": "string" 15454 }, 15455 "description": { 15456 "description": "A textual description of this package.", 15457 "type": "string" 15458 }, 15459 "distro": { 15460 "description": "", 15461 "type": "object" 15462 }, 15463 "distro_version": { 15464 "description": "", 15465 "type": "object" 15466 }, 15467 "downloads": { 15468 "description": "", 15469 "type": "integer" 15470 }, 15471 "epoch": { 15472 "description": "The epoch of the package version (if any).", 15473 "type": "integer" 15474 }, 15475 "extension": { 15476 "description": "", 15477 "type": "string" 15478 }, 15479 "filename": { 15480 "description": "", 15481 "type": "string" 15482 }, 15483 "files": { 15484 "description": "", 15485 "items": { 15486 "properties": { 15487 "cdn_url": { 15488 "description": "", 15489 "type": "string" 15490 }, 15491 "checksum_md5": { 15492 "description": "", 15493 "type": "string" 15494 }, 15495 "checksum_sha1": { 15496 "description": "", 15497 "type": "string" 15498 }, 15499 "checksum_sha256": { 15500 "description": "", 15501 "type": "string" 15502 }, 15503 "checksum_sha512": { 15504 "description": "", 15505 "type": "string" 15506 }, 15507 "downloads": { 15508 "description": "", 15509 "type": "integer" 15510 }, 15511 "filename": { 15512 "description": "", 15513 "type": "string" 15514 }, 15515 "is_downloadable": { 15516 "description": "", 15517 "type": "boolean" 15518 }, 15519 "is_primary": { 15520 "description": "", 15521 "type": "boolean" 15522 }, 15523 "is_synchronised": { 15524 "description": "", 15525 "type": "boolean" 15526 }, 15527 "size": { 15528 "description": "The calculated size of the file.", 15529 "type": "integer" 15530 }, 15531 "slug_perm": { 15532 "description": "", 15533 "type": "string" 15534 }, 15535 "tag": { 15536 "description": "Freeform descriptor that describes what the file is.", 15537 "type": "string" 15538 } 15539 }, 15540 "type": "object" 15541 }, 15542 "title": "FilesList", 15543 "type": "array" 15544 }, 15545 "format": { 15546 "description": "", 15547 "type": "string" 15548 }, 15549 "format_url": { 15550 "description": "", 15551 "type": "string" 15552 }, 15553 "identifier_perm": { 15554 "description": "Unique and permanent identifier for the package.", 15555 "type": "string" 15556 }, 15557 "indexed": { 15558 "description": "", 15559 "type": "boolean" 15560 }, 15561 "is_sync_awaiting": { 15562 "description": "", 15563 "type": "boolean" 15564 }, 15565 "is_sync_completed": { 15566 "description": "", 15567 "type": "boolean" 15568 }, 15569 "is_sync_failed": { 15570 "description": "", 15571 "type": "boolean" 15572 }, 15573 "is_sync_in_flight": { 15574 "description": "", 15575 "type": "boolean" 15576 }, 15577 "is_sync_in_progress": { 15578 "description": "", 15579 "type": "boolean" 15580 }, 15581 "license": { 15582 "description": "The license of this package.", 15583 "type": "string" 15584 }, 15585 "name": { 15586 "description": "The name of this package.", 15587 "type": "string" 15588 }, 15589 "namespace": { 15590 "description": "", 15591 "type": "string" 15592 }, 15593 "namespace_url": { 15594 "description": "", 15595 "type": "string" 15596 }, 15597 "num_files": { 15598 "description": "", 15599 "type": "integer" 15600 }, 15601 "package_type": { 15602 "description": "The type of package contents.", 15603 "type": "string" 15604 }, 15605 "release": { 15606 "description": "The release of the package version (if any).", 15607 "type": "string" 15608 }, 15609 "repository": { 15610 "description": "", 15611 "type": "string" 15612 }, 15613 "repository_url": { 15614 "description": "", 15615 "type": "string" 15616 }, 15617 "self_html_url": { 15618 "description": "", 15619 "type": "string" 15620 }, 15621 "self_url": { 15622 "description": "", 15623 "type": "string" 15624 }, 15625 "size": { 15626 "description": "The calculated size of the package.", 15627 "type": "integer" 15628 }, 15629 "slug": { 15630 "description": "", 15631 "type": "string" 15632 }, 15633 "slug_perm": { 15634 "description": "", 15635 "type": "string" 15636 }, 15637 "stage": { 15638 "description": "The synchronisation (in progress) stage of the package.", 15639 "type": "string" 15640 }, 15641 "stage_str": { 15642 "description": "", 15643 "type": "string" 15644 }, 15645 "stage_updated_at": { 15646 "description": "The datetime the package stage was updated at.", 15647 "type": "string" 15648 }, 15649 "status": { 15650 "description": "The synchronisation status of the package.", 15651 "type": "string" 15652 }, 15653 "status_reason": { 15654 "description": "A textual description for the synchronous status reason (if any", 15655 "type": "string" 15656 }, 15657 "status_str": { 15658 "description": "", 15659 "type": "string" 15660 }, 15661 "status_updated_at": { 15662 "description": "The datetime the package status was updated at.", 15663 "type": "string" 15664 }, 15665 "status_url": { 15666 "description": "", 15667 "type": "string" 15668 }, 15669 "subtype": { 15670 "description": "", 15671 "type": "string" 15672 }, 15673 "summary": { 15674 "description": "A one-liner synopsis of this package.", 15675 "type": "string" 15676 }, 15677 "sync_finished_at": { 15678 "description": "The datetime the package sync was finished at.", 15679 "type": "string" 15680 }, 15681 "sync_progress": { 15682 "description": "Synchronisation progress (from 0-100)", 15683 "type": "integer" 15684 }, 15685 "type_display": { 15686 "description": "", 15687 "type": "string" 15688 }, 15689 "uploaded_at": { 15690 "description": "The date this package was uploaded.", 15691 "type": "string" 15692 }, 15693 "uploader": { 15694 "description": "", 15695 "type": "string" 15696 }, 15697 "uploader_url": { 15698 "description": "", 15699 "type": "string" 15700 }, 15701 "version": { 15702 "description": "The raw version for this package.", 15703 "type": "string" 15704 }, 15705 "version_orig": { 15706 "description": "", 15707 "type": "string" 15708 } 15709 }, 15710 "title": "Package", 15711 "type": "object" 15712 } 15713 }, 15714 "400": { 15715 "description": "Request could not be processed (see detail)", 15716 "schema": { 15717 "properties": { 15718 "detail": { 15719 "description": "An extended message for the response.", 15720 "type": "string" 15721 } 15722 }, 15723 "required": [ 15724 "detail" 15725 ], 15726 "title": "Status", 15727 "type": "object" 15728 } 15729 }, 15730 "422": { 15731 "description": "Missing or invalid parameters (see detail)", 15732 "schema": { 15733 "properties": { 15734 "detail": { 15735 "description": "An extended message for the response.", 15736 "type": "string" 15737 } 15738 }, 15739 "required": [ 15740 "detail" 15741 ], 15742 "title": "Status", 15743 "type": "object" 15744 } 15745 } 15746 }, 15747 "security": [ 15748 { 15749 "token": [] 15750 }, 15751 { 15752 "apikey": [] 15753 }, 15754 { 15755 "csrf_token": [] 15756 } 15757 ], 15758 "summary": "Get a specific package in a repository.", 15759 "tags": [ 15760 "packages" 15761 ] 15762 } 15763 }, 15764 "/packages/{owner}/{repo}/{identifier}/copy/": { 15765 "post": { 15766 "consumes": [ 15767 "application/json" 15768 ], 15769 "description": "Copy a package to another repository.", 15770 "operationId": "packages_copy", 15771 "parameters": [ 15772 { 15773 "description": "", 15774 "in": "path", 15775 "name": "owner", 15776 "required": true, 15777 "type": "string" 15778 }, 15779 { 15780 "description": "", 15781 "in": "path", 15782 "name": "repo", 15783 "required": true, 15784 "type": "string" 15785 }, 15786 { 15787 "description": "", 15788 "in": "path", 15789 "name": "identifier", 15790 "required": true, 15791 "type": "string" 15792 }, 15793 { 15794 "in": "body", 15795 "name": "data", 15796 "schema": { 15797 "properties": { 15798 "destination": { 15799 "description": "None", 15800 "type": "string" 15801 }, 15802 "republish": { 15803 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 15804 "type": "boolean" 15805 } 15806 }, 15807 "required": [ 15808 "destination" 15809 ], 15810 "title": "PackagesCopy", 15811 "type": "object" 15812 } 15813 } 15814 ], 15815 "responses": { 15816 "200": { 15817 "description": "Copied specified package to destination repository", 15818 "schema": { 15819 "properties": { 15820 "architectures": { 15821 "description": "", 15822 "items": { 15823 "properties": { 15824 "description": { 15825 "description": "", 15826 "type": "string" 15827 }, 15828 "name": { 15829 "description": "", 15830 "type": "string" 15831 } 15832 }, 15833 "type": "object" 15834 }, 15835 "title": "ArchitecturesList", 15836 "type": "array" 15837 }, 15838 "cdn_url": { 15839 "description": "", 15840 "type": "string" 15841 }, 15842 "checksum_md5": { 15843 "description": "", 15844 "type": "string" 15845 }, 15846 "checksum_sha1": { 15847 "description": "", 15848 "type": "string" 15849 }, 15850 "checksum_sha256": { 15851 "description": "", 15852 "type": "string" 15853 }, 15854 "checksum_sha512": { 15855 "description": "", 15856 "type": "string" 15857 }, 15858 "description": { 15859 "description": "A textual description of this package.", 15860 "type": "string" 15861 }, 15862 "distro": { 15863 "description": "", 15864 "type": "object" 15865 }, 15866 "distro_version": { 15867 "description": "", 15868 "type": "object" 15869 }, 15870 "downloads": { 15871 "description": "", 15872 "type": "integer" 15873 }, 15874 "epoch": { 15875 "description": "The epoch of the package version (if any).", 15876 "type": "integer" 15877 }, 15878 "extension": { 15879 "description": "", 15880 "type": "string" 15881 }, 15882 "filename": { 15883 "description": "", 15884 "type": "string" 15885 }, 15886 "files": { 15887 "description": "", 15888 "items": { 15889 "properties": { 15890 "cdn_url": { 15891 "description": "", 15892 "type": "string" 15893 }, 15894 "checksum_md5": { 15895 "description": "", 15896 "type": "string" 15897 }, 15898 "checksum_sha1": { 15899 "description": "", 15900 "type": "string" 15901 }, 15902 "checksum_sha256": { 15903 "description": "", 15904 "type": "string" 15905 }, 15906 "checksum_sha512": { 15907 "description": "", 15908 "type": "string" 15909 }, 15910 "downloads": { 15911 "description": "", 15912 "type": "integer" 15913 }, 15914 "filename": { 15915 "description": "", 15916 "type": "string" 15917 }, 15918 "is_downloadable": { 15919 "description": "", 15920 "type": "boolean" 15921 }, 15922 "is_primary": { 15923 "description": "", 15924 "type": "boolean" 15925 }, 15926 "is_synchronised": { 15927 "description": "", 15928 "type": "boolean" 15929 }, 15930 "size": { 15931 "description": "The calculated size of the file.", 15932 "type": "integer" 15933 }, 15934 "slug_perm": { 15935 "description": "", 15936 "type": "string" 15937 }, 15938 "tag": { 15939 "description": "Freeform descriptor that describes what the file is.", 15940 "type": "string" 15941 } 15942 }, 15943 "type": "object" 15944 }, 15945 "title": "FilesList", 15946 "type": "array" 15947 }, 15948 "format": { 15949 "description": "", 15950 "type": "string" 15951 }, 15952 "format_url": { 15953 "description": "", 15954 "type": "string" 15955 }, 15956 "identifier_perm": { 15957 "description": "Unique and permanent identifier for the package.", 15958 "type": "string" 15959 }, 15960 "indexed": { 15961 "description": "", 15962 "type": "boolean" 15963 }, 15964 "is_sync_awaiting": { 15965 "description": "", 15966 "type": "boolean" 15967 }, 15968 "is_sync_completed": { 15969 "description": "", 15970 "type": "boolean" 15971 }, 15972 "is_sync_failed": { 15973 "description": "", 15974 "type": "boolean" 15975 }, 15976 "is_sync_in_flight": { 15977 "description": "", 15978 "type": "boolean" 15979 }, 15980 "is_sync_in_progress": { 15981 "description": "", 15982 "type": "boolean" 15983 }, 15984 "license": { 15985 "description": "The license of this package.", 15986 "type": "string" 15987 }, 15988 "name": { 15989 "description": "The name of this package.", 15990 "type": "string" 15991 }, 15992 "namespace": { 15993 "description": "", 15994 "type": "string" 15995 }, 15996 "namespace_url": { 15997 "description": "", 15998 "type": "string" 15999 }, 16000 "num_files": { 16001 "description": "", 16002 "type": "integer" 16003 }, 16004 "package_type": { 16005 "description": "The type of package contents.", 16006 "type": "string" 16007 }, 16008 "release": { 16009 "description": "The release of the package version (if any).", 16010 "type": "string" 16011 }, 16012 "repository": { 16013 "description": "The repository the package will be copied to.", 16014 "type": "string" 16015 }, 16016 "repository_url": { 16017 "description": "", 16018 "type": "string" 16019 }, 16020 "self_html_url": { 16021 "description": "", 16022 "type": "string" 16023 }, 16024 "self_url": { 16025 "description": "", 16026 "type": "string" 16027 }, 16028 "size": { 16029 "description": "The calculated size of the package.", 16030 "type": "integer" 16031 }, 16032 "slug": { 16033 "description": "", 16034 "type": "string" 16035 }, 16036 "slug_perm": { 16037 "description": "", 16038 "type": "string" 16039 }, 16040 "stage": { 16041 "description": "The synchronisation (in progress) stage of the package.", 16042 "type": "string" 16043 }, 16044 "stage_str": { 16045 "description": "", 16046 "type": "string" 16047 }, 16048 "stage_updated_at": { 16049 "description": "The datetime the package stage was updated at.", 16050 "type": "string" 16051 }, 16052 "status": { 16053 "description": "The synchronisation status of the package.", 16054 "type": "string" 16055 }, 16056 "status_reason": { 16057 "description": "A textual description for the synchronous status reason (if any", 16058 "type": "string" 16059 }, 16060 "status_str": { 16061 "description": "", 16062 "type": "string" 16063 }, 16064 "status_updated_at": { 16065 "description": "The datetime the package status was updated at.", 16066 "type": "string" 16067 }, 16068 "status_url": { 16069 "description": "", 16070 "type": "string" 16071 }, 16072 "subtype": { 16073 "description": "", 16074 "type": "string" 16075 }, 16076 "summary": { 16077 "description": "A one-liner synopsis of this package.", 16078 "type": "string" 16079 }, 16080 "sync_finished_at": { 16081 "description": "The datetime the package sync was finished at.", 16082 "type": "string" 16083 }, 16084 "sync_progress": { 16085 "description": "Synchronisation progress (from 0-100)", 16086 "type": "integer" 16087 }, 16088 "type_display": { 16089 "description": "", 16090 "type": "string" 16091 }, 16092 "uploaded_at": { 16093 "description": "The date this package was uploaded.", 16094 "type": "string" 16095 }, 16096 "uploader": { 16097 "description": "", 16098 "type": "string" 16099 }, 16100 "uploader_url": { 16101 "description": "", 16102 "type": "string" 16103 }, 16104 "version": { 16105 "description": "The raw version for this package.", 16106 "type": "string" 16107 }, 16108 "version_orig": { 16109 "description": "", 16110 "type": "string" 16111 } 16112 }, 16113 "title": "PackageCopy", 16114 "type": "object" 16115 } 16116 }, 16117 "400": { 16118 "description": "Request could not be processed (see detail)", 16119 "schema": { 16120 "properties": { 16121 "detail": { 16122 "description": "An extended message for the response.", 16123 "type": "string" 16124 } 16125 }, 16126 "required": [ 16127 "detail" 16128 ], 16129 "title": "Status", 16130 "type": "object" 16131 } 16132 }, 16133 "422": { 16134 "description": "Missing or invalid parameters (see detail)", 16135 "schema": { 16136 "properties": { 16137 "detail": { 16138 "description": "An extended message for the response.", 16139 "type": "string" 16140 } 16141 }, 16142 "required": [ 16143 "detail" 16144 ], 16145 "title": "Status", 16146 "type": "object" 16147 } 16148 } 16149 }, 16150 "security": [ 16151 { 16152 "token": [] 16153 }, 16154 { 16155 "apikey": [] 16156 }, 16157 { 16158 "csrf_token": [] 16159 } 16160 ], 16161 "summary": "Copy a package to another repository.", 16162 "tags": [ 16163 "packages" 16164 ] 16165 } 16166 }, 16167 "/packages/{owner}/{repo}/{identifier}/move/": { 16168 "post": { 16169 "consumes": [ 16170 "application/json" 16171 ], 16172 "description": "Move a package to another repository.", 16173 "operationId": "packages_move", 16174 "parameters": [ 16175 { 16176 "description": "", 16177 "in": "path", 16178 "name": "owner", 16179 "required": true, 16180 "type": "string" 16181 }, 16182 { 16183 "description": "", 16184 "in": "path", 16185 "name": "repo", 16186 "required": true, 16187 "type": "string" 16188 }, 16189 { 16190 "description": "", 16191 "in": "path", 16192 "name": "identifier", 16193 "required": true, 16194 "type": "string" 16195 }, 16196 { 16197 "in": "body", 16198 "name": "data", 16199 "schema": { 16200 "properties": { 16201 "destination": { 16202 "description": "None", 16203 "type": "string" 16204 }, 16205 "republish": { 16206 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 16207 "type": "boolean" 16208 } 16209 }, 16210 "required": [ 16211 "destination" 16212 ], 16213 "title": "PackagesMove", 16214 "type": "object" 16215 } 16216 } 16217 ], 16218 "responses": { 16219 "200": { 16220 "description": "Moved specified package to destination repository", 16221 "schema": { 16222 "properties": { 16223 "architectures": { 16224 "description": "", 16225 "items": { 16226 "properties": { 16227 "description": { 16228 "description": "", 16229 "type": "string" 16230 }, 16231 "name": { 16232 "description": "", 16233 "type": "string" 16234 } 16235 }, 16236 "type": "object" 16237 }, 16238 "title": "ArchitecturesList", 16239 "type": "array" 16240 }, 16241 "cdn_url": { 16242 "description": "", 16243 "type": "string" 16244 }, 16245 "checksum_md5": { 16246 "description": "", 16247 "type": "string" 16248 }, 16249 "checksum_sha1": { 16250 "description": "", 16251 "type": "string" 16252 }, 16253 "checksum_sha256": { 16254 "description": "", 16255 "type": "string" 16256 }, 16257 "checksum_sha512": { 16258 "description": "", 16259 "type": "string" 16260 }, 16261 "description": { 16262 "description": "A textual description of this package.", 16263 "type": "string" 16264 }, 16265 "distro": { 16266 "description": "", 16267 "type": "object" 16268 }, 16269 "distro_version": { 16270 "description": "", 16271 "type": "object" 16272 }, 16273 "downloads": { 16274 "description": "", 16275 "type": "integer" 16276 }, 16277 "epoch": { 16278 "description": "The epoch of the package version (if any).", 16279 "type": "integer" 16280 }, 16281 "extension": { 16282 "description": "", 16283 "type": "string" 16284 }, 16285 "filename": { 16286 "description": "", 16287 "type": "string" 16288 }, 16289 "files": { 16290 "description": "", 16291 "items": { 16292 "properties": { 16293 "cdn_url": { 16294 "description": "", 16295 "type": "string" 16296 }, 16297 "checksum_md5": { 16298 "description": "", 16299 "type": "string" 16300 }, 16301 "checksum_sha1": { 16302 "description": "", 16303 "type": "string" 16304 }, 16305 "checksum_sha256": { 16306 "description": "", 16307 "type": "string" 16308 }, 16309 "checksum_sha512": { 16310 "description": "", 16311 "type": "string" 16312 }, 16313 "downloads": { 16314 "description": "", 16315 "type": "integer" 16316 }, 16317 "filename": { 16318 "description": "", 16319 "type": "string" 16320 }, 16321 "is_downloadable": { 16322 "description": "", 16323 "type": "boolean" 16324 }, 16325 "is_primary": { 16326 "description": "", 16327 "type": "boolean" 16328 }, 16329 "is_synchronised": { 16330 "description": "", 16331 "type": "boolean" 16332 }, 16333 "size": { 16334 "description": "The calculated size of the file.", 16335 "type": "integer" 16336 }, 16337 "slug_perm": { 16338 "description": "", 16339 "type": "string" 16340 }, 16341 "tag": { 16342 "description": "Freeform descriptor that describes what the file is.", 16343 "type": "string" 16344 } 16345 }, 16346 "type": "object" 16347 }, 16348 "title": "FilesList", 16349 "type": "array" 16350 }, 16351 "format": { 16352 "description": "", 16353 "type": "string" 16354 }, 16355 "format_url": { 16356 "description": "", 16357 "type": "string" 16358 }, 16359 "identifier_perm": { 16360 "description": "Unique and permanent identifier for the package.", 16361 "type": "string" 16362 }, 16363 "indexed": { 16364 "description": "", 16365 "type": "boolean" 16366 }, 16367 "is_sync_awaiting": { 16368 "description": "", 16369 "type": "boolean" 16370 }, 16371 "is_sync_completed": { 16372 "description": "", 16373 "type": "boolean" 16374 }, 16375 "is_sync_failed": { 16376 "description": "", 16377 "type": "boolean" 16378 }, 16379 "is_sync_in_flight": { 16380 "description": "", 16381 "type": "boolean" 16382 }, 16383 "is_sync_in_progress": { 16384 "description": "", 16385 "type": "boolean" 16386 }, 16387 "license": { 16388 "description": "The license of this package.", 16389 "type": "string" 16390 }, 16391 "name": { 16392 "description": "The name of this package.", 16393 "type": "string" 16394 }, 16395 "namespace": { 16396 "description": "", 16397 "type": "string" 16398 }, 16399 "namespace_url": { 16400 "description": "", 16401 "type": "string" 16402 }, 16403 "num_files": { 16404 "description": "", 16405 "type": "integer" 16406 }, 16407 "package_type": { 16408 "description": "The type of package contents.", 16409 "type": "string" 16410 }, 16411 "release": { 16412 "description": "The release of the package version (if any).", 16413 "type": "string" 16414 }, 16415 "repository": { 16416 "description": "The repository the package will be moved to.", 16417 "type": "string" 16418 }, 16419 "repository_url": { 16420 "description": "", 16421 "type": "string" 16422 }, 16423 "self_html_url": { 16424 "description": "", 16425 "type": "string" 16426 }, 16427 "self_url": { 16428 "description": "", 16429 "type": "string" 16430 }, 16431 "size": { 16432 "description": "The calculated size of the package.", 16433 "type": "integer" 16434 }, 16435 "slug": { 16436 "description": "", 16437 "type": "string" 16438 }, 16439 "slug_perm": { 16440 "description": "", 16441 "type": "string" 16442 }, 16443 "stage": { 16444 "description": "The synchronisation (in progress) stage of the package.", 16445 "type": "string" 16446 }, 16447 "stage_str": { 16448 "description": "", 16449 "type": "string" 16450 }, 16451 "stage_updated_at": { 16452 "description": "The datetime the package stage was updated at.", 16453 "type": "string" 16454 }, 16455 "status": { 16456 "description": "The synchronisation status of the package.", 16457 "type": "string" 16458 }, 16459 "status_reason": { 16460 "description": "A textual description for the synchronous status reason (if any", 16461 "type": "string" 16462 }, 16463 "status_str": { 16464 "description": "", 16465 "type": "string" 16466 }, 16467 "status_updated_at": { 16468 "description": "The datetime the package status was updated at.", 16469 "type": "string" 16470 }, 16471 "status_url": { 16472 "description": "", 16473 "type": "string" 16474 }, 16475 "subtype": { 16476 "description": "", 16477 "type": "string" 16478 }, 16479 "summary": { 16480 "description": "A one-liner synopsis of this package.", 16481 "type": "string" 16482 }, 16483 "sync_finished_at": { 16484 "description": "The datetime the package sync was finished at.", 16485 "type": "string" 16486 }, 16487 "sync_progress": { 16488 "description": "Synchronisation progress (from 0-100)", 16489 "type": "integer" 16490 }, 16491 "type_display": { 16492 "description": "", 16493 "type": "string" 16494 }, 16495 "uploaded_at": { 16496 "description": "The date this package was uploaded.", 16497 "type": "string" 16498 }, 16499 "uploader": { 16500 "description": "", 16501 "type": "string" 16502 }, 16503 "uploader_url": { 16504 "description": "", 16505 "type": "string" 16506 }, 16507 "version": { 16508 "description": "The raw version for this package.", 16509 "type": "string" 16510 }, 16511 "version_orig": { 16512 "description": "", 16513 "type": "string" 16514 } 16515 }, 16516 "title": "PackageMove", 16517 "type": "object" 16518 } 16519 }, 16520 "400": { 16521 "description": "Request could not be processed (see detail)", 16522 "schema": { 16523 "properties": { 16524 "detail": { 16525 "description": "An extended message for the response.", 16526 "type": "string" 16527 } 16528 }, 16529 "required": [ 16530 "detail" 16531 ], 16532 "title": "Status", 16533 "type": "object" 16534 } 16535 }, 16536 "422": { 16537 "description": "Missing or invalid parameters (see detail)", 16538 "schema": { 16539 "properties": { 16540 "detail": { 16541 "description": "An extended message for the response.", 16542 "type": "string" 16543 } 16544 }, 16545 "required": [ 16546 "detail" 16547 ], 16548 "title": "Status", 16549 "type": "object" 16550 } 16551 } 16552 }, 16553 "security": [ 16554 { 16555 "token": [] 16556 }, 16557 { 16558 "apikey": [] 16559 }, 16560 { 16561 "csrf_token": [] 16562 } 16563 ], 16564 "summary": "Move a package to another repository.", 16565 "tags": [ 16566 "packages" 16567 ] 16568 } 16569 }, 16570 "/packages/{owner}/{repo}/{identifier}/resync/": { 16571 "post": { 16572 "consumes": [ 16573 "application/json" 16574 ], 16575 "description": "Schedule a package for resynchronisation.", 16576 "operationId": "packages_resync", 16577 "parameters": [ 16578 { 16579 "description": "", 16580 "in": "path", 16581 "name": "owner", 16582 "required": true, 16583 "type": "string" 16584 }, 16585 { 16586 "description": "", 16587 "in": "path", 16588 "name": "repo", 16589 "required": true, 16590 "type": "string" 16591 }, 16592 { 16593 "description": "", 16594 "in": "path", 16595 "name": "identifier", 16596 "required": true, 16597 "type": "string" 16598 }, 16599 { 16600 "in": "body", 16601 "name": "data", 16602 "schema": { 16603 "properties": { 16604 "republish": { 16605 "description": "If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.", 16606 "type": "boolean" 16607 } 16608 }, 16609 "title": "PackagesResync", 16610 "type": "object" 16611 } 16612 } 16613 ], 16614 "responses": { 16615 "200": { 16616 "description": "Scheduled the package for resynchronisation", 16617 "schema": { 16618 "properties": { 16619 "architectures": { 16620 "description": "", 16621 "items": { 16622 "properties": { 16623 "description": { 16624 "description": "", 16625 "type": "string" 16626 }, 16627 "name": { 16628 "description": "", 16629 "type": "string" 16630 } 16631 }, 16632 "type": "object" 16633 }, 16634 "title": "ArchitecturesList", 16635 "type": "array" 16636 }, 16637 "cdn_url": { 16638 "description": "", 16639 "type": "string" 16640 }, 16641 "checksum_md5": { 16642 "description": "", 16643 "type": "string" 16644 }, 16645 "checksum_sha1": { 16646 "description": "", 16647 "type": "string" 16648 }, 16649 "checksum_sha256": { 16650 "description": "", 16651 "type": "string" 16652 }, 16653 "checksum_sha512": { 16654 "description": "", 16655 "type": "string" 16656 }, 16657 "description": { 16658 "description": "A textual description of this package.", 16659 "type": "string" 16660 }, 16661 "distro": { 16662 "description": "", 16663 "type": "object" 16664 }, 16665 "distro_version": { 16666 "description": "", 16667 "type": "object" 16668 }, 16669 "downloads": { 16670 "description": "", 16671 "type": "integer" 16672 }, 16673 "epoch": { 16674 "description": "The epoch of the package version (if any).", 16675 "type": "integer" 16676 }, 16677 "extension": { 16678 "description": "", 16679 "type": "string" 16680 }, 16681 "filename": { 16682 "description": "", 16683 "type": "string" 16684 }, 16685 "files": { 16686 "description": "", 16687 "items": { 16688 "properties": { 16689 "cdn_url": { 16690 "description": "", 16691 "type": "string" 16692 }, 16693 "checksum_md5": { 16694 "description": "", 16695 "type": "string" 16696 }, 16697 "checksum_sha1": { 16698 "description": "", 16699 "type": "string" 16700 }, 16701 "checksum_sha256": { 16702 "description": "", 16703 "type": "string" 16704 }, 16705 "checksum_sha512": { 16706 "description": "", 16707 "type": "string" 16708 }, 16709 "downloads": { 16710 "description": "", 16711 "type": "integer" 16712 }, 16713 "filename": { 16714 "description": "", 16715 "type": "string" 16716 }, 16717 "is_downloadable": { 16718 "description": "", 16719 "type": "boolean" 16720 }, 16721 "is_primary": { 16722 "description": "", 16723 "type": "boolean" 16724 }, 16725 "is_synchronised": { 16726 "description": "", 16727 "type": "boolean" 16728 }, 16729 "size": { 16730 "description": "The calculated size of the file.", 16731 "type": "integer" 16732 }, 16733 "slug_perm": { 16734 "description": "", 16735 "type": "string" 16736 }, 16737 "tag": { 16738 "description": "Freeform descriptor that describes what the file is.", 16739 "type": "string" 16740 } 16741 }, 16742 "type": "object" 16743 }, 16744 "title": "FilesList", 16745 "type": "array" 16746 }, 16747 "format": { 16748 "description": "", 16749 "type": "string" 16750 }, 16751 "format_url": { 16752 "description": "", 16753 "type": "string" 16754 }, 16755 "identifier_perm": { 16756 "description": "Unique and permanent identifier for the package.", 16757 "type": "string" 16758 }, 16759 "indexed": { 16760 "description": "", 16761 "type": "boolean" 16762 }, 16763 "is_sync_awaiting": { 16764 "description": "", 16765 "type": "boolean" 16766 }, 16767 "is_sync_completed": { 16768 "description": "", 16769 "type": "boolean" 16770 }, 16771 "is_sync_failed": { 16772 "description": "", 16773 "type": "boolean" 16774 }, 16775 "is_sync_in_flight": { 16776 "description": "", 16777 "type": "boolean" 16778 }, 16779 "is_sync_in_progress": { 16780 "description": "", 16781 "type": "boolean" 16782 }, 16783 "license": { 16784 "description": "The license of this package.", 16785 "type": "string" 16786 }, 16787 "name": { 16788 "description": "The name of this package.", 16789 "type": "string" 16790 }, 16791 "namespace": { 16792 "description": "", 16793 "type": "string" 16794 }, 16795 "namespace_url": { 16796 "description": "", 16797 "type": "string" 16798 }, 16799 "num_files": { 16800 "description": "", 16801 "type": "integer" 16802 }, 16803 "package_type": { 16804 "description": "The type of package contents.", 16805 "type": "string" 16806 }, 16807 "release": { 16808 "description": "The release of the package version (if any).", 16809 "type": "string" 16810 }, 16811 "repository": { 16812 "description": "", 16813 "type": "string" 16814 }, 16815 "repository_url": { 16816 "description": "", 16817 "type": "string" 16818 }, 16819 "self_html_url": { 16820 "description": "", 16821 "type": "string" 16822 }, 16823 "self_url": { 16824 "description": "", 16825 "type": "string" 16826 }, 16827 "size": { 16828 "description": "The calculated size of the package.", 16829 "type": "integer" 16830 }, 16831 "slug": { 16832 "description": "", 16833 "type": "string" 16834 }, 16835 "slug_perm": { 16836 "description": "", 16837 "type": "string" 16838 }, 16839 "stage": { 16840 "description": "The synchronisation (in progress) stage of the package.", 16841 "type": "string" 16842 }, 16843 "stage_str": { 16844 "description": "", 16845 "type": "string" 16846 }, 16847 "stage_updated_at": { 16848 "description": "The datetime the package stage was updated at.", 16849 "type": "string" 16850 }, 16851 "status": { 16852 "description": "The synchronisation status of the package.", 16853 "type": "string" 16854 }, 16855 "status_reason": { 16856 "description": "A textual description for the synchronous status reason (if any", 16857 "type": "string" 16858 }, 16859 "status_str": { 16860 "description": "", 16861 "type": "string" 16862 }, 16863 "status_updated_at": { 16864 "description": "The datetime the package status was updated at.", 16865 "type": "string" 16866 }, 16867 "status_url": { 16868 "description": "", 16869 "type": "string" 16870 }, 16871 "subtype": { 16872 "description": "", 16873 "type": "string" 16874 }, 16875 "summary": { 16876 "description": "A one-liner synopsis of this package.", 16877 "type": "string" 16878 }, 16879 "sync_finished_at": { 16880 "description": "The datetime the package sync was finished at.", 16881 "type": "string" 16882 }, 16883 "sync_progress": { 16884 "description": "Synchronisation progress (from 0-100)", 16885 "type": "integer" 16886 }, 16887 "type_display": { 16888 "description": "", 16889 "type": "string" 16890 }, 16891 "uploaded_at": { 16892 "description": "The date this package was uploaded.", 16893 "type": "string" 16894 }, 16895 "uploader": { 16896 "description": "", 16897 "type": "string" 16898 }, 16899 "uploader_url": { 16900 "description": "", 16901 "type": "string" 16902 }, 16903 "version": { 16904 "description": "The raw version for this package.", 16905 "type": "string" 16906 }, 16907 "version_orig": { 16908 "description": "", 16909 "type": "string" 16910 } 16911 }, 16912 "title": "PackageResync", 16913 "type": "object" 16914 } 16915 }, 16916 "400": { 16917 "description": "Request could not be processed (see detail)", 16918 "schema": { 16919 "properties": { 16920 "detail": { 16921 "description": "An extended message for the response.", 16922 "type": "string" 16923 } 16924 }, 16925 "required": [ 16926 "detail" 16927 ], 16928 "title": "Status", 16929 "type": "object" 16930 } 16931 }, 16932 "422": { 16933 "description": "Missing or invalid parameters (see detail)", 16934 "schema": { 16935 "properties": { 16936 "detail": { 16937 "description": "An extended message for the response.", 16938 "type": "string" 16939 } 16940 }, 16941 "required": [ 16942 "detail" 16943 ], 16944 "title": "Status", 16945 "type": "object" 16946 } 16947 } 16948 }, 16949 "security": [ 16950 { 16951 "token": [] 16952 }, 16953 { 16954 "apikey": [] 16955 }, 16956 { 16957 "csrf_token": [] 16958 } 16959 ], 16960 "summary": "Schedule a package for resynchronisation.", 16961 "tags": [ 16962 "packages" 16963 ] 16964 } 16965 }, 16966 "/packages/{owner}/{repo}/{identifier}/status/": { 16967 "get": { 16968 "description": "Get the synchronisation status for a package.", 16969 "operationId": "packages_status", 16970 "parameters": [ 16971 { 16972 "description": "", 16973 "in": "path", 16974 "name": "owner", 16975 "required": true, 16976 "type": "string" 16977 }, 16978 { 16979 "description": "", 16980 "in": "path", 16981 "name": "repo", 16982 "required": true, 16983 "type": "string" 16984 }, 16985 { 16986 "description": "", 16987 "in": "path", 16988 "name": "identifier", 16989 "required": true, 16990 "type": "string" 16991 } 16992 ], 16993 "responses": { 16994 "200": { 16995 "description": "Retrieved status for specified package", 16996 "schema": { 16997 "properties": { 16998 "is_sync_awaiting": { 16999 "description": "", 17000 "type": "boolean" 17001 }, 17002 "is_sync_completed": { 17003 "description": "", 17004 "type": "boolean" 17005 }, 17006 "is_sync_failed": { 17007 "description": "", 17008 "type": "boolean" 17009 }, 17010 "is_sync_in_flight": { 17011 "description": "", 17012 "type": "boolean" 17013 }, 17014 "is_sync_in_progress": { 17015 "description": "", 17016 "type": "boolean" 17017 }, 17018 "self_url": { 17019 "description": "", 17020 "type": "string" 17021 }, 17022 "stage": { 17023 "description": "The synchronisation (in progress) stage of the package.", 17024 "type": "string" 17025 }, 17026 "stage_str": { 17027 "description": "", 17028 "type": "string" 17029 }, 17030 "stage_updated_at": { 17031 "description": "The datetime the package stage was updated at.", 17032 "type": "string" 17033 }, 17034 "status": { 17035 "description": "The synchronisation status of the package.", 17036 "type": "string" 17037 }, 17038 "status_reason": { 17039 "description": "A textual description for the synchronous status reason (if any", 17040 "type": "string" 17041 }, 17042 "status_str": { 17043 "description": "", 17044 "type": "string" 17045 }, 17046 "status_updated_at": { 17047 "description": "The datetime the package status was updated at.", 17048 "type": "string" 17049 }, 17050 "sync_finished_at": { 17051 "description": "The datetime the package sync was finished at.", 17052 "type": "string" 17053 }, 17054 "sync_progress": { 17055 "description": "Synchronisation progress (from 0-100)", 17056 "type": "integer" 17057 } 17058 }, 17059 "title": "PackageStatus", 17060 "type": "object" 17061 } 17062 }, 17063 "400": { 17064 "description": "Request could not be processed (see detail)", 17065 "schema": { 17066 "properties": { 17067 "detail": { 17068 "description": "An extended message for the response.", 17069 "type": "string" 17070 } 17071 }, 17072 "required": [ 17073 "detail" 17074 ], 17075 "title": "Status", 17076 "type": "object" 17077 } 17078 }, 17079 "422": { 17080 "description": "Missing or invalid parameters (see detail)", 17081 "schema": { 17082 "properties": { 17083 "detail": { 17084 "description": "An extended message for the response.", 17085 "type": "string" 17086 } 17087 }, 17088 "required": [ 17089 "detail" 17090 ], 17091 "title": "Status", 17092 "type": "object" 17093 } 17094 } 17095 }, 17096 "security": [ 17097 { 17098 "token": [] 17099 }, 17100 { 17101 "apikey": [] 17102 }, 17103 { 17104 "csrf_token": [] 17105 } 17106 ], 17107 "summary": "Get the synchronisation status for a package.", 17108 "tags": [ 17109 "packages" 17110 ] 17111 } 17112 }, 17113 "/rates/limits/": { 17114 "get": { 17115 "description": "Endpoint to check rate limits for current user.", 17116 "operationId": "rates_limits_list", 17117 "parameters": [], 17118 "responses": { 17119 "200": { 17120 "description": "Rate check was successful", 17121 "schema": { 17122 "properties": { 17123 "resources": { 17124 "description": "Rate limit values per resource", 17125 "example": { 17126 "core": { 17127 "interval": 5.123456789, 17128 "limit": 3600, 17129 "remaining": 3595, 17130 "reset": 1593282513, 17131 "reset_iso_8601": "2020-06-27T18:28:33.621484+00:00", 17132 "throttled": false 17133 } 17134 }, 17135 "type": "object" 17136 } 17137 }, 17138 "title": "ResourcesRateCheck", 17139 "type": "object" 17140 } 17141 }, 17142 "400": { 17143 "description": "Request could not be processed (see detail)", 17144 "schema": { 17145 "properties": { 17146 "detail": { 17147 "description": "An extended message for the response.", 17148 "type": "string" 17149 } 17150 }, 17151 "required": [ 17152 "detail" 17153 ], 17154 "title": "Status", 17155 "type": "object" 17156 } 17157 }, 17158 "422": { 17159 "description": "Missing or invalid parameters (see detail)", 17160 "schema": { 17161 "properties": { 17162 "detail": { 17163 "description": "An extended message for the response.", 17164 "type": "string" 17165 } 17166 }, 17167 "required": [ 17168 "detail" 17169 ], 17170 "title": "Status", 17171 "type": "object" 17172 } 17173 } 17174 }, 17175 "security": [ 17176 { 17177 "token": [] 17178 }, 17179 { 17180 "apikey": [] 17181 }, 17182 { 17183 "csrf_token": [] 17184 } 17185 ], 17186 "summary": "Endpoint to check rate limits for current user.", 17187 "tags": [ 17188 "rates" 17189 ] 17190 } 17191 }, 17192 "/repos/": { 17193 "get": { 17194 "description": "Get a list of all repositories associated with current user.", 17195 "operationId": "repos_all_list", 17196 "parameters": [ 17197 { 17198 "description": "A page number within the paginated result set.", 17199 "in": "query", 17200 "name": "page", 17201 "required": false, 17202 "type": "integer" 17203 }, 17204 { 17205 "description": "Number of results to return per page.", 17206 "in": "query", 17207 "name": "page_size", 17208 "required": false, 17209 "type": "integer" 17210 } 17211 ], 17212 "responses": { 17213 "200": { 17214 "description": "Retrieved the list of repositories", 17215 "schema": { 17216 "items": { 17217 "properties": { 17218 "cdn_url": { 17219 "description": "Base URL from which packages and other artifacts are downloaded.", 17220 "type": "string" 17221 }, 17222 "created_at": { 17223 "description": "", 17224 "type": "string" 17225 }, 17226 "deleted_at": { 17227 "description": "", 17228 "type": "string" 17229 }, 17230 "description": { 17231 "description": "A description of the repository's purpose/contents.", 17232 "type": "string" 17233 }, 17234 "gpg_keys": { 17235 "description": "", 17236 "items": { 17237 "properties": { 17238 "active": { 17239 "description": "If selected this is the active key for this repository.", 17240 "type": "boolean" 17241 }, 17242 "comment": { 17243 "description": "", 17244 "type": "string" 17245 }, 17246 "created_at": { 17247 "description": "", 17248 "type": "string" 17249 }, 17250 "default": { 17251 "description": "If selected this is the default key for this repository.", 17252 "type": "boolean" 17253 }, 17254 "fingerprint": { 17255 "description": "The long identifier used by GPG for this key.", 17256 "type": "string" 17257 }, 17258 "fingerprint_short": { 17259 "description": "", 17260 "type": "string" 17261 }, 17262 "public_key": { 17263 "description": "The public key given to repository users.", 17264 "type": "string" 17265 } 17266 }, 17267 "type": "object" 17268 }, 17269 "title": "Gpg keysList", 17270 "type": "array" 17271 }, 17272 "index_files": { 17273 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 17274 "type": "boolean" 17275 }, 17276 "is_open_source": { 17277 "description": "", 17278 "type": "boolean" 17279 }, 17280 "is_private": { 17281 "description": "", 17282 "type": "boolean" 17283 }, 17284 "is_public": { 17285 "description": "", 17286 "type": "boolean" 17287 }, 17288 "name": { 17289 "description": "A descriptive name for the repository.", 17290 "type": "string" 17291 }, 17292 "namespace": { 17293 "description": "Namespace to which this repository belongs.", 17294 "type": "string" 17295 }, 17296 "namespace_url": { 17297 "description": "API endpoint where data about this namespace can be retrieved.", 17298 "type": "string" 17299 }, 17300 "num_downloads": { 17301 "description": "The number of downloads for packages in the repository.", 17302 "type": "integer" 17303 }, 17304 "package_count": { 17305 "description": "The number of packages in the repository.", 17306 "type": "integer" 17307 }, 17308 "package_group_count": { 17309 "description": "The number of groups in the repository.", 17310 "type": "integer" 17311 }, 17312 "repository_type": { 17313 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.", 17314 "type": "string" 17315 }, 17316 "repository_type_str": { 17317 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 17318 "type": "string" 17319 }, 17320 "self_html_url": { 17321 "description": "Website URL for this repository.", 17322 "type": "string" 17323 }, 17324 "self_url": { 17325 "description": "API endpoint where data about this repository can be retrieved.", 17326 "type": "string" 17327 }, 17328 "size": { 17329 "description": "The calculated size of the repository.", 17330 "type": "integer" 17331 }, 17332 "size_str": { 17333 "description": "The calculated size of the repository (human readable).", 17334 "type": "string" 17335 }, 17336 "slug": { 17337 "description": "The slug identifies the repository in URIs.", 17338 "type": "string" 17339 }, 17340 "slug_perm": { 17341 "description": "The slug_perm immutably identifies the repository. It will never change once a repository has been created.", 17342 "type": "string" 17343 }, 17344 "storage_region": { 17345 "description": "The Cloudsmith region in which package files are stored.", 17346 "type": "string" 17347 } 17348 }, 17349 "required": [ 17350 "name" 17351 ], 17352 "title": "Repository", 17353 "type": "object" 17354 }, 17355 "title": "RepositoryList", 17356 "type": "array" 17357 } 17358 }, 17359 "400": { 17360 "description": "Request could not be processed (see detail)", 17361 "schema": { 17362 "properties": { 17363 "detail": { 17364 "description": "An extended message for the response.", 17365 "type": "string" 17366 } 17367 }, 17368 "required": [ 17369 "detail" 17370 ], 17371 "title": "Status", 17372 "type": "object" 17373 } 17374 }, 17375 "422": { 17376 "description": "Missing or invalid parameters (see detail)", 17377 "schema": { 17378 "properties": { 17379 "detail": { 17380 "description": "An extended message for the response.", 17381 "type": "string" 17382 } 17383 }, 17384 "required": [ 17385 "detail" 17386 ], 17387 "title": "Status", 17388 "type": "object" 17389 } 17390 } 17391 }, 17392 "security": [ 17393 { 17394 "token": [] 17395 }, 17396 { 17397 "apikey": [] 17398 }, 17399 { 17400 "csrf_token": [] 17401 } 17402 ], 17403 "summary": "Get a list of all repositories associated with current user.", 17404 "tags": [ 17405 "repos" 17406 ] 17407 } 17408 }, 17409 "/repos/{owner}/": { 17410 "get": { 17411 "description": "Get a list of all repositories within a namespace.", 17412 "operationId": "repos_list", 17413 "parameters": [ 17414 { 17415 "description": "", 17416 "in": "path", 17417 "name": "owner", 17418 "required": true, 17419 "type": "string" 17420 }, 17421 { 17422 "description": "A page number within the paginated result set.", 17423 "in": "query", 17424 "name": "page", 17425 "required": false, 17426 "type": "integer" 17427 }, 17428 { 17429 "description": "Number of results to return per page.", 17430 "in": "query", 17431 "name": "page_size", 17432 "required": false, 17433 "type": "integer" 17434 } 17435 ], 17436 "responses": { 17437 "200": { 17438 "description": "Retrieved the list of repositories", 17439 "schema": { 17440 "items": { 17441 "properties": { 17442 "cdn_url": { 17443 "description": "Base URL from which packages and other artifacts are downloaded.", 17444 "type": "string" 17445 }, 17446 "created_at": { 17447 "description": "", 17448 "type": "string" 17449 }, 17450 "deleted_at": { 17451 "description": "", 17452 "type": "string" 17453 }, 17454 "description": { 17455 "description": "A description of the repository's purpose/contents.", 17456 "type": "string" 17457 }, 17458 "gpg_keys": { 17459 "description": "", 17460 "items": { 17461 "properties": { 17462 "active": { 17463 "description": "If selected this is the active key for this repository.", 17464 "type": "boolean" 17465 }, 17466 "comment": { 17467 "description": "", 17468 "type": "string" 17469 }, 17470 "created_at": { 17471 "description": "", 17472 "type": "string" 17473 }, 17474 "default": { 17475 "description": "If selected this is the default key for this repository.", 17476 "type": "boolean" 17477 }, 17478 "fingerprint": { 17479 "description": "The long identifier used by GPG for this key.", 17480 "type": "string" 17481 }, 17482 "fingerprint_short": { 17483 "description": "", 17484 "type": "string" 17485 }, 17486 "public_key": { 17487 "description": "The public key given to repository users.", 17488 "type": "string" 17489 } 17490 }, 17491 "type": "object" 17492 }, 17493 "title": "Gpg keysList", 17494 "type": "array" 17495 }, 17496 "index_files": { 17497 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 17498 "type": "boolean" 17499 }, 17500 "is_open_source": { 17501 "description": "", 17502 "type": "boolean" 17503 }, 17504 "is_private": { 17505 "description": "", 17506 "type": "boolean" 17507 }, 17508 "is_public": { 17509 "description": "", 17510 "type": "boolean" 17511 }, 17512 "name": { 17513 "description": "A descriptive name for the repository.", 17514 "type": "string" 17515 }, 17516 "namespace": { 17517 "description": "Namespace to which this repository belongs.", 17518 "type": "string" 17519 }, 17520 "namespace_url": { 17521 "description": "API endpoint where data about this namespace can be retrieved.", 17522 "type": "string" 17523 }, 17524 "num_downloads": { 17525 "description": "The number of downloads for packages in the repository.", 17526 "type": "integer" 17527 }, 17528 "package_count": { 17529 "description": "The number of packages in the repository.", 17530 "type": "integer" 17531 }, 17532 "package_group_count": { 17533 "description": "The number of groups in the repository.", 17534 "type": "integer" 17535 }, 17536 "repository_type": { 17537 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.", 17538 "type": "string" 17539 }, 17540 "repository_type_str": { 17541 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 17542 "type": "string" 17543 }, 17544 "self_html_url": { 17545 "description": "Website URL for this repository.", 17546 "type": "string" 17547 }, 17548 "self_url": { 17549 "description": "API endpoint where data about this repository can be retrieved.", 17550 "type": "string" 17551 }, 17552 "size": { 17553 "description": "The calculated size of the repository.", 17554 "type": "integer" 17555 }, 17556 "size_str": { 17557 "description": "The calculated size of the repository (human readable).", 17558 "type": "string" 17559 }, 17560 "slug": { 17561 "description": "The slug identifies the repository in URIs.", 17562 "type": "string" 17563 }, 17564 "slug_perm": { 17565 "description": "The slug_perm immutably identifies the repository. It will never change once a repository has been created.", 17566 "type": "string" 17567 }, 17568 "storage_region": { 17569 "description": "The Cloudsmith region in which package files are stored.", 17570 "type": "string" 17571 } 17572 }, 17573 "required": [ 17574 "name" 17575 ], 17576 "title": "Repository", 17577 "type": "object" 17578 }, 17579 "title": "RepositoryList", 17580 "type": "array" 17581 } 17582 }, 17583 "400": { 17584 "description": "Request could not be processed (see detail)", 17585 "schema": { 17586 "properties": { 17587 "detail": { 17588 "description": "An extended message for the response.", 17589 "type": "string" 17590 } 17591 }, 17592 "required": [ 17593 "detail" 17594 ], 17595 "title": "Status", 17596 "type": "object" 17597 } 17598 }, 17599 "404": { 17600 "description": "Owner namespace not found", 17601 "schema": { 17602 "properties": { 17603 "detail": { 17604 "description": "An extended message for the response.", 17605 "type": "string" 17606 } 17607 }, 17608 "required": [ 17609 "detail" 17610 ], 17611 "title": "Status", 17612 "type": "object" 17613 } 17614 }, 17615 "422": { 17616 "description": "Missing or invalid parameters (see detail)", 17617 "schema": { 17618 "properties": { 17619 "detail": { 17620 "description": "An extended message for the response.", 17621 "type": "string" 17622 } 17623 }, 17624 "required": [ 17625 "detail" 17626 ], 17627 "title": "Status", 17628 "type": "object" 17629 } 17630 } 17631 }, 17632 "security": [ 17633 { 17634 "token": [] 17635 }, 17636 { 17637 "apikey": [] 17638 }, 17639 { 17640 "csrf_token": [] 17641 } 17642 ], 17643 "summary": "Get a list of all repositories within a namespace.", 17644 "tags": [ 17645 "repos" 17646 ] 17647 }, 17648 "post": { 17649 "consumes": [ 17650 "application/json" 17651 ], 17652 "description": "Create a new repository in a given namespace.", 17653 "operationId": "repos_create", 17654 "parameters": [ 17655 { 17656 "description": "", 17657 "in": "path", 17658 "name": "owner", 17659 "required": true, 17660 "type": "string" 17661 }, 17662 { 17663 "in": "body", 17664 "name": "data", 17665 "schema": { 17666 "properties": { 17667 "description": { 17668 "description": "A description of the repository's purpose/contents.", 17669 "type": "string" 17670 }, 17671 "index_files": { 17672 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 17673 "type": "boolean" 17674 }, 17675 "name": { 17676 "description": "A descriptive name for the repository.", 17677 "type": "string" 17678 }, 17679 "repository_type_str": { 17680 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 17681 "type": "string" 17682 }, 17683 "slug": { 17684 "description": "The slug identifies the repository in URIs.", 17685 "type": "string" 17686 }, 17687 "storage_region": { 17688 "description": "The Cloudsmith region in which package files are stored.", 17689 "type": "string" 17690 } 17691 }, 17692 "required": [ 17693 "name" 17694 ], 17695 "title": "ReposCreate", 17696 "type": "object" 17697 } 17698 } 17699 ], 17700 "responses": { 17701 "201": { 17702 "description": "The repository was created", 17703 "schema": { 17704 "properties": { 17705 "cdn_url": { 17706 "description": "Base URL from which packages and other artifacts are downloaded.", 17707 "type": "string" 17708 }, 17709 "created_at": { 17710 "description": "", 17711 "type": "string" 17712 }, 17713 "deleted_at": { 17714 "description": "", 17715 "type": "string" 17716 }, 17717 "description": { 17718 "description": "A description of the repository's purpose/contents.", 17719 "type": "string" 17720 }, 17721 "gpg_keys": { 17722 "description": "", 17723 "items": { 17724 "properties": { 17725 "active": { 17726 "description": "If selected this is the active key for this repository.", 17727 "type": "boolean" 17728 }, 17729 "comment": { 17730 "description": "", 17731 "type": "string" 17732 }, 17733 "created_at": { 17734 "description": "", 17735 "type": "string" 17736 }, 17737 "default": { 17738 "description": "If selected this is the default key for this repository.", 17739 "type": "boolean" 17740 }, 17741 "fingerprint": { 17742 "description": "The long identifier used by GPG for this key.", 17743 "type": "string" 17744 }, 17745 "fingerprint_short": { 17746 "description": "", 17747 "type": "string" 17748 }, 17749 "public_key": { 17750 "description": "The public key given to repository users.", 17751 "type": "string" 17752 } 17753 }, 17754 "type": "object" 17755 }, 17756 "title": "Gpg keysList", 17757 "type": "array" 17758 }, 17759 "index_files": { 17760 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 17761 "type": "boolean" 17762 }, 17763 "is_open_source": { 17764 "description": "", 17765 "type": "boolean" 17766 }, 17767 "is_private": { 17768 "description": "", 17769 "type": "boolean" 17770 }, 17771 "is_public": { 17772 "description": "", 17773 "type": "boolean" 17774 }, 17775 "name": { 17776 "description": "A descriptive name for the repository.", 17777 "type": "string" 17778 }, 17779 "namespace": { 17780 "description": "Namespace to which this repository belongs.", 17781 "type": "string" 17782 }, 17783 "namespace_url": { 17784 "description": "API endpoint where data about this namespace can be retrieved.", 17785 "type": "string" 17786 }, 17787 "num_downloads": { 17788 "description": "The number of downloads for packages in the repository.", 17789 "type": "integer" 17790 }, 17791 "package_count": { 17792 "description": "The number of packages in the repository.", 17793 "type": "integer" 17794 }, 17795 "package_group_count": { 17796 "description": "The number of groups in the repository.", 17797 "type": "integer" 17798 }, 17799 "repository_type": { 17800 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.", 17801 "type": "string" 17802 }, 17803 "repository_type_str": { 17804 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 17805 "type": "string" 17806 }, 17807 "self_html_url": { 17808 "description": "Website URL for this repository.", 17809 "type": "string" 17810 }, 17811 "self_url": { 17812 "description": "API endpoint where data about this repository can be retrieved.", 17813 "type": "string" 17814 }, 17815 "size": { 17816 "description": "The calculated size of the repository.", 17817 "type": "integer" 17818 }, 17819 "size_str": { 17820 "description": "The calculated size of the repository (human readable).", 17821 "type": "string" 17822 }, 17823 "slug": { 17824 "description": "The slug identifies the repository in URIs.", 17825 "type": "string" 17826 }, 17827 "slug_perm": { 17828 "description": "The slug_perm immutably identifies the repository. It will never change once a repository has been created.", 17829 "type": "string" 17830 }, 17831 "storage_region": { 17832 "description": "The Cloudsmith region in which package files are stored.", 17833 "type": "string" 17834 } 17835 }, 17836 "required": [ 17837 "name" 17838 ], 17839 "title": "RepositoryCreate", 17840 "type": "object" 17841 } 17842 }, 17843 "400": { 17844 "description": "Request could not be processed (see detail)", 17845 "schema": { 17846 "properties": { 17847 "detail": { 17848 "description": "An extended message for the response.", 17849 "type": "string" 17850 } 17851 }, 17852 "required": [ 17853 "detail" 17854 ], 17855 "title": "Status", 17856 "type": "object" 17857 } 17858 }, 17859 "404": { 17860 "description": "Owner namespace not found", 17861 "schema": { 17862 "properties": { 17863 "detail": { 17864 "description": "An extended message for the response.", 17865 "type": "string" 17866 } 17867 }, 17868 "required": [ 17869 "detail" 17870 ], 17871 "title": "Status", 17872 "type": "object" 17873 } 17874 }, 17875 "422": { 17876 "description": "Missing or invalid parameters (see detail)", 17877 "schema": { 17878 "properties": { 17879 "detail": { 17880 "description": "An extended message for the response.", 17881 "type": "string" 17882 } 17883 }, 17884 "required": [ 17885 "detail" 17886 ], 17887 "title": "Status", 17888 "type": "object" 17889 } 17890 } 17891 }, 17892 "security": [ 17893 { 17894 "token": [] 17895 }, 17896 { 17897 "apikey": [] 17898 }, 17899 { 17900 "csrf_token": [] 17901 } 17902 ], 17903 "summary": "Create a new repository in a given namespace.", 17904 "tags": [ 17905 "repos" 17906 ] 17907 } 17908 }, 17909 "/repos/{owner}/{identifier}/": { 17910 "delete": { 17911 "description": "Delete a repository in a given namespace.", 17912 "operationId": "repos_delete", 17913 "parameters": [ 17914 { 17915 "description": "", 17916 "in": "path", 17917 "name": "owner", 17918 "required": true, 17919 "type": "string" 17920 }, 17921 { 17922 "description": "", 17923 "in": "path", 17924 "name": "identifier", 17925 "required": true, 17926 "type": "string" 17927 } 17928 ], 17929 "responses": { 17930 "200": { 17931 "description": "The repository has been scheduled for deletion" 17932 }, 17933 "400": { 17934 "description": "Request could not be processed (see detail)", 17935 "schema": { 17936 "properties": { 17937 "detail": { 17938 "description": "An extended message for the response.", 17939 "type": "string" 17940 } 17941 }, 17942 "required": [ 17943 "detail" 17944 ], 17945 "title": "Status", 17946 "type": "object" 17947 } 17948 }, 17949 "404": { 17950 "description": "Unable to find repository with that name in the provided namespace", 17951 "schema": { 17952 "properties": { 17953 "detail": { 17954 "description": "An extended message for the response.", 17955 "type": "string" 17956 } 17957 }, 17958 "required": [ 17959 "detail" 17960 ], 17961 "title": "Status", 17962 "type": "object" 17963 } 17964 }, 17965 "422": { 17966 "description": "Missing or invalid parameters (see detail)", 17967 "schema": { 17968 "properties": { 17969 "detail": { 17970 "description": "An extended message for the response.", 17971 "type": "string" 17972 } 17973 }, 17974 "required": [ 17975 "detail" 17976 ], 17977 "title": "Status", 17978 "type": "object" 17979 } 17980 } 17981 }, 17982 "security": [ 17983 { 17984 "token": [] 17985 }, 17986 { 17987 "apikey": [] 17988 }, 17989 { 17990 "csrf_token": [] 17991 } 17992 ], 17993 "summary": "Delete a repository in a given namespace.", 17994 "tags": [ 17995 "repos" 17996 ] 17997 }, 17998 "get": { 17999 "description": "Get a specific repository.", 18000 "operationId": "repos_read", 18001 "parameters": [ 18002 { 18003 "description": "", 18004 "in": "path", 18005 "name": "owner", 18006 "required": true, 18007 "type": "string" 18008 }, 18009 { 18010 "description": "", 18011 "in": "path", 18012 "name": "identifier", 18013 "required": true, 18014 "type": "string" 18015 } 18016 ], 18017 "responses": { 18018 "200": { 18019 "description": "Retrieved the specified repository", 18020 "schema": { 18021 "properties": { 18022 "cdn_url": { 18023 "description": "Base URL from which packages and other artifacts are downloaded.", 18024 "type": "string" 18025 }, 18026 "created_at": { 18027 "description": "", 18028 "type": "string" 18029 }, 18030 "deleted_at": { 18031 "description": "", 18032 "type": "string" 18033 }, 18034 "description": { 18035 "description": "A description of the repository's purpose/contents.", 18036 "type": "string" 18037 }, 18038 "gpg_keys": { 18039 "description": "", 18040 "items": { 18041 "properties": { 18042 "active": { 18043 "description": "If selected this is the active key for this repository.", 18044 "type": "boolean" 18045 }, 18046 "comment": { 18047 "description": "", 18048 "type": "string" 18049 }, 18050 "created_at": { 18051 "description": "", 18052 "type": "string" 18053 }, 18054 "default": { 18055 "description": "If selected this is the default key for this repository.", 18056 "type": "boolean" 18057 }, 18058 "fingerprint": { 18059 "description": "The long identifier used by GPG for this key.", 18060 "type": "string" 18061 }, 18062 "fingerprint_short": { 18063 "description": "", 18064 "type": "string" 18065 }, 18066 "public_key": { 18067 "description": "The public key given to repository users.", 18068 "type": "string" 18069 } 18070 }, 18071 "type": "object" 18072 }, 18073 "title": "Gpg keysList", 18074 "type": "array" 18075 }, 18076 "index_files": { 18077 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 18078 "type": "boolean" 18079 }, 18080 "is_open_source": { 18081 "description": "", 18082 "type": "boolean" 18083 }, 18084 "is_private": { 18085 "description": "", 18086 "type": "boolean" 18087 }, 18088 "is_public": { 18089 "description": "", 18090 "type": "boolean" 18091 }, 18092 "name": { 18093 "description": "A descriptive name for the repository.", 18094 "type": "string" 18095 }, 18096 "namespace": { 18097 "description": "Namespace to which this repository belongs.", 18098 "type": "string" 18099 }, 18100 "namespace_url": { 18101 "description": "API endpoint where data about this namespace can be retrieved.", 18102 "type": "string" 18103 }, 18104 "num_downloads": { 18105 "description": "The number of downloads for packages in the repository.", 18106 "type": "integer" 18107 }, 18108 "package_count": { 18109 "description": "The number of packages in the repository.", 18110 "type": "integer" 18111 }, 18112 "package_group_count": { 18113 "description": "The number of groups in the repository.", 18114 "type": "integer" 18115 }, 18116 "repository_type": { 18117 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.", 18118 "type": "string" 18119 }, 18120 "repository_type_str": { 18121 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 18122 "type": "string" 18123 }, 18124 "self_html_url": { 18125 "description": "Website URL for this repository.", 18126 "type": "string" 18127 }, 18128 "self_url": { 18129 "description": "API endpoint where data about this repository can be retrieved.", 18130 "type": "string" 18131 }, 18132 "size": { 18133 "description": "The calculated size of the repository.", 18134 "type": "integer" 18135 }, 18136 "size_str": { 18137 "description": "The calculated size of the repository (human readable).", 18138 "type": "string" 18139 }, 18140 "slug": { 18141 "description": "The slug identifies the repository in URIs.", 18142 "type": "string" 18143 }, 18144 "slug_perm": { 18145 "description": "The slug_perm immutably identifies the repository. It will never change once a repository has been created.", 18146 "type": "string" 18147 }, 18148 "storage_region": { 18149 "description": "The Cloudsmith region in which package files are stored.", 18150 "type": "string" 18151 } 18152 }, 18153 "required": [ 18154 "name" 18155 ], 18156 "title": "Repository", 18157 "type": "object" 18158 } 18159 }, 18160 "400": { 18161 "description": "Request could not be processed (see detail)", 18162 "schema": { 18163 "properties": { 18164 "detail": { 18165 "description": "An extended message for the response.", 18166 "type": "string" 18167 } 18168 }, 18169 "required": [ 18170 "detail" 18171 ], 18172 "title": "Status", 18173 "type": "object" 18174 } 18175 }, 18176 "404": { 18177 "description": "Owner namespace or repository not found", 18178 "schema": { 18179 "properties": { 18180 "detail": { 18181 "description": "An extended message for the response.", 18182 "type": "string" 18183 } 18184 }, 18185 "required": [ 18186 "detail" 18187 ], 18188 "title": "Status", 18189 "type": "object" 18190 } 18191 }, 18192 "422": { 18193 "description": "Missing or invalid parameters (see detail)", 18194 "schema": { 18195 "properties": { 18196 "detail": { 18197 "description": "An extended message for the response.", 18198 "type": "string" 18199 } 18200 }, 18201 "required": [ 18202 "detail" 18203 ], 18204 "title": "Status", 18205 "type": "object" 18206 } 18207 } 18208 }, 18209 "security": [ 18210 { 18211 "token": [] 18212 }, 18213 { 18214 "apikey": [] 18215 }, 18216 { 18217 "csrf_token": [] 18218 } 18219 ], 18220 "summary": "Get a specific repository.", 18221 "tags": [ 18222 "repos" 18223 ] 18224 }, 18225 "patch": { 18226 "consumes": [ 18227 "application/json" 18228 ], 18229 "description": "Update details about a repository in a given namespace.", 18230 "operationId": "repos_partial_update", 18231 "parameters": [ 18232 { 18233 "description": "", 18234 "in": "path", 18235 "name": "owner", 18236 "required": true, 18237 "type": "string" 18238 }, 18239 { 18240 "description": "", 18241 "in": "path", 18242 "name": "identifier", 18243 "required": true, 18244 "type": "string" 18245 }, 18246 { 18247 "in": "body", 18248 "name": "data", 18249 "schema": { 18250 "properties": { 18251 "description": { 18252 "description": "A description of the repository's purpose/contents.", 18253 "type": "string" 18254 }, 18255 "index_files": { 18256 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 18257 "type": "boolean" 18258 }, 18259 "name": { 18260 "description": "A descriptive name for the repository.", 18261 "type": "string" 18262 }, 18263 "repository_type_str": { 18264 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 18265 "type": "string" 18266 }, 18267 "slug": { 18268 "description": "The slug identifies the repository in URIs.", 18269 "type": "string" 18270 } 18271 }, 18272 "title": "ReposPartialUpdate", 18273 "type": "object" 18274 } 18275 } 18276 ], 18277 "responses": { 18278 "200": { 18279 "description": "The repository was updated", 18280 "schema": { 18281 "properties": { 18282 "cdn_url": { 18283 "description": "Base URL from which packages and other artifacts are downloaded.", 18284 "type": "string" 18285 }, 18286 "created_at": { 18287 "description": "", 18288 "type": "string" 18289 }, 18290 "deleted_at": { 18291 "description": "", 18292 "type": "string" 18293 }, 18294 "description": { 18295 "description": "A description of the repository's purpose/contents.", 18296 "type": "string" 18297 }, 18298 "gpg_keys": { 18299 "description": "", 18300 "items": { 18301 "properties": { 18302 "active": { 18303 "description": "If selected this is the active key for this repository.", 18304 "type": "boolean" 18305 }, 18306 "comment": { 18307 "description": "", 18308 "type": "string" 18309 }, 18310 "created_at": { 18311 "description": "", 18312 "type": "string" 18313 }, 18314 "default": { 18315 "description": "If selected this is the default key for this repository.", 18316 "type": "boolean" 18317 }, 18318 "fingerprint": { 18319 "description": "The long identifier used by GPG for this key.", 18320 "type": "string" 18321 }, 18322 "fingerprint_short": { 18323 "description": "", 18324 "type": "string" 18325 }, 18326 "public_key": { 18327 "description": "The public key given to repository users.", 18328 "type": "string" 18329 } 18330 }, 18331 "type": "object" 18332 }, 18333 "title": "Gpg keysList", 18334 "type": "array" 18335 }, 18336 "index_files": { 18337 "description": "If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted.", 18338 "type": "boolean" 18339 }, 18340 "is_open_source": { 18341 "description": "", 18342 "type": "boolean" 18343 }, 18344 "is_private": { 18345 "description": "", 18346 "type": "boolean" 18347 }, 18348 "is_public": { 18349 "description": "", 18350 "type": "boolean" 18351 }, 18352 "name": { 18353 "description": "A descriptive name for the repository.", 18354 "type": "string" 18355 }, 18356 "namespace": { 18357 "description": "Namespace to which this repository belongs.", 18358 "type": "string" 18359 }, 18360 "namespace_url": { 18361 "description": "API endpoint where data about this namespace can be retrieved.", 18362 "type": "string" 18363 }, 18364 "num_downloads": { 18365 "description": "The number of downloads for packages in the repository.", 18366 "type": "integer" 18367 }, 18368 "package_count": { 18369 "description": "The number of packages in the repository.", 18370 "type": "integer" 18371 }, 18372 "package_group_count": { 18373 "description": "The number of groups in the repository.", 18374 "type": "integer" 18375 }, 18376 "repository_type": { 18377 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time.", 18378 "type": "string" 18379 }, 18380 "repository_type_str": { 18381 "description": "The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users.", 18382 "type": "string" 18383 }, 18384 "self_html_url": { 18385 "description": "Website URL for this repository.", 18386 "type": "string" 18387 }, 18388 "self_url": { 18389 "description": "API endpoint where data about this repository can be retrieved.", 18390 "type": "string" 18391 }, 18392 "size": { 18393 "description": "The calculated size of the repository.", 18394 "type": "integer" 18395 }, 18396 "size_str": { 18397 "description": "The calculated size of the repository (human readable).", 18398 "type": "string" 18399 }, 18400 "slug": { 18401 "description": "The slug identifies the repository in URIs.", 18402 "type": "string" 18403 }, 18404 "slug_perm": { 18405 "description": "The slug_perm immutably identifies the repository. It will never change once a repository has been created.", 18406 "type": "string" 18407 }, 18408 "storage_region": { 18409 "description": "The Cloudsmith region in which package files are stored.", 18410 "type": "string" 18411 } 18412 }, 18413 "required": [ 18414 "name" 18415 ], 18416 "title": "Repository", 18417 "type": "object" 18418 } 18419 }, 18420 "400": { 18421 "description": "Request could not be processed (see detail)", 18422 "schema": { 18423 "properties": { 18424 "detail": { 18425 "description": "An extended message for the response.", 18426 "type": "string" 18427 } 18428 }, 18429 "required": [ 18430 "detail" 18431 ], 18432 "title": "Status", 18433 "type": "object" 18434 } 18435 }, 18436 "404": { 18437 "description": "Unable to find repository with that name in the provided namespace", 18438 "schema": { 18439 "properties": { 18440 "detail": { 18441 "description": "An extended message for the response.", 18442 "type": "string" 18443 } 18444 }, 18445 "required": [ 18446 "detail" 18447 ], 18448 "title": "Status", 18449 "type": "object" 18450 } 18451 }, 18452 "422": { 18453 "description": "Missing or invalid parameters (see detail)", 18454 "schema": { 18455 "properties": { 18456 "detail": { 18457 "description": "An extended message for the response.", 18458 "type": "string" 18459 } 18460 }, 18461 "required": [ 18462 "detail" 18463 ], 18464 "title": "Status", 18465 "type": "object" 18466 } 18467 } 18468 }, 18469 "security": [ 18470 { 18471 "token": [] 18472 }, 18473 { 18474 "apikey": [] 18475 }, 18476 { 18477 "csrf_token": [] 18478 } 18479 ], 18480 "summary": "Update details about a repository in a given namespace.", 18481 "tags": [ 18482 "repos" 18483 ] 18484 } 18485 }, 18486 "/status/check/basic/": { 18487 "get": { 18488 "description": "Endpoint to check basic API connectivity.", 18489 "operationId": "status_check_basic", 18490 "parameters": [], 18491 "responses": { 18492 "200": { 18493 "description": "Status check was successful", 18494 "schema": { 18495 "properties": { 18496 "detail": { 18497 "description": "The message describing the state of the API.", 18498 "example": "Cloudsmith API is operational.", 18499 "type": "string" 18500 }, 18501 "version": { 18502 "description": "The current version for the Cloudsmith service.", 18503 "example": "0.51.76", 18504 "type": "string" 18505 } 18506 }, 18507 "title": "StatusBasic", 18508 "type": "object" 18509 } 18510 }, 18511 "400": { 18512 "description": "Request could not be processed (see detail)", 18513 "schema": { 18514 "properties": { 18515 "detail": { 18516 "description": "An extended message for the response.", 18517 "type": "string" 18518 } 18519 }, 18520 "required": [ 18521 "detail" 18522 ], 18523 "title": "Status", 18524 "type": "object" 18525 } 18526 }, 18527 "422": { 18528 "description": "Missing or invalid parameters (see detail)", 18529 "schema": { 18530 "properties": { 18531 "detail": { 18532 "description": "An extended message for the response.", 18533 "type": "string" 18534 } 18535 }, 18536 "required": [ 18537 "detail" 18538 ], 18539 "title": "Status", 18540 "type": "object" 18541 } 18542 } 18543 }, 18544 "security": [], 18545 "summary": "Endpoint to check basic API connectivity.", 18546 "tags": [ 18547 "status" 18548 ] 18549 } 18550 }, 18551 "/storage-regions/": { 18552 "get": { 18553 "description": "Get a list of all available storage regions.", 18554 "operationId": "storage-regions_list", 18555 "parameters": [], 18556 "responses": { 18557 "200": { 18558 "description": "Available storage regions retrieved", 18559 "schema": { 18560 "items": { 18561 "properties": { 18562 "label": { 18563 "description": "Name of the storage region", 18564 "type": "string" 18565 }, 18566 "slug": { 18567 "description": "Slug for the storage region", 18568 "type": "string" 18569 } 18570 }, 18571 "required": [ 18572 "label", 18573 "slug" 18574 ], 18575 "title": "StorageRegion", 18576 "type": "object" 18577 }, 18578 "title": "StorageRegionList", 18579 "type": "array" 18580 } 18581 }, 18582 "400": { 18583 "description": "Request could not be processed (see detail)", 18584 "schema": { 18585 "properties": { 18586 "detail": { 18587 "description": "An extended message for the response.", 18588 "type": "string" 18589 } 18590 }, 18591 "required": [ 18592 "detail" 18593 ], 18594 "title": "Status", 18595 "type": "object" 18596 } 18597 }, 18598 "422": { 18599 "description": "Missing or invalid parameters (see detail)", 18600 "schema": { 18601 "properties": { 18602 "detail": { 18603 "description": "An extended message for the response.", 18604 "type": "string" 18605 } 18606 }, 18607 "required": [ 18608 "detail" 18609 ], 18610 "title": "Status", 18611 "type": "object" 18612 } 18613 } 18614 }, 18615 "security": [ 18616 { 18617 "token": [] 18618 }, 18619 { 18620 "apikey": [] 18621 }, 18622 { 18623 "csrf_token": [] 18624 } 18625 ], 18626 "summary": "Get a list of all available storage regions.", 18627 "tags": [ 18628 "storage-regions" 18629 ] 18630 } 18631 }, 18632 "/storage-regions/{slug}/": { 18633 "get": { 18634 "description": "Get a specific storage region.", 18635 "operationId": "storage-regions_read", 18636 "parameters": [ 18637 { 18638 "description": "", 18639 "in": "path", 18640 "name": "slug", 18641 "required": true, 18642 "type": "string" 18643 } 18644 ], 18645 "responses": { 18646 "200": { 18647 "description": "OK", 18648 "schema": { 18649 "properties": { 18650 "label": { 18651 "description": "Name of the storage region", 18652 "type": "string" 18653 }, 18654 "slug": { 18655 "description": "Slug for the storage region", 18656 "type": "string" 18657 } 18658 }, 18659 "required": [ 18660 "label", 18661 "slug" 18662 ], 18663 "title": "StorageRegion", 18664 "type": "object" 18665 } 18666 }, 18667 "400": { 18668 "description": "Request could not be processed (see detail)", 18669 "schema": { 18670 "properties": { 18671 "detail": { 18672 "description": "An extended message for the response.", 18673 "type": "string" 18674 } 18675 }, 18676 "required": [ 18677 "detail" 18678 ], 18679 "title": "Status", 18680 "type": "object" 18681 } 18682 }, 18683 "422": { 18684 "description": "Missing or invalid parameters (see detail)", 18685 "schema": { 18686 "properties": { 18687 "detail": { 18688 "description": "An extended message for the response.", 18689 "type": "string" 18690 } 18691 }, 18692 "required": [ 18693 "detail" 18694 ], 18695 "title": "Status", 18696 "type": "object" 18697 } 18698 } 18699 }, 18700 "security": [ 18701 { 18702 "token": [] 18703 }, 18704 { 18705 "apikey": [] 18706 }, 18707 { 18708 "csrf_token": [] 18709 } 18710 ], 18711 "summary": "Get a specific storage region.", 18712 "tags": [ 18713 "storage-regions" 18714 ] 18715 } 18716 }, 18717 "/user/self/": { 18718 "get": { 18719 "description": "Provide a brief for the current user (if any).", 18720 "operationId": "user_self", 18721 "parameters": [], 18722 "responses": { 18723 "200": { 18724 "description": "Retrieved brief for the current user", 18725 "schema": { 18726 "properties": { 18727 "authenticated": { 18728 "description": "If true then you're logged in as a user.", 18729 "example": true, 18730 "type": "boolean" 18731 }, 18732 "email": { 18733 "description": "Your email address that we use to contact you. This is only visible to you.", 18734 "example": "user@example.com", 18735 "type": "string" 18736 }, 18737 "name": { 18738 "description": "The full name of the user (if any).", 18739 "example": "Example User", 18740 "type": "string" 18741 }, 18742 "profile_url": { 18743 "description": "The URL for the full profile of the user.", 18744 "type": "string" 18745 }, 18746 "self_url": { 18747 "description": "", 18748 "type": "string" 18749 }, 18750 "slug": { 18751 "description": "", 18752 "example": "example-user", 18753 "type": "string" 18754 }, 18755 "slug_perm": { 18756 "description": "", 18757 "example": "x1y2z3z4y", 18758 "type": "string" 18759 } 18760 }, 18761 "title": "UserBrief", 18762 "type": "object" 18763 } 18764 }, 18765 "400": { 18766 "description": "Request could not be processed (see detail)", 18767 "schema": { 18768 "properties": { 18769 "detail": { 18770 "description": "An extended message for the response.", 18771 "type": "string" 18772 } 18773 }, 18774 "required": [ 18775 "detail" 18776 ], 18777 "title": "Status", 18778 "type": "object" 18779 } 18780 }, 18781 "422": { 18782 "description": "Missing or invalid parameters (see detail)", 18783 "schema": { 18784 "properties": { 18785 "detail": { 18786 "description": "An extended message for the response.", 18787 "type": "string" 18788 } 18789 }, 18790 "required": [ 18791 "detail" 18792 ], 18793 "title": "Status", 18794 "type": "object" 18795 } 18796 } 18797 }, 18798 "security": [ 18799 { 18800 "token": [] 18801 }, 18802 { 18803 "apikey": [] 18804 }, 18805 { 18806 "csrf_token": [] 18807 } 18808 ], 18809 "summary": "Provide a brief for the current user (if any).", 18810 "tags": [ 18811 "user" 18812 ] 18813 } 18814 }, 18815 "/user/token/": { 18816 "post": { 18817 "consumes": [ 18818 "application/json" 18819 ], 18820 "description": "Retrieve the API key/token for the authenticated user.", 18821 "operationId": "user_token_create", 18822 "parameters": [ 18823 { 18824 "in": "body", 18825 "name": "data", 18826 "schema": { 18827 "properties": { 18828 "email": { 18829 "description": "Email address to authenticate with", 18830 "type": "string" 18831 }, 18832 "password": { 18833 "description": "Password to authenticate with", 18834 "type": "string" 18835 } 18836 }, 18837 "title": "UserTokenCreate", 18838 "type": "object" 18839 } 18840 } 18841 ], 18842 "responses": { 18843 "201": { 18844 "description": "Retrieved/created user API token/key", 18845 "schema": { 18846 "properties": { 18847 "token": { 18848 "description": "API token for the authenticated user", 18849 "example": "y4682jh19cqf0b2ty4682jh19cqf0b2t", 18850 "type": "string" 18851 } 18852 }, 18853 "title": "UserAuthToken", 18854 "type": "object" 18855 } 18856 }, 18857 "400": { 18858 "description": "Request could not be processed (see detail)", 18859 "schema": { 18860 "properties": { 18861 "detail": { 18862 "description": "An extended message for the response.", 18863 "type": "string" 18864 } 18865 }, 18866 "required": [ 18867 "detail" 18868 ], 18869 "title": "Status", 18870 "type": "object" 18871 } 18872 }, 18873 "403": { 18874 "description": "Locked out", 18875 "schema": { 18876 "properties": { 18877 "detail": { 18878 "description": "An extended message for the response.", 18879 "type": "string" 18880 } 18881 }, 18882 "required": [ 18883 "detail" 18884 ], 18885 "title": "Status", 18886 "type": "object" 18887 } 18888 }, 18889 "422": { 18890 "description": "Failed to authenticate", 18891 "schema": { 18892 "properties": { 18893 "detail": { 18894 "description": "An extended message for the response.", 18895 "type": "string" 18896 } 18897 }, 18898 "required": [ 18899 "detail" 18900 ], 18901 "title": "Status", 18902 "type": "object" 18903 } 18904 } 18905 }, 18906 "security": [ 18907 { 18908 "token": [] 18909 }, 18910 { 18911 "apikey": [] 18912 }, 18913 { 18914 "csrf_token": [] 18915 } 18916 ], 18917 "summary": "Retrieve the API key/token for the authenticated user.", 18918 "tags": [ 18919 "user" 18920 ] 18921 } 18922 }, 18923 "/users/profile/{slug}/": { 18924 "get": { 18925 "description": "Provide a brief for the specified user (if any).", 18926 "operationId": "users_profile_read", 18927 "parameters": [ 18928 { 18929 "description": "", 18930 "in": "path", 18931 "name": "slug", 18932 "required": true, 18933 "type": "string" 18934 } 18935 ], 18936 "responses": { 18937 "200": { 18938 "description": "Retrieved details for the specified user (or current user, if none was specified)", 18939 "schema": { 18940 "properties": { 18941 "company": { 18942 "description": "", 18943 "type": "string" 18944 }, 18945 "first_name": { 18946 "description": "", 18947 "type": "string" 18948 }, 18949 "job_title": { 18950 "description": "", 18951 "type": "string" 18952 }, 18953 "joined_at": { 18954 "description": "", 18955 "type": "string" 18956 }, 18957 "last_name": { 18958 "description": "", 18959 "type": "string" 18960 }, 18961 "name": { 18962 "description": "", 18963 "type": "string" 18964 }, 18965 "slug": { 18966 "description": "", 18967 "type": "string" 18968 }, 18969 "slug_perm": { 18970 "description": "", 18971 "type": "string" 18972 }, 18973 "tagline": { 18974 "description": "Your tagline is a sentence about you. Make it funny. Make it professional. Either way, it's public and it represents who you are.", 18975 "type": "string" 18976 }, 18977 "url": { 18978 "description": "", 18979 "type": "string" 18980 } 18981 }, 18982 "required": [ 18983 "first_name", 18984 "last_name" 18985 ], 18986 "title": "UserProfile", 18987 "type": "object" 18988 } 18989 }, 18990 "400": { 18991 "description": "Request could not be processed (see detail)", 18992 "schema": { 18993 "properties": { 18994 "detail": { 18995 "description": "An extended message for the response.", 18996 "type": "string" 18997 } 18998 }, 18999 "required": [ 19000 "detail" 19001 ], 19002 "title": "Status", 19003 "type": "object" 19004 } 19005 }, 19006 "422": { 19007 "description": "Missing or invalid parameters (see detail)", 19008 "schema": { 19009 "properties": { 19010 "detail": { 19011 "description": "An extended message for the response.", 19012 "type": "string" 19013 } 19014 }, 19015 "required": [ 19016 "detail" 19017 ], 19018 "title": "Status", 19019 "type": "object" 19020 } 19021 } 19022 }, 19023 "security": [ 19024 { 19025 "token": [] 19026 }, 19027 { 19028 "apikey": [] 19029 }, 19030 { 19031 "csrf_token": [] 19032 } 19033 ], 19034 "summary": "Provide a brief for the specified user (if any).", 19035 "tags": [ 19036 "users" 19037 ] 19038 } 19039 }, 19040 "/webhooks/{owner}/{repo}/": { 19041 "get": { 19042 "description": "Get a list of all webhooks in a repository.", 19043 "operationId": "webhooks_list", 19044 "parameters": [ 19045 { 19046 "description": "", 19047 "in": "path", 19048 "name": "owner", 19049 "required": true, 19050 "type": "string" 19051 }, 19052 { 19053 "description": "", 19054 "in": "path", 19055 "name": "repo", 19056 "required": true, 19057 "type": "string" 19058 }, 19059 { 19060 "description": "A page number within the paginated result set.", 19061 "in": "query", 19062 "name": "page", 19063 "required": false, 19064 "type": "integer" 19065 }, 19066 { 19067 "description": "Number of results to return per page.", 19068 "in": "query", 19069 "name": "page_size", 19070 "required": false, 19071 "type": "integer" 19072 } 19073 ], 19074 "responses": { 19075 "200": { 19076 "description": "Retrieved the list of webhooks", 19077 "schema": { 19078 "items": { 19079 "properties": { 19080 "created_at": { 19081 "description": "", 19082 "type": "string" 19083 }, 19084 "created_by": { 19085 "description": "", 19086 "type": "string" 19087 }, 19088 "created_by_url": { 19089 "description": "", 19090 "type": "string" 19091 }, 19092 "disable_reason": { 19093 "description": "", 19094 "type": "string" 19095 }, 19096 "disable_reason_str": { 19097 "description": "", 19098 "type": "string" 19099 }, 19100 "events": { 19101 "description": "", 19102 "items": { 19103 "description": "", 19104 "type": "string" 19105 }, 19106 "title": "EventsList", 19107 "type": "array" 19108 }, 19109 "identifier": { 19110 "description": "", 19111 "type": "integer" 19112 }, 19113 "is_active": { 19114 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 19115 "type": "boolean" 19116 }, 19117 "is_last_response_bad": { 19118 "description": "", 19119 "type": "boolean" 19120 }, 19121 "last_response_status": { 19122 "description": "", 19123 "type": "integer" 19124 }, 19125 "last_response_status_str": { 19126 "description": "", 19127 "type": "string" 19128 }, 19129 "num_sent": { 19130 "description": "", 19131 "type": "integer" 19132 }, 19133 "request_body_format": { 19134 "description": "The format of the payloads for webhook requests.", 19135 "type": "string" 19136 }, 19137 "request_body_format_str": { 19138 "description": "", 19139 "type": "string" 19140 }, 19141 "request_body_template_format": { 19142 "description": "The format of the payloads for webhook requests.", 19143 "type": "string" 19144 }, 19145 "request_body_template_format_str": { 19146 "description": "", 19147 "type": "string" 19148 }, 19149 "request_content_type": { 19150 "description": "The value that will be sent for the 'Content Type' header. ", 19151 "type": "string" 19152 }, 19153 "secret_header": { 19154 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 19155 "type": "string" 19156 }, 19157 "self_url": { 19158 "description": "", 19159 "type": "string" 19160 }, 19161 "slug_perm": { 19162 "description": "", 19163 "type": "string" 19164 }, 19165 "target_url": { 19166 "description": "The destination URL that webhook payloads will be POST'ed to.", 19167 "type": "string" 19168 }, 19169 "templates": { 19170 "description": "", 19171 "items": { 19172 "properties": { 19173 "event": { 19174 "description": "", 19175 "type": "string" 19176 }, 19177 "template": { 19178 "description": "", 19179 "type": "string" 19180 } 19181 }, 19182 "type": "object" 19183 }, 19184 "title": "TemplatesList", 19185 "type": "array" 19186 }, 19187 "updated_at": { 19188 "description": "", 19189 "type": "string" 19190 }, 19191 "updated_by": { 19192 "description": "", 19193 "type": "string" 19194 }, 19195 "updated_by_url": { 19196 "description": "", 19197 "type": "string" 19198 }, 19199 "verify_ssl": { 19200 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 19201 "type": "boolean" 19202 } 19203 }, 19204 "required": [ 19205 "events", 19206 "target_url", 19207 "templates" 19208 ], 19209 "title": "RepositoryWebhook", 19210 "type": "object" 19211 }, 19212 "title": "RepositoryWebhookList", 19213 "type": "array" 19214 } 19215 }, 19216 "400": { 19217 "description": "Request could not be processed (see detail)", 19218 "schema": { 19219 "properties": { 19220 "detail": { 19221 "description": "An extended message for the response.", 19222 "type": "string" 19223 } 19224 }, 19225 "required": [ 19226 "detail" 19227 ], 19228 "title": "Status", 19229 "type": "object" 19230 } 19231 }, 19232 "404": { 19233 "description": "Owner namespace or repository not found", 19234 "schema": { 19235 "properties": { 19236 "detail": { 19237 "description": "An extended message for the response.", 19238 "type": "string" 19239 } 19240 }, 19241 "required": [ 19242 "detail" 19243 ], 19244 "title": "Status", 19245 "type": "object" 19246 } 19247 }, 19248 "422": { 19249 "description": "Missing or invalid parameters (see detail)", 19250 "schema": { 19251 "properties": { 19252 "detail": { 19253 "description": "An extended message for the response.", 19254 "type": "string" 19255 } 19256 }, 19257 "required": [ 19258 "detail" 19259 ], 19260 "title": "Status", 19261 "type": "object" 19262 } 19263 } 19264 }, 19265 "security": [ 19266 { 19267 "token": [] 19268 }, 19269 { 19270 "apikey": [] 19271 }, 19272 { 19273 "csrf_token": [] 19274 } 19275 ], 19276 "summary": "Get a list of all webhooks in a repository.", 19277 "tags": [ 19278 "webhooks" 19279 ] 19280 }, 19281 "post": { 19282 "consumes": [ 19283 "application/json" 19284 ], 19285 "description": "Create a specific webhook in a repository.", 19286 "operationId": "webhooks_create", 19287 "parameters": [ 19288 { 19289 "description": "", 19290 "in": "path", 19291 "name": "owner", 19292 "required": true, 19293 "type": "string" 19294 }, 19295 { 19296 "description": "", 19297 "in": "path", 19298 "name": "repo", 19299 "required": true, 19300 "type": "string" 19301 }, 19302 { 19303 "in": "body", 19304 "name": "data", 19305 "schema": { 19306 "properties": { 19307 "events": { 19308 "description": "None", 19309 "items": { 19310 "description": "", 19311 "type": "string" 19312 }, 19313 "title": "EventsList", 19314 "type": "array" 19315 }, 19316 "is_active": { 19317 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 19318 "type": "boolean" 19319 }, 19320 "request_body_format": { 19321 "description": "The format of the payloads for webhook requests.", 19322 "type": "string" 19323 }, 19324 "request_body_template_format": { 19325 "description": "The format of the payloads for webhook requests.", 19326 "type": "string" 19327 }, 19328 "request_content_type": { 19329 "description": "The value that will be sent for the 'Content Type' header. ", 19330 "type": "string" 19331 }, 19332 "secret_header": { 19333 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 19334 "type": "string" 19335 }, 19336 "secret_value": { 19337 "description": "The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side.", 19338 "type": "string" 19339 }, 19340 "signature_key": { 19341 "description": "The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it).", 19342 "type": "string" 19343 }, 19344 "target_url": { 19345 "description": "The destination URL that webhook payloads will be POST'ed to.", 19346 "type": "string" 19347 }, 19348 "templates": { 19349 "description": "None", 19350 "items": { 19351 "properties": { 19352 "event": { 19353 "description": "", 19354 "type": "string" 19355 }, 19356 "template": { 19357 "description": "", 19358 "type": "string" 19359 } 19360 }, 19361 "type": "object" 19362 }, 19363 "title": "TemplatesList", 19364 "type": "array" 19365 }, 19366 "verify_ssl": { 19367 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 19368 "type": "boolean" 19369 } 19370 }, 19371 "required": [ 19372 "events", 19373 "target_url", 19374 "templates" 19375 ], 19376 "title": "WebhooksCreate", 19377 "type": "object" 19378 } 19379 } 19380 ], 19381 "responses": { 19382 "200": { 19383 "description": "Created the specified webhook", 19384 "schema": { 19385 "properties": { 19386 "created_at": { 19387 "description": "", 19388 "type": "string" 19389 }, 19390 "created_by": { 19391 "description": "", 19392 "type": "string" 19393 }, 19394 "created_by_url": { 19395 "description": "", 19396 "type": "string" 19397 }, 19398 "disable_reason": { 19399 "description": "", 19400 "type": "string" 19401 }, 19402 "disable_reason_str": { 19403 "description": "", 19404 "type": "string" 19405 }, 19406 "events": { 19407 "description": "", 19408 "items": { 19409 "description": "", 19410 "type": "string" 19411 }, 19412 "title": "EventsList", 19413 "type": "array" 19414 }, 19415 "identifier": { 19416 "description": "", 19417 "type": "integer" 19418 }, 19419 "is_active": { 19420 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 19421 "type": "boolean" 19422 }, 19423 "is_last_response_bad": { 19424 "description": "", 19425 "type": "boolean" 19426 }, 19427 "last_response_status": { 19428 "description": "", 19429 "type": "integer" 19430 }, 19431 "last_response_status_str": { 19432 "description": "", 19433 "type": "string" 19434 }, 19435 "num_sent": { 19436 "description": "", 19437 "type": "integer" 19438 }, 19439 "request_body_format": { 19440 "description": "The format of the payloads for webhook requests.", 19441 "type": "string" 19442 }, 19443 "request_body_format_str": { 19444 "description": "", 19445 "type": "string" 19446 }, 19447 "request_body_template_format": { 19448 "description": "The format of the payloads for webhook requests.", 19449 "type": "string" 19450 }, 19451 "request_body_template_format_str": { 19452 "description": "", 19453 "type": "string" 19454 }, 19455 "request_content_type": { 19456 "description": "The value that will be sent for the 'Content Type' header. ", 19457 "type": "string" 19458 }, 19459 "secret_header": { 19460 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 19461 "type": "string" 19462 }, 19463 "self_url": { 19464 "description": "", 19465 "type": "string" 19466 }, 19467 "slug_perm": { 19468 "description": "", 19469 "type": "string" 19470 }, 19471 "target_url": { 19472 "description": "The destination URL that webhook payloads will be POST'ed to.", 19473 "type": "string" 19474 }, 19475 "templates": { 19476 "description": "", 19477 "items": { 19478 "properties": { 19479 "event": { 19480 "description": "", 19481 "type": "string" 19482 }, 19483 "template": { 19484 "description": "", 19485 "type": "string" 19486 } 19487 }, 19488 "type": "object" 19489 }, 19490 "title": "TemplatesList", 19491 "type": "array" 19492 }, 19493 "updated_at": { 19494 "description": "", 19495 "type": "string" 19496 }, 19497 "updated_by": { 19498 "description": "", 19499 "type": "string" 19500 }, 19501 "updated_by_url": { 19502 "description": "", 19503 "type": "string" 19504 }, 19505 "verify_ssl": { 19506 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 19507 "type": "boolean" 19508 } 19509 }, 19510 "required": [ 19511 "events", 19512 "target_url", 19513 "templates" 19514 ], 19515 "title": "RepositoryWebhook", 19516 "type": "object" 19517 } 19518 }, 19519 "400": { 19520 "description": "Request could not be processed (see detail)", 19521 "schema": { 19522 "properties": { 19523 "detail": { 19524 "description": "An extended message for the response.", 19525 "type": "string" 19526 } 19527 }, 19528 "required": [ 19529 "detail" 19530 ], 19531 "title": "Status", 19532 "type": "object" 19533 } 19534 }, 19535 "404": { 19536 "description": "Owner namespace or repository not found", 19537 "schema": { 19538 "properties": { 19539 "detail": { 19540 "description": "An extended message for the response.", 19541 "type": "string" 19542 } 19543 }, 19544 "required": [ 19545 "detail" 19546 ], 19547 "title": "Status", 19548 "type": "object" 19549 } 19550 }, 19551 "422": { 19552 "description": "Missing or invalid parameters (see detail)", 19553 "schema": { 19554 "properties": { 19555 "detail": { 19556 "description": "An extended message for the response.", 19557 "type": "string" 19558 } 19559 }, 19560 "required": [ 19561 "detail" 19562 ], 19563 "title": "Status", 19564 "type": "object" 19565 } 19566 } 19567 }, 19568 "security": [ 19569 { 19570 "token": [] 19571 }, 19572 { 19573 "apikey": [] 19574 }, 19575 { 19576 "csrf_token": [] 19577 } 19578 ], 19579 "summary": "Create a specific webhook in a repository.", 19580 "tags": [ 19581 "webhooks" 19582 ] 19583 } 19584 }, 19585 "/webhooks/{owner}/{repo}/{identifier}/": { 19586 "delete": { 19587 "description": "Delete a specific webhook in a repository.", 19588 "operationId": "webhooks_delete", 19589 "parameters": [ 19590 { 19591 "description": "", 19592 "in": "path", 19593 "name": "owner", 19594 "required": true, 19595 "type": "string" 19596 }, 19597 { 19598 "description": "", 19599 "in": "path", 19600 "name": "repo", 19601 "required": true, 19602 "type": "string" 19603 }, 19604 { 19605 "description": "", 19606 "in": "path", 19607 "name": "identifier", 19608 "required": true, 19609 "type": "string" 19610 } 19611 ], 19612 "responses": { 19613 "204": { 19614 "description": "Deleted the specified webhook successfully" 19615 }, 19616 "400": { 19617 "description": "The webhook cannot be deleted", 19618 "schema": { 19619 "properties": { 19620 "detail": { 19621 "description": "An extended message for the response.", 19622 "type": "string" 19623 } 19624 }, 19625 "required": [ 19626 "detail" 19627 ], 19628 "title": "Status", 19629 "type": "object" 19630 } 19631 }, 19632 "422": { 19633 "description": "Missing or invalid parameters (see detail)", 19634 "schema": { 19635 "properties": { 19636 "detail": { 19637 "description": "An extended message for the response.", 19638 "type": "string" 19639 } 19640 }, 19641 "required": [ 19642 "detail" 19643 ], 19644 "title": "Status", 19645 "type": "object" 19646 } 19647 } 19648 }, 19649 "security": [ 19650 { 19651 "token": [] 19652 }, 19653 { 19654 "apikey": [] 19655 }, 19656 { 19657 "csrf_token": [] 19658 } 19659 ], 19660 "summary": "Delete a specific webhook in a repository.", 19661 "tags": [ 19662 "webhooks" 19663 ] 19664 }, 19665 "get": { 19666 "description": "Views for working with repository webhooks.", 19667 "operationId": "webhooks_read", 19668 "parameters": [ 19669 { 19670 "description": "", 19671 "in": "path", 19672 "name": "owner", 19673 "required": true, 19674 "type": "string" 19675 }, 19676 { 19677 "description": "", 19678 "in": "path", 19679 "name": "repo", 19680 "required": true, 19681 "type": "string" 19682 }, 19683 { 19684 "description": "", 19685 "in": "path", 19686 "name": "identifier", 19687 "required": true, 19688 "type": "string" 19689 } 19690 ], 19691 "responses": { 19692 "200": { 19693 "description": "OK", 19694 "schema": { 19695 "properties": { 19696 "created_at": { 19697 "description": "", 19698 "type": "string" 19699 }, 19700 "created_by": { 19701 "description": "", 19702 "type": "string" 19703 }, 19704 "created_by_url": { 19705 "description": "", 19706 "type": "string" 19707 }, 19708 "disable_reason": { 19709 "description": "", 19710 "type": "string" 19711 }, 19712 "disable_reason_str": { 19713 "description": "", 19714 "type": "string" 19715 }, 19716 "events": { 19717 "description": "", 19718 "items": { 19719 "description": "", 19720 "type": "string" 19721 }, 19722 "title": "EventsList", 19723 "type": "array" 19724 }, 19725 "identifier": { 19726 "description": "", 19727 "type": "integer" 19728 }, 19729 "is_active": { 19730 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 19731 "type": "boolean" 19732 }, 19733 "is_last_response_bad": { 19734 "description": "", 19735 "type": "boolean" 19736 }, 19737 "last_response_status": { 19738 "description": "", 19739 "type": "integer" 19740 }, 19741 "last_response_status_str": { 19742 "description": "", 19743 "type": "string" 19744 }, 19745 "num_sent": { 19746 "description": "", 19747 "type": "integer" 19748 }, 19749 "request_body_format": { 19750 "description": "The format of the payloads for webhook requests.", 19751 "type": "string" 19752 }, 19753 "request_body_format_str": { 19754 "description": "", 19755 "type": "string" 19756 }, 19757 "request_body_template_format": { 19758 "description": "The format of the payloads for webhook requests.", 19759 "type": "string" 19760 }, 19761 "request_body_template_format_str": { 19762 "description": "", 19763 "type": "string" 19764 }, 19765 "request_content_type": { 19766 "description": "The value that will be sent for the 'Content Type' header. ", 19767 "type": "string" 19768 }, 19769 "secret_header": { 19770 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 19771 "type": "string" 19772 }, 19773 "self_url": { 19774 "description": "", 19775 "type": "string" 19776 }, 19777 "slug_perm": { 19778 "description": "", 19779 "type": "string" 19780 }, 19781 "target_url": { 19782 "description": "The destination URL that webhook payloads will be POST'ed to.", 19783 "type": "string" 19784 }, 19785 "templates": { 19786 "description": "", 19787 "items": { 19788 "properties": { 19789 "event": { 19790 "description": "", 19791 "type": "string" 19792 }, 19793 "template": { 19794 "description": "", 19795 "type": "string" 19796 } 19797 }, 19798 "type": "object" 19799 }, 19800 "title": "TemplatesList", 19801 "type": "array" 19802 }, 19803 "updated_at": { 19804 "description": "", 19805 "type": "string" 19806 }, 19807 "updated_by": { 19808 "description": "", 19809 "type": "string" 19810 }, 19811 "updated_by_url": { 19812 "description": "", 19813 "type": "string" 19814 }, 19815 "verify_ssl": { 19816 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 19817 "type": "boolean" 19818 } 19819 }, 19820 "required": [ 19821 "events", 19822 "target_url", 19823 "templates" 19824 ], 19825 "title": "RepositoryWebhook", 19826 "type": "object" 19827 } 19828 }, 19829 "400": { 19830 "description": "Request could not be processed (see detail)", 19831 "schema": { 19832 "properties": { 19833 "detail": { 19834 "description": "An extended message for the response.", 19835 "type": "string" 19836 } 19837 }, 19838 "required": [ 19839 "detail" 19840 ], 19841 "title": "Status", 19842 "type": "object" 19843 } 19844 }, 19845 "422": { 19846 "description": "Missing or invalid parameters (see detail)", 19847 "schema": { 19848 "properties": { 19849 "detail": { 19850 "description": "An extended message for the response.", 19851 "type": "string" 19852 } 19853 }, 19854 "required": [ 19855 "detail" 19856 ], 19857 "title": "Status", 19858 "type": "object" 19859 } 19860 } 19861 }, 19862 "security": [ 19863 { 19864 "token": [] 19865 }, 19866 { 19867 "apikey": [] 19868 }, 19869 { 19870 "csrf_token": [] 19871 } 19872 ], 19873 "summary": "Views for working with repository webhooks.", 19874 "tags": [ 19875 "webhooks" 19876 ] 19877 }, 19878 "patch": { 19879 "consumes": [ 19880 "application/json" 19881 ], 19882 "description": "Update a specific webhook in a repository.", 19883 "operationId": "webhooks_partial_update", 19884 "parameters": [ 19885 { 19886 "description": "", 19887 "in": "path", 19888 "name": "owner", 19889 "required": true, 19890 "type": "string" 19891 }, 19892 { 19893 "description": "", 19894 "in": "path", 19895 "name": "repo", 19896 "required": true, 19897 "type": "string" 19898 }, 19899 { 19900 "description": "", 19901 "in": "path", 19902 "name": "identifier", 19903 "required": true, 19904 "type": "string" 19905 }, 19906 { 19907 "in": "body", 19908 "name": "data", 19909 "schema": { 19910 "properties": { 19911 "events": { 19912 "description": "None", 19913 "items": { 19914 "description": "", 19915 "type": "string" 19916 }, 19917 "title": "EventsList", 19918 "type": "array" 19919 }, 19920 "is_active": { 19921 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 19922 "type": "boolean" 19923 }, 19924 "request_body_format": { 19925 "description": "The format of the payloads for webhook requests.", 19926 "type": "string" 19927 }, 19928 "request_body_template_format": { 19929 "description": "The format of the payloads for webhook requests.", 19930 "type": "string" 19931 }, 19932 "request_content_type": { 19933 "description": "The value that will be sent for the 'Content Type' header. ", 19934 "type": "string" 19935 }, 19936 "secret_header": { 19937 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 19938 "type": "string" 19939 }, 19940 "secret_value": { 19941 "description": "The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side.", 19942 "type": "string" 19943 }, 19944 "signature_key": { 19945 "description": "The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it).", 19946 "type": "string" 19947 }, 19948 "target_url": { 19949 "description": "The destination URL that webhook payloads will be POST'ed to.", 19950 "type": "string" 19951 }, 19952 "templates": { 19953 "description": "None", 19954 "items": { 19955 "properties": { 19956 "event": { 19957 "description": "", 19958 "type": "string" 19959 }, 19960 "template": { 19961 "description": "", 19962 "type": "string" 19963 } 19964 }, 19965 "type": "object" 19966 }, 19967 "title": "TemplatesList", 19968 "type": "array" 19969 }, 19970 "verify_ssl": { 19971 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 19972 "type": "boolean" 19973 } 19974 }, 19975 "title": "WebhooksPartialUpdate", 19976 "type": "object" 19977 } 19978 } 19979 ], 19980 "responses": { 19981 "200": { 19982 "description": "Updated the specified webhook", 19983 "schema": { 19984 "properties": { 19985 "created_at": { 19986 "description": "", 19987 "type": "string" 19988 }, 19989 "created_by": { 19990 "description": "", 19991 "type": "string" 19992 }, 19993 "created_by_url": { 19994 "description": "", 19995 "type": "string" 19996 }, 19997 "disable_reason": { 19998 "description": "", 19999 "type": "string" 20000 }, 20001 "disable_reason_str": { 20002 "description": "", 20003 "type": "string" 20004 }, 20005 "events": { 20006 "description": "", 20007 "items": { 20008 "description": "", 20009 "type": "string" 20010 }, 20011 "title": "EventsList", 20012 "type": "array" 20013 }, 20014 "identifier": { 20015 "description": "", 20016 "type": "integer" 20017 }, 20018 "is_active": { 20019 "description": "If enabled, the webhook will trigger on events and send payloads to the configured target URL.", 20020 "type": "boolean" 20021 }, 20022 "is_last_response_bad": { 20023 "description": "", 20024 "type": "boolean" 20025 }, 20026 "last_response_status": { 20027 "description": "", 20028 "type": "integer" 20029 }, 20030 "last_response_status_str": { 20031 "description": "", 20032 "type": "string" 20033 }, 20034 "num_sent": { 20035 "description": "", 20036 "type": "integer" 20037 }, 20038 "request_body_format": { 20039 "description": "The format of the payloads for webhook requests.", 20040 "type": "string" 20041 }, 20042 "request_body_format_str": { 20043 "description": "", 20044 "type": "string" 20045 }, 20046 "request_body_template_format": { 20047 "description": "The format of the payloads for webhook requests.", 20048 "type": "string" 20049 }, 20050 "request_body_template_format_str": { 20051 "description": "", 20052 "type": "string" 20053 }, 20054 "request_content_type": { 20055 "description": "The value that will be sent for the 'Content Type' header. ", 20056 "type": "string" 20057 }, 20058 "secret_header": { 20059 "description": "The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side.", 20060 "type": "string" 20061 }, 20062 "self_url": { 20063 "description": "", 20064 "type": "string" 20065 }, 20066 "slug_perm": { 20067 "description": "", 20068 "type": "string" 20069 }, 20070 "target_url": { 20071 "description": "The destination URL that webhook payloads will be POST'ed to.", 20072 "type": "string" 20073 }, 20074 "templates": { 20075 "description": "", 20076 "items": { 20077 "properties": { 20078 "event": { 20079 "description": "", 20080 "type": "string" 20081 }, 20082 "template": { 20083 "description": "", 20084 "type": "string" 20085 } 20086 }, 20087 "type": "object" 20088 }, 20089 "title": "TemplatesList", 20090 "type": "array" 20091 }, 20092 "updated_at": { 20093 "description": "", 20094 "type": "string" 20095 }, 20096 "updated_by": { 20097 "description": "", 20098 "type": "string" 20099 }, 20100 "updated_by_url": { 20101 "description": "", 20102 "type": "string" 20103 }, 20104 "verify_ssl": { 20105 "description": "If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks.", 20106 "type": "boolean" 20107 } 20108 }, 20109 "required": [ 20110 "events", 20111 "target_url", 20112 "templates" 20113 ], 20114 "title": "RepositoryWebhook", 20115 "type": "object" 20116 } 20117 }, 20118 "400": { 20119 "description": "Request could not be processed (see detail)", 20120 "schema": { 20121 "properties": { 20122 "detail": { 20123 "description": "An extended message for the response.", 20124 "type": "string" 20125 } 20126 }, 20127 "required": [ 20128 "detail" 20129 ], 20130 "title": "Status", 20131 "type": "object" 20132 } 20133 }, 20134 "404": { 20135 "description": "Owner namespace or repository not found", 20136 "schema": { 20137 "properties": { 20138 "detail": { 20139 "description": "An extended message for the response.", 20140 "type": "string" 20141 } 20142 }, 20143 "required": [ 20144 "detail" 20145 ], 20146 "title": "Status", 20147 "type": "object" 20148 } 20149 }, 20150 "422": { 20151 "description": "Missing or invalid parameters (see detail)", 20152 "schema": { 20153 "properties": { 20154 "detail": { 20155 "description": "An extended message for the response.", 20156 "type": "string" 20157 } 20158 }, 20159 "required": [ 20160 "detail" 20161 ], 20162 "title": "Status", 20163 "type": "object" 20164 } 20165 } 20166 }, 20167 "security": [ 20168 { 20169 "token": [] 20170 }, 20171 { 20172 "apikey": [] 20173 }, 20174 { 20175 "csrf_token": [] 20176 } 20177 ], 20178 "summary": "Update a specific webhook in a repository.", 20179 "tags": [ 20180 "webhooks" 20181 ] 20182 } 20183 } 20184 }, 20185 "schemes": [ 20186 "https" 20187 ], 20188 "securityDefinitions": { 20189 "apikey": { 20190 "in": "header", 20191 "name": "X-Api-Key", 20192 "type": "apiKey" 20193 }, 20194 "basic": { 20195 "type": "basic" 20196 }, 20197 "csrf_token": { 20198 "in": "header", 20199 "name": "X-CSRFToken", 20200 "type": "apiKey" 20201 } 20202 }, 20203 "swagger": "2.0" 20204 }