Skip to content

Commit cb1aee0

Browse files
OAS Update
1 parent 7a02062 commit cb1aee0

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

services/cdn/v1beta2/cdn.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,14 +1889,15 @@
18891889
}
18901890
},
18911891
"info": {
1892-
"description": "API used to create and manage your CDN distributions.",
1892+
"description": "**DEPRECATED:** This API version (1beta2.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions.",
18931893
"title": "STACKIT CDN API",
18941894
"version": "1beta2.0.0"
18951895
},
18961896
"openapi": "3.0.3",
18971897
"paths": {
18981898
"/v1beta2/projects/{projectId}/distributions": {
18991899
"get": {
1900+
"deprecated": true,
19001901
"description": "ListDistributions returns a list of all CDN distributions associated with\na given project, ordered by their distribution Id.\n",
19011902
"operationId": "ListDistributions",
19021903
"parameters": [
@@ -2188,6 +2189,7 @@
21882189
}
21892190
},
21902191
"post": {
2192+
"deprecated": true,
21912193
"description": "CreateDistribution will create a new CDN distribution",
21922194
"operationId": "CreateDistribution",
21932195
"parameters": [
@@ -2385,6 +2387,7 @@
23852387
},
23862388
"/v1beta2/projects/{projectId}/distributions/{distributionId}": {
23872389
"delete": {
2390+
"deprecated": true,
23882391
"description": "DeleteDistribution accepts a project- and distribution-Id and will delete a distribution.\n",
23892392
"operationId": "DeleteDistribution",
23902393
"parameters": [
@@ -2516,6 +2519,7 @@
25162519
}
25172520
},
25182521
"get": {
2522+
"deprecated": true,
25192523
"description": "This returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions also return 404.",
25202524
"operationId": "GetDistribution",
25212525
"parameters": [
@@ -2756,6 +2760,7 @@
27562760
}
27572761
},
27582762
"patch": {
2763+
"deprecated": true,
27592764
"description": "Modify a CDN distribution with a partial update. Only the fields specified in the request will be modified.",
27602765
"operationId": "PatchDistribution",
27612766
"parameters": [
@@ -2941,6 +2946,7 @@
29412946
},
29422947
"/v1beta2/projects/{projectId}/distributions/{distributionId}/cache": {
29432948
"get": {
2949+
"deprecated": true,
29442950
"description": "Return caching info metadata, which contains the last cache purging time and a history of the most recent *full* purges.\n\nIf (and only if) you provide the path query parameter, the history will also contain granular cache purges.\nThe request will not fail if no data about a path is found.\n",
29452951
"operationId": "GetCacheInfo",
29462952
"parameters": [
@@ -3056,6 +3062,7 @@
30563062
},
30573063
"/v1beta2/projects/{projectId}/distributions/{distributionId}/cache/paths": {
30583064
"get": {
3065+
"deprecated": true,
30593066
"description": "This returns paths that are present in the cache purging history.\nOnly substrings of the provided input are returned.\nThe response is sorted in descending order by the most recent purge.\n\nSo, assuming you have have the following purged for a distribution\n- `/test/1` at `2025-01-01`\n- `/test/2` at `2025-01-02`\n- `/someOtherPath/1` at `2025-01-03`\n- `/test/1` at `2025-01-04`\n- `/test/3` at `2025-01-05`,\nthis would return the following paths, in the following order, assuming `/te` was the search parameter:\n- `/test/3`\n- `/test/1`\n- `/test/2`\n",
30603067
"operationId": "FindCachePaths",
30613068
"parameters": [
@@ -3173,6 +3180,7 @@
31733180
},
31743181
"/v1beta2/projects/{projectId}/distributions/{distributionId}/cache/purge": {
31753182
"post": {
3183+
"deprecated": true,
31763184
"description": "Clear the cache for this distribution.\nAll content, regardless of its staleness, will get refetched from the host.\n",
31773185
"operationId": "PurgeCache",
31783186
"parameters": [
@@ -3287,6 +3295,7 @@
32873295
},
32883296
"/v1beta2/projects/{projectId}/distributions/{distributionId}/customDomains/{domain}": {
32893297
"delete": {
3298+
"deprecated": true,
32903299
"description": "Removes a custom domain\n",
32913300
"operationId": "DeleteCustomDomain",
32923301
"parameters": [
@@ -3395,6 +3404,7 @@
33953404
}
33963405
},
33973406
"get": {
3407+
"deprecated": true,
33983408
"description": "Returns a 200 and the custom domain if this custom domain was associated to this distribution, else 404\n",
33993409
"operationId": "GetCustomDomain",
34003410
"parameters": [
@@ -3514,6 +3524,7 @@
35143524
}
35153525
},
35163526
"put": {
3527+
"deprecated": true,
35173528
"description": "Creates a new custom domain. If it already exists, this will overwrite the previous custom domain's properties.\n",
35183529
"operationId": "PutCustomDomain",
35193530
"parameters": [
@@ -3635,6 +3646,7 @@
36353646
},
36363647
"/v1beta2/projects/{projectId}/distributions/{distributionId}/logs": {
36373648
"get": {
3649+
"deprecated": true,
36383650
"operationId": "GetLogs",
36393651
"parameters": [
36403652
{
@@ -3836,6 +3848,7 @@
38363848
},
38373849
"/v1beta2/projects/{projectId}/distributions/{distributionId}/logs/searchFilters": {
38383850
"get": {
3851+
"deprecated": true,
38393852
"operationId": "GetLogsSearchFilters",
38403853
"parameters": [
38413854
{
@@ -3941,6 +3954,7 @@
39413954
},
39423955
"/v1beta2/projects/{projectId}/distributions/{distributionId}/statistics": {
39433956
"get": {
3957+
"deprecated": true,
39443958
"description": "Returns the statistics of the distribution in the given\ntime range. The response is a list of statistics records. Each record aggregates the statistics for its time interval.\nIn case no statistics for a time interval exist, no record is returned.\nThe time range for which statistics should be returned can be configured using query parameters.\n\nTimestamps are assumed to be UTC. This is especially important for the \"buckets\" when you, for example, return daily information. A day always starts and ends at 00:00Z.\n\n**Important Note:** Lower bounds are inclusive, upper bounds are exclusive. If you, for example, want a daily grouped which starts on the 1st Jan and also contains the full 10th Jan day, you would define `2025-01-01T00:00:00Z` as the lower and `2025-01-11T00:00:00Z` as the upper bound.\n\nThe upper bound is optional. If you omit it, the API will use the start of the next interval as the upper bound.\nExample: if `interval` is `hourly`, `from` would default to the start of the next hour, if it's `daily`, `from` would default to the start of the next day, etc.\n",
39453959
"operationId": "GetStatistics",
39463960
"parameters": [
@@ -4172,6 +4186,7 @@
41724186
},
41734187
"/v1beta2/projects/{projectId}/waf/collections": {
41744188
"get": {
4189+
"deprecated": true,
41754190
"description": "Returns all WAF rule collections available to the project",
41764191
"operationId": "ListWafCollections",
41774192
"parameters": [

0 commit comments

Comments
 (0)