|
2 | 2 | "components": {
|
3 | 3 | "schemas": {
|
4 | 4 | "Config": {
|
5 |
| - "additionalProperties": false, |
6 | 5 | "properties": {
|
7 | 6 | "backend": {
|
8 | 7 | "discriminator": {
|
|
41 | 40 | "type": "integer",
|
42 | 41 | "x-go-type": "uint64"
|
43 | 42 | },
|
| 43 | + "optimizer": { |
| 44 | + "$ref": "#/components/schemas/Optimizer" |
| 45 | + }, |
44 | 46 | "regions": {
|
45 | 47 | "items": {
|
46 | 48 | "$ref": "#/components/schemas/Region"
|
|
59 | 61 | "type": "object"
|
60 | 62 | },
|
61 | 63 | "ConfigPatch": {
|
62 |
| - "additionalProperties": false, |
63 | 64 | "properties": {
|
64 | 65 | "backend": {
|
65 | 66 | "discriminator": {
|
|
98 | 99 | "type": "integer",
|
99 | 100 | "x-go-type": "uint64"
|
100 | 101 | },
|
| 102 | + "optimizer": { |
| 103 | + "$ref": "#/components/schemas/OptimizerPatch" |
| 104 | + }, |
101 | 105 | "regions": {
|
102 | 106 | "items": {
|
103 | 107 | "$ref": "#/components/schemas/Region"
|
|
110 | 114 | "type": "object"
|
111 | 115 | },
|
112 | 116 | "CreateDistributionPayload": {
|
113 |
| - "additionalProperties": false, |
114 | 117 | "properties": {
|
115 | 118 | "blockedCountries": {
|
116 | 119 | "description": "Restricts access to your content based on country. \nWe use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). \nThis setting blocks users from the specified countries.\n",
|
|
139 | 142 | "type": "integer",
|
140 | 143 | "x-go-type": "uint64"
|
141 | 144 | },
|
| 145 | + "optimizer": { |
| 146 | + "$ref": "#/components/schemas/Optimizer" |
| 147 | + }, |
142 | 148 | "originRequestHeaders": {
|
143 | 149 | "additionalProperties": {
|
144 | 150 | "type": "string"
|
|
168 | 174 | "type": "object"
|
169 | 175 | },
|
170 | 176 | "CreateDistributionResponse": {
|
171 |
| - "additionalProperties": false, |
172 | 177 | "properties": {
|
173 | 178 | "distribution": {
|
174 | 179 | "$ref": "#/components/schemas/Distribution"
|
|
180 | 185 | "type": "object"
|
181 | 186 | },
|
182 | 187 | "CustomDomain": {
|
183 |
| - "additionalProperties": false, |
184 | 188 | "description": "Definition of a custom domain",
|
185 | 189 | "properties": {
|
186 | 190 | "errors": {
|
|
207 | 211 | "type": "object"
|
208 | 212 | },
|
209 | 213 | "DeleteCustomDomainResponse": {
|
210 |
| - "additionalProperties": false, |
211 | 214 | "description": "Returns the custom domain that was deleted while the deletion has not completed yet. After the deletion was successful the response will be empty.",
|
212 | 215 | "properties": {
|
213 | 216 | "customDomain": {
|
|
217 | 220 | "type": "object"
|
218 | 221 | },
|
219 | 222 | "DeleteDistributionResponse": {
|
220 |
| - "additionalProperties": false, |
221 | 223 | "properties": {
|
222 | 224 | "distribution": {
|
223 | 225 | "$ref": "#/components/schemas/Distribution"
|
|
226 | 228 | "type": "object"
|
227 | 229 | },
|
228 | 230 | "Distribution": {
|
229 |
| - "additionalProperties": false, |
230 | 231 | "properties": {
|
231 | 232 | "config": {
|
232 | 233 | "$ref": "#/components/schemas/Config"
|
|
431 | 432 | "type": "object"
|
432 | 433 | },
|
433 | 434 | "Domain": {
|
434 |
| - "additionalProperties": false, |
435 | 435 | "description": "Definition of a custom or managed domain without any certificates or keys",
|
436 | 436 | "properties": {
|
437 | 437 | "errors": {
|
|
478 | 478 | "type": "string"
|
479 | 479 | },
|
480 | 480 | "ErrorDetails": {
|
481 |
| - "additionalProperties": false, |
482 | 481 | "properties": {
|
483 | 482 | "de": {
|
484 | 483 | "description": "German description of the error",
|
|
518 | 517 | "type": "object"
|
519 | 518 | },
|
520 | 519 | "FindCachePathsResponse": {
|
521 |
| - "additionalProperties": false, |
522 | 520 | "properties": {
|
523 | 521 | "response": {
|
524 | 522 | "items": {
|
|
534 | 532 | "type": "object"
|
535 | 533 | },
|
536 | 534 | "FindCachePathsResponseEntry": {
|
537 |
| - "additionalProperties": false, |
538 | 535 | "properties": {
|
539 | 536 | "path": {
|
540 | 537 | "description": "Defines one path that was previously used as part of a granular purge",
|
|
548 | 545 | "type": "object"
|
549 | 546 | },
|
550 | 547 | "GenericJSONResponse": {
|
551 |
| - "additionalProperties": false, |
552 | 548 | "properties": {
|
553 | 549 | "details": {
|
554 | 550 | "description": "Listing of issues with your request",
|
|
569 | 565 | "type": "object"
|
570 | 566 | },
|
571 | 567 | "GetCacheInfoResponse": {
|
572 |
| - "additionalProperties": false, |
573 | 568 | "properties": {
|
574 | 569 | "history": {
|
575 | 570 | "items": {
|
|
592 | 587 | "type": "object"
|
593 | 588 | },
|
594 | 589 | "GetCacheInfoResponseHistoryEntry": {
|
595 |
| - "additionalProperties": false, |
596 | 590 | "properties": {
|
597 | 591 | "occuredAt": {
|
598 | 592 | "deprecated": true,
|
|
619 | 613 | "type": "object"
|
620 | 614 | },
|
621 | 615 | "GetCustomDomainResponse": {
|
622 |
| - "additionalProperties": false, |
623 | 616 | "properties": {
|
624 | 617 | "customDomain": {
|
625 | 618 | "$ref": "#/components/schemas/CustomDomain"
|
|
638 | 631 | "type": "object"
|
639 | 632 | },
|
640 | 633 | "GetDistributionResponse": {
|
641 |
| - "additionalProperties": false, |
642 | 634 | "properties": {
|
643 | 635 | "distribution": {
|
644 | 636 | "$ref": "#/components/schemas/Distribution"
|
|
650 | 642 | "type": "object"
|
651 | 643 | },
|
652 | 644 | "GetLogsResponse": {
|
653 |
| - "additionalProperties": false, |
654 | 645 | "properties": {
|
655 | 646 | "logs": {
|
656 | 647 | "items": {
|
|
667 | 658 | ]
|
668 | 659 | },
|
669 | 660 | "GetStatisticsResponse": {
|
670 |
| - "additionalProperties": false, |
671 | 661 | "properties": {
|
672 | 662 | "records": {
|
673 | 663 | "items": {
|
|
681 | 671 | ]
|
682 | 672 | },
|
683 | 673 | "HttpBackend": {
|
684 |
| - "additionalProperties": false, |
685 | 674 | "properties": {
|
686 | 675 | "originRequestHeaders": {
|
687 | 676 | "additionalProperties": {
|
|
705 | 694 | "type": "object"
|
706 | 695 | },
|
707 | 696 | "HttpBackendPatch": {
|
708 |
| - "additionalProperties": false, |
709 | 697 | "description": "A partial HTTP Backend",
|
710 | 698 | "properties": {
|
711 | 699 | "originRequestHeaders": {
|
|
730 | 718 | "type": "object"
|
731 | 719 | },
|
732 | 720 | "ListDistributionsResponse": {
|
733 |
| - "additionalProperties": false, |
734 | 721 | "properties": {
|
735 | 722 | "distributions": {
|
736 | 723 | "items": {
|
|
747 | 734 | ],
|
748 | 735 | "type": "object"
|
749 | 736 | },
|
| 737 | + "Optimizer": { |
| 738 | + "description": "Optimizer is paid feature, a real-time on the fly image manipulation and optimization service that automatically optimizes your images for faster image delivery.\n", |
| 739 | + "properties": { |
| 740 | + "enabled": { |
| 741 | + "description": "Determines if the optimizer should be enabled for this distribution and incurs a monthly fee", |
| 742 | + "type": "boolean" |
| 743 | + } |
| 744 | + }, |
| 745 | + "required": [ |
| 746 | + "enabled" |
| 747 | + ], |
| 748 | + "type": "object" |
| 749 | + }, |
| 750 | + "OptimizerPatch": { |
| 751 | + "properties": { |
| 752 | + "enabled": { |
| 753 | + "type": "boolean" |
| 754 | + } |
| 755 | + }, |
| 756 | + "type": "object" |
| 757 | + }, |
750 | 758 | "PatchDistributionPayload": {
|
751 |
| - "additionalProperties": false, |
752 | 759 | "description": "Defines a partial distribution. Set values ",
|
753 | 760 | "properties": {
|
754 | 761 | "config": {
|
|
762 | 769 | "type": "object"
|
763 | 770 | },
|
764 | 771 | "PatchDistributionResponse": {
|
765 |
| - "additionalProperties": false, |
766 | 772 | "properties": {
|
767 | 773 | "distribution": {
|
768 | 774 | "$ref": "#/components/schemas/Distribution"
|
|
774 | 780 | "type": "object"
|
775 | 781 | },
|
776 | 782 | "PurgeCachePayload": {
|
777 |
| - "additionalProperties": false, |
778 | 783 | "properties": {
|
779 | 784 | "path": {
|
780 | 785 | "description": "Defines an optional path. If this is set, a granular purge is done. If missing, the entire cache is invalidated. \nDuring a granular cache purge, only the provided path is purged. \n\nPlease do not that for example `/some/path` and `/some/path.txt` are considered different paths.\n",
|
|
784 | 789 | "type": "object"
|
785 | 790 | },
|
786 | 791 | "PurgeCacheResponse": {
|
787 |
| - "additionalProperties": false, |
788 | 792 | "type": "object"
|
789 | 793 | },
|
790 | 794 | "PutCustomDomainPayload": {
|
791 |
| - "additionalProperties": false, |
792 | 795 | "properties": {
|
793 | 796 | "intentId": {
|
794 | 797 | "description": "While optional, it is greatly encouraged to provide an `intentId`. \nThis is used to deduplicate requests. \nIf multiple modifying Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.\n",
|
|
798 | 801 | "type": "object"
|
799 | 802 | },
|
800 | 803 | "PutCustomDomainResponse": {
|
801 |
| - "additionalProperties": false, |
802 | 804 | "properties": {
|
803 | 805 | "customDomain": {
|
804 | 806 | "$ref": "#/components/schemas/CustomDomain"
|
|
829 | 831 | "type": "string"
|
830 | 832 | },
|
831 | 833 | "StatusError": {
|
832 |
| - "additionalProperties": false, |
833 | 834 | "properties": {
|
834 | 835 | "de": {
|
835 | 836 | "description": "A german translation string corresponding to the error key. Note that we do not guarantee german translations are present.",
|
|
0 commit comments