Skip to content

Commit 0378aac

Browse files
OAS Update
1 parent fe3908f commit 0378aac

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

services/cdn/v1beta/cdn.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
"type": "array",
3333
"uniqueItems": true
3434
},
35+
"defaultCacheDuration": {
36+
"description": "Sets the default cache duration for the distribution. \nThe default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response.\nWe use ISO8601 duration format for cache duration (e.g. P1DT2H30M)\n",
37+
"nullable": true,
38+
"type": "string",
39+
"x-go-type": "string"
40+
},
3541
"monthlyLimitBytes": {
3642
"description": "Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.\n",
3743
"format": "int64",
@@ -91,6 +97,12 @@
9197
"type": "array",
9298
"uniqueItems": true
9399
},
100+
"defaultCacheDuration": {
101+
"description": "Sets the default cache duration for the distribution. \nThe default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response.\nWe use ISO8601 duration format for cache duration (e.g. P1DT2H30M)\n",
102+
"nullable": true,
103+
"type": "string",
104+
"x-go-type": "string"
105+
},
94106
"monthlyLimitBytes": {
95107
"description": "Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.\n",
96108
"format": "int64",
@@ -131,6 +143,11 @@
131143
"type": "array",
132144
"uniqueItems": true
133145
},
146+
"defaultCacheDuration": {
147+
"description": "Sets the default cache duration for the distribution. \nThe default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response.\nWe use ISO8601 duration format for cache duration (e.g. P1DT2H30M)\n",
148+
"type": "string",
149+
"x-go-type": "string"
150+
},
134151
"intentId": {
135152
"description": "While optional, it is greatly encouraged to provide an `intentId`. \nThis is used to deduplicate requests. \nIf multiple POST-Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.\n",
136153
"type": "string"
@@ -905,7 +922,7 @@
905922
}
906923
},
907924
{
908-
"description": "The following sort options exist. We default to `createdAt`\n- `id` - Sort by distribution ID using String comparison\n- `updatedAt` - Sort by when the distribution configuration was last modified, \n for example by changing the regions or response headers\n- `createdAt` - Sort by when the distribution was initially created.\n- `originUrl` - Sort by originURL using String comparison\n- `status` - Sort by distribution status, using String comparison\n",
925+
"description": "The following sort options exist. We default to `createdAt`\n- `id` - Sort by distribution ID using String comparison\n- `updatedAt` - Sort by when the distribution configuration was last modified, \n for example by changing the regions or response headers\n- `createdAt` - Sort by when the distribution was initially created.\n- `originUrl` - Sort by originURL using String comparison\n- `status` - Sort by distribution status, using String comparison\n- `originUrlRelated` - The origin URL is segmented and reversed before sorting. E.g. `www.example.com` is converted to `com.example.www` for sorting. This way, distributions pointing to the same domain trees are grouped next to each other.\n",
909926
"in": "query",
910927
"name": "sortBy",
911928
"schema": {
@@ -915,7 +932,8 @@
915932
"updatedAt",
916933
"createdAt",
917934
"originUrl",
918-
"status"
935+
"status",
936+
"originUrlRelated"
919937
],
920938
"format": "enum",
921939
"type": "string"

0 commit comments

Comments
 (0)