Skip to content

Commit 0794211

Browse files
1 parent 4ffc9f1 commit 0794211

24 files changed

+324
-396
lines changed

openapi/.raw/v2.json

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
263263
"title": "MongoDB Atlas Administration API",
264264
"version": "2.0",
265-
"x-xgen-sha": "d0dc81933289dbde71a17c2676e1b5d45fd74fff"
265+
"x-xgen-sha": "2de6ef2fb6d3b953d2e1c290951add5dafec9109"
266266
},
267267
"paths": {
268268
"/api/atlas/v2": {
@@ -36875,7 +36875,7 @@
3687536875
"$ref": "#/components/schemas/AppServiceAlertView"
3687636876
},
3687736877
{
36878-
"$ref": "#/components/schemas/ClusterAlertView"
36878+
"$ref": "#/components/schemas/ClusterAlertViewForNdsGroup"
3687936879
},
3688036880
{
3688136881
"$ref": "#/components/schemas/HostAlertViewForNdsGroup"
@@ -45340,7 +45340,7 @@
4534045340
"type": "boolean"
4534145341
},
4534245342
"eventTypeName": {
45343-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
45343+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
4534445344
},
4534545345
"groupId": {
4534645346
"description": "Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.",
@@ -45409,7 +45409,7 @@
4540945409
"title": "Cluster Alert Configuration",
4541045410
"type": "object"
4541145411
},
45412-
"ClusterAlertView": {
45412+
"ClusterAlertViewForNdsGroup": {
4541345413
"description": "Cluster alert notifies different activities and conditions about cluster of mongod hosts.",
4541445414
"properties": {
4541545415
"acknowledgedUntil": {
@@ -45458,7 +45458,7 @@
4545845458
"type": "string"
4545945459
},
4546045460
"eventTypeName": {
45461-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
45461+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
4546245462
},
4546345463
"groupId": {
4546445464
"description": "Unique 24-hexadecimal digit string that identifies the project that owns this alert.",
@@ -46448,24 +46448,22 @@
4644846448
},
4644946449
"type": "object"
4645046450
},
46451-
"ClusterEventTypeViewAlertable": {
46452-
"description": "Event type that triggers an alert.",
46451+
"ClusterEventTypeViewForNdsGroup": {
46452+
"description": "Unique identifier of event type.",
4645346453
"enum": [
46454-
"CLUSTER_MONGOS_IS_MISSING",
46455-
"CLUSTER_AGENT_IN_CRASH_LOOP"
46454+
"CLUSTER_MONGOS_IS_PRESENT",
46455+
"CLUSTER_MONGOS_IS_MISSING"
4645646456
],
46457-
"example": "CLUSTER_MONGOS_IS_MISSING",
46457+
"example": "CLUSTER_MONGOS_IS_PRESENT",
4645846458
"title": "Cluster Event Types",
4645946459
"type": "string"
4646046460
},
46461-
"ClusterEventTypeViewForNdsGroup": {
46462-
"description": "Unique identifier of event type.",
46461+
"ClusterEventTypeViewForNdsGroupAlertable": {
46462+
"description": "Event type that triggers an alert.",
4646346463
"enum": [
46464-
"CLUSTER_MONGOS_IS_PRESENT",
46465-
"CLUSTER_MONGOS_IS_MISSING",
46466-
"CLUSTER_AGENT_IN_CRASH_LOOP"
46464+
"CLUSTER_MONGOS_IS_MISSING"
4646746465
],
46468-
"example": "CLUSTER_MONGOS_IS_PRESENT",
46466+
"example": "CLUSTER_MONGOS_IS_MISSING",
4646946467
"title": "Cluster Event Types",
4647046468
"type": "string"
4647146469
},
@@ -54431,8 +54429,7 @@
5443154429
{
5443254430
"enum": [
5443354431
"CLUSTER_MONGOS_IS_PRESENT",
54434-
"CLUSTER_MONGOS_IS_MISSING",
54435-
"CLUSTER_AGENT_IN_CRASH_LOOP"
54432+
"CLUSTER_MONGOS_IS_MISSING"
5443654433
],
5443754434
"title": "Cluster Event Types",
5443854435
"type": "string"

openapi/.raw/v2.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ components:
18811881
AlertViewForNdsGroup:
18821882
oneOf:
18831883
- $ref: '#/components/schemas/AppServiceAlertView'
1884-
- $ref: '#/components/schemas/ClusterAlertView'
1884+
- $ref: '#/components/schemas/ClusterAlertViewForNdsGroup'
18851885
- $ref: '#/components/schemas/HostAlertViewForNdsGroup'
18861886
- $ref: '#/components/schemas/HostMetricAlert'
18871887
- $ref: '#/components/schemas/ReplicaSetAlertViewForNdsGroup'
@@ -8729,7 +8729,7 @@ components:
87298729
description: Flag that indicates whether someone enabled this alert configuration for the specified project.
87308730
type: boolean
87318731
eventTypeName:
8732-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8732+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
87338733
groupId:
87348734
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.
87358735
example: 32b6e34b3d91647abb20e7b8
@@ -8780,7 +8780,7 @@ components:
87808780
- notifications
87818781
title: Cluster Alert Configuration
87828782
type: object
8783-
ClusterAlertView:
8783+
ClusterAlertViewForNdsGroup:
87848784
description: Cluster alert notifies different activities and conditions about cluster of mongod hosts.
87858785
properties:
87868786
acknowledgedUntil:
@@ -8826,7 +8826,7 @@ components:
88268826
readOnly: true
88278827
type: string
88288828
eventTypeName:
8829-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8829+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
88308830
groupId:
88318831
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert.
88328832
example: 32b6e34b3d91647abb20e7b8
@@ -9623,23 +9623,21 @@ components:
96239623
minimum: 1
96249624
type: integer
96259625
type: object
9626-
ClusterEventTypeViewAlertable:
9627-
description: Event type that triggers an alert.
9628-
enum:
9629-
- CLUSTER_MONGOS_IS_MISSING
9630-
- CLUSTER_AGENT_IN_CRASH_LOOP
9631-
example: CLUSTER_MONGOS_IS_MISSING
9632-
title: Cluster Event Types
9633-
type: string
96349626
ClusterEventTypeViewForNdsGroup:
96359627
description: Unique identifier of event type.
96369628
enum:
96379629
- CLUSTER_MONGOS_IS_PRESENT
96389630
- CLUSTER_MONGOS_IS_MISSING
9639-
- CLUSTER_AGENT_IN_CRASH_LOOP
96409631
example: CLUSTER_MONGOS_IS_PRESENT
96419632
title: Cluster Event Types
96429633
type: string
9634+
ClusterEventTypeViewForNdsGroupAlertable:
9635+
description: Event type that triggers an alert.
9636+
enum:
9637+
- CLUSTER_MONGOS_IS_MISSING
9638+
example: CLUSTER_MONGOS_IS_MISSING
9639+
title: Cluster Event Types
9640+
type: string
96439641
ClusterEventViewForNdsGroup:
96449642
description: Cluster event identifies different activities about cluster of mongod hosts.
96459643
properties:
@@ -15878,7 +15876,6 @@ components:
1587815876
- enum:
1587915877
- CLUSTER_MONGOS_IS_PRESENT
1588015878
- CLUSTER_MONGOS_IS_MISSING
15881-
- CLUSTER_AGENT_IN_CRASH_LOOP
1588215879
title: Cluster Event Types
1588315880
type: string
1588415881
- enum:
@@ -36502,7 +36499,7 @@ info:
3650236499
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3650336500
title: MongoDB Atlas Administration API
3650436501
version: "2.0"
36505-
x-xgen-sha: d0dc81933289dbde71a17c2676e1b5d45fd74fff
36502+
x-xgen-sha: 2de6ef2fb6d3b953d2e1c290951add5dafec9109
3650636503
openapi: 3.0.1
3650736504
paths:
3650836505
/api/atlas/v2:

openapi/v2.json

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
"termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions",
241241
"title": "MongoDB Atlas Administration API",
242242
"version": "2.0",
243-
"x-xgen-sha": "d0dc81933289dbde71a17c2676e1b5d45fd74fff"
243+
"x-xgen-sha": "2de6ef2fb6d3b953d2e1c290951add5dafec9109"
244244
},
245245
"paths": {
246246
"/api/atlas/v2": {
@@ -34292,7 +34292,7 @@
3429234292
"$ref": "#/components/schemas/AppServiceAlertView"
3429334293
},
3429434294
{
34295-
"$ref": "#/components/schemas/ClusterAlertView"
34295+
"$ref": "#/components/schemas/ClusterAlertViewForNdsGroup"
3429634296
},
3429734297
{
3429834298
"$ref": "#/components/schemas/HostAlertViewForNdsGroup"
@@ -42287,7 +42287,7 @@
4228742287
"type": "boolean"
4228842288
},
4228942289
"eventTypeName": {
42290-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
42290+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
4229142291
},
4229242292
"groupId": {
4229342293
"description": "Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.",
@@ -42350,7 +42350,7 @@
4235042350
"title": "Cluster Alert Configuration",
4235142351
"type": "object"
4235242352
},
42353-
"ClusterAlertView": {
42353+
"ClusterAlertViewForNdsGroup": {
4235442354
"description": "Cluster alert notifies different activities and conditions about cluster of mongod hosts.",
4235542355
"properties": {
4235642356
"acknowledgedUntil": {
@@ -42399,7 +42399,7 @@
4239942399
"type": "string"
4240042400
},
4240142401
"eventTypeName": {
42402-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
42402+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
4240342403
},
4240442404
"groupId": {
4240542405
"description": "Unique 24-hexadecimal digit string that identifies the project that owns this alert.",
@@ -43317,24 +43317,22 @@
4331743317
},
4331843318
"type": "object"
4331943319
},
43320-
"ClusterEventTypeViewAlertable": {
43321-
"description": "Event type that triggers an alert.",
43320+
"ClusterEventTypeViewForNdsGroup": {
43321+
"description": "Unique identifier of event type.",
4332243322
"enum": [
43323-
"CLUSTER_MONGOS_IS_MISSING",
43324-
"CLUSTER_AGENT_IN_CRASH_LOOP"
43323+
"CLUSTER_MONGOS_IS_PRESENT",
43324+
"CLUSTER_MONGOS_IS_MISSING"
4332543325
],
43326-
"example": "CLUSTER_MONGOS_IS_MISSING",
43326+
"example": "CLUSTER_MONGOS_IS_PRESENT",
4332743327
"title": "Cluster Event Types",
4332843328
"type": "string"
4332943329
},
43330-
"ClusterEventTypeViewForNdsGroup": {
43331-
"description": "Unique identifier of event type.",
43330+
"ClusterEventTypeViewForNdsGroupAlertable": {
43331+
"description": "Event type that triggers an alert.",
4333243332
"enum": [
43333-
"CLUSTER_MONGOS_IS_PRESENT",
43334-
"CLUSTER_MONGOS_IS_MISSING",
43335-
"CLUSTER_AGENT_IN_CRASH_LOOP"
43333+
"CLUSTER_MONGOS_IS_MISSING"
4333643334
],
43337-
"example": "CLUSTER_MONGOS_IS_PRESENT",
43335+
"example": "CLUSTER_MONGOS_IS_MISSING",
4333843336
"title": "Cluster Event Types",
4333943337
"type": "string"
4334043338
},
@@ -50955,8 +50953,7 @@
5095550953
{
5095650954
"enum": [
5095750955
"CLUSTER_MONGOS_IS_PRESENT",
50958-
"CLUSTER_MONGOS_IS_MISSING",
50959-
"CLUSTER_AGENT_IN_CRASH_LOOP"
50956+
"CLUSTER_MONGOS_IS_MISSING"
5096050957
],
5096150958
"title": "Cluster Event Types",
5096250959
"type": "string"

openapi/v2.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ components:
17751775
AlertViewForNdsGroup:
17761776
oneOf:
17771777
- $ref: '#/components/schemas/AppServiceAlertView'
1778-
- $ref: '#/components/schemas/ClusterAlertView'
1778+
- $ref: '#/components/schemas/ClusterAlertViewForNdsGroup'
17791779
- $ref: '#/components/schemas/HostAlertViewForNdsGroup'
17801780
- $ref: '#/components/schemas/HostMetricAlert'
17811781
- $ref: '#/components/schemas/ReplicaSetAlertViewForNdsGroup'
@@ -8322,7 +8322,7 @@ components:
83228322
description: Flag that indicates whether someone enabled this alert configuration for the specified project.
83238323
type: boolean
83248324
eventTypeName:
8325-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8325+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
83268326
groupId:
83278327
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.
83288328
example: 32b6e34b3d91647abb20e7b8
@@ -8369,7 +8369,7 @@ components:
83698369
- notifications
83708370
title: Cluster Alert Configuration
83718371
type: object
8372-
ClusterAlertView:
8372+
ClusterAlertViewForNdsGroup:
83738373
description: Cluster alert notifies different activities and conditions about cluster of mongod hosts.
83748374
properties:
83758375
acknowledgedUntil:
@@ -8415,7 +8415,7 @@ components:
84158415
readOnly: true
84168416
type: string
84178417
eventTypeName:
8418-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8418+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
84198419
groupId:
84208420
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert.
84218421
example: 32b6e34b3d91647abb20e7b8
@@ -9163,23 +9163,21 @@ components:
91639163
minimum: 1
91649164
type: integer
91659165
type: object
9166-
ClusterEventTypeViewAlertable:
9167-
description: Event type that triggers an alert.
9168-
enum:
9169-
- CLUSTER_MONGOS_IS_MISSING
9170-
- CLUSTER_AGENT_IN_CRASH_LOOP
9171-
example: CLUSTER_MONGOS_IS_MISSING
9172-
title: Cluster Event Types
9173-
type: string
91749166
ClusterEventTypeViewForNdsGroup:
91759167
description: Unique identifier of event type.
91769168
enum:
91779169
- CLUSTER_MONGOS_IS_PRESENT
91789170
- CLUSTER_MONGOS_IS_MISSING
9179-
- CLUSTER_AGENT_IN_CRASH_LOOP
91809171
example: CLUSTER_MONGOS_IS_PRESENT
91819172
title: Cluster Event Types
91829173
type: string
9174+
ClusterEventTypeViewForNdsGroupAlertable:
9175+
description: Event type that triggers an alert.
9176+
enum:
9177+
- CLUSTER_MONGOS_IS_MISSING
9178+
example: CLUSTER_MONGOS_IS_MISSING
9179+
title: Cluster Event Types
9180+
type: string
91839181
ClusterEventViewForNdsGroup:
91849182
description: Cluster event identifies different activities about cluster of mongod hosts.
91859183
properties:
@@ -15187,7 +15185,6 @@ components:
1518715185
- enum:
1518815186
- CLUSTER_MONGOS_IS_PRESENT
1518915187
- CLUSTER_MONGOS_IS_MISSING
15190-
- CLUSTER_AGENT_IN_CRASH_LOOP
1519115188
title: Cluster Event Types
1519215189
type: string
1519315190
- enum:
@@ -34726,7 +34723,7 @@ info:
3472634723
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3472734724
title: MongoDB Atlas Administration API
3472834725
version: "2.0"
34729-
x-xgen-sha: d0dc81933289dbde71a17c2676e1b5d45fd74fff
34726+
x-xgen-sha: 2de6ef2fb6d3b953d2e1c290951add5dafec9109
3473034727
openapi: 3.0.1
3473134728
paths:
3473234729
/api/atlas/v2:

0 commit comments

Comments
 (0)