Skip to content

Commit 6269cd6

Browse files
authored
fix(ipa): clarify endpoint version lifecycle entries (#1370)
1 parent cf143a3 commit 6269cd6

121 files changed

Lines changed: 15481 additions & 418 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tools/cli/test/data/changelog/new-api-preview-version/output/2023-01-01_2023-02-01.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,20 @@
115115
}
116116
]
117117
},
118+
{
119+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
120+
"httpMethod": "DELETE",
121+
"operationId": "deleteCluster",
122+
"tag": "Clusters",
123+
"changes": [
124+
{
125+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
126+
"changeCode": "endpoint-version-added",
127+
"backwardCompatible": true,
128+
"replacesVersion": "2023-01-01"
129+
}
130+
]
131+
},
118132
{
119133
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
120134
"httpMethod": "GET",
@@ -218,6 +232,34 @@
218232
}
219233
]
220234
},
235+
{
236+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries",
237+
"httpMethod": "POST",
238+
"operationId": "testFailover",
239+
"tag": "Clusters",
240+
"changes": [
241+
{
242+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
243+
"changeCode": "endpoint-version-added",
244+
"backwardCompatible": true,
245+
"replacesVersion": "2023-01-01"
246+
}
247+
]
248+
},
249+
{
250+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz",
251+
"httpMethod": "GET",
252+
"operationId": "getHostLogs",
253+
"tag": "Monitoring and Logs",
254+
"changes": [
255+
{
256+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
257+
"changeCode": "endpoint-version-added",
258+
"backwardCompatible": true,
259+
"replacesVersion": "2023-01-01"
260+
}
261+
]
262+
},
221263
{
222264
"path": "/api/atlas/v2/groups/{groupId}/streams",
223265
"httpMethod": "GET",

tools/cli/test/data/changelog/new-api-preview-version/output/2023-01-01_2023-10-01.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"operationId": "getDataProtectionSettings",
1919
"tag": "Cloud Backups",
2020
"changes": [
21+
{
22+
"change": "API version 2023-10-01 was added. It replaces API version 2023-01-01.",
23+
"changeCode": "endpoint-version-added",
24+
"backwardCompatible": true,
25+
"replacesVersion": "2023-01-01"
26+
},
2127
{
2228
"change": "the response properties 'authorizedUserFirstName, authorizedUserLastName' became required for the status '200'",
2329
"changeCode": "response-property-became-required",
@@ -31,6 +37,12 @@
3137
"operationId": "updateDataProtectionSettings",
3238
"tag": "Cloud Backups",
3339
"changes": [
40+
{
41+
"change": "API version 2023-10-01 was added. It replaces API version 2023-01-01.",
42+
"changeCode": "endpoint-version-added",
43+
"backwardCompatible": true,
44+
"replacesVersion": "2023-01-01"
45+
},
3446
{
3547
"change": "the response properties 'authorizedUserFirstName, authorizedUserLastName' became required for the status '200'",
3648
"changeCode": "response-property-became-required",
@@ -146,6 +158,20 @@
146158
}
147159
]
148160
},
161+
{
162+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
163+
"httpMethod": "DELETE",
164+
"operationId": "deleteCluster",
165+
"tag": "Clusters",
166+
"changes": [
167+
{
168+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
169+
"changeCode": "endpoint-version-added",
170+
"backwardCompatible": true,
171+
"replacesVersion": "2023-01-01"
172+
}
173+
]
174+
},
149175
{
150176
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
151177
"httpMethod": "GET",
@@ -249,6 +275,34 @@
249275
}
250276
]
251277
},
278+
{
279+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries",
280+
"httpMethod": "POST",
281+
"operationId": "testFailover",
282+
"tag": "Clusters",
283+
"changes": [
284+
{
285+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
286+
"changeCode": "endpoint-version-added",
287+
"backwardCompatible": true,
288+
"replacesVersion": "2023-01-01"
289+
}
290+
]
291+
},
292+
{
293+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz",
294+
"httpMethod": "GET",
295+
"operationId": "getHostLogs",
296+
"tag": "Monitoring and Logs",
297+
"changes": [
298+
{
299+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
300+
"changeCode": "endpoint-version-added",
301+
"backwardCompatible": true,
302+
"replacesVersion": "2023-01-01"
303+
}
304+
]
305+
},
252306
{
253307
"path": "/api/atlas/v2/groups/{groupId}/streams",
254308
"httpMethod": "GET",

tools/cli/test/data/changelog/new-api-preview-version/output/2023-01-01_2023-11-15.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
"operationId": "getIdentityProvider",
3232
"tag": "Federated Authentication",
3333
"changes": [
34+
{
35+
"change": "API version 2023-11-15 was added. It replaces API version 2023-01-01.",
36+
"changeCode": "endpoint-version-added",
37+
"backwardCompatible": true,
38+
"replacesVersion": "2023-01-01"
39+
},
3440
{
3541
"change": "added `#/components/schemas/FederationSamlIdentityProvider, #/components/schemas/FederationOidcWorkforceIdentityProvider, #/components/schemas/FederationOidcWorkloadIdentityProvider` to the response body `oneOf` list for the response status `200`",
3642
"changeCode": "response-body-one-of-added",
@@ -49,6 +55,12 @@
4955
"operationId": "updateIdentityProvider",
5056
"tag": "Federated Authentication",
5157
"changes": [
58+
{
59+
"change": "API version 2023-11-15 was added. It replaces API version 2023-01-01.",
60+
"changeCode": "endpoint-version-added",
61+
"backwardCompatible": true,
62+
"replacesVersion": "2023-01-01"
63+
},
5264
{
5365
"change": "added `#/components/schemas/FederationSamlIdentityProviderUpdate, #/components/schemas/FederationOidcWorkforceIdentityProviderUpdate, #/components/schemas/FederationOidcWorkloadIdentityProviderUpdate` to the request body `oneOf` list",
5466
"changeCode": "request-body-one-of-added",
@@ -103,6 +115,12 @@
103115
"operationId": "getDataProtectionSettings",
104116
"tag": "Cloud Backups",
105117
"changes": [
118+
{
119+
"change": "API version 2023-10-01 was added. It replaces API version 2023-01-01.",
120+
"changeCode": "endpoint-version-added",
121+
"backwardCompatible": true,
122+
"replacesVersion": "2023-01-01"
123+
},
106124
{
107125
"change": "the response properties 'authorizedUserFirstName, authorizedUserLastName' became required for the status '200'",
108126
"changeCode": "response-property-became-required",
@@ -116,6 +134,12 @@
116134
"operationId": "updateDataProtectionSettings",
117135
"tag": "Cloud Backups",
118136
"changes": [
137+
{
138+
"change": "API version 2023-10-01 was added. It replaces API version 2023-01-01.",
139+
"changeCode": "endpoint-version-added",
140+
"backwardCompatible": true,
141+
"replacesVersion": "2023-01-01"
142+
},
119143
{
120144
"change": "the response properties 'authorizedUserFirstName, authorizedUserLastName' became required for the status '200'",
121145
"changeCode": "response-property-became-required",
@@ -231,6 +255,20 @@
231255
}
232256
]
233257
},
258+
{
259+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
260+
"httpMethod": "DELETE",
261+
"operationId": "deleteCluster",
262+
"tag": "Clusters",
263+
"changes": [
264+
{
265+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
266+
"changeCode": "endpoint-version-added",
267+
"backwardCompatible": true,
268+
"replacesVersion": "2023-01-01"
269+
}
270+
]
271+
},
234272
{
235273
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}",
236274
"httpMethod": "GET",
@@ -386,6 +424,20 @@
386424
}
387425
]
388426
},
427+
{
428+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/restartPrimaries",
429+
"httpMethod": "POST",
430+
"operationId": "testFailover",
431+
"tag": "Clusters",
432+
"changes": [
433+
{
434+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
435+
"changeCode": "endpoint-version-added",
436+
"backwardCompatible": true,
437+
"replacesVersion": "2023-01-01"
438+
}
439+
]
440+
},
389441
{
390442
"path": "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/{clusterView}/collStats/namespaces",
391443
"httpMethod": "GET",
@@ -412,6 +464,20 @@
412464
}
413465
]
414466
},
467+
{
468+
"path": "/api/atlas/v2/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz",
469+
"httpMethod": "GET",
470+
"operationId": "getHostLogs",
471+
"tag": "Monitoring and Logs",
472+
"changes": [
473+
{
474+
"change": "API version 2023-02-01 was added. It replaces API version 2023-01-01.",
475+
"changeCode": "endpoint-version-added",
476+
"backwardCompatible": true,
477+
"replacesVersion": "2023-01-01"
478+
}
479+
]
480+
},
415481
{
416482
"path": "/api/atlas/v2/groups/{groupId}/collStats/metrics",
417483
"httpMethod": "GET",

0 commit comments

Comments
 (0)