Skip to content

Commit 4ffc9f1

Browse files
(prod) Release OpenAPI Spec V1 🚀. See https://github.com/mongodb/openapi/actions/runs/15139767073.
1 parent ddbcd29 commit 4ffc9f1

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed

openapi/v1-deprecated/v1.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22047,7 +22047,7 @@
2204722047
"type": "string",
2204822048
"description": "Unique identifier of event type.",
2204922049
"example": "CLUSTER_MONGOS_IS_PRESENT",
22050-
"enum": ["CLUSTER_MONGOS_IS_PRESENT", "CLUSTER_MONGOS_IS_MISSING", "CLUSTER_AGENT_IN_CRASH_LOOP"]
22050+
"enum": ["CLUSTER_MONGOS_IS_PRESENT", "CLUSTER_MONGOS_IS_MISSING"]
2205122051
},
2205222052
"ClusterEventViewForNdsGroup": {
2205322053
"title": "Cluster Events",
@@ -26096,7 +26096,7 @@
2609626096
{
2609726097
"title": "Cluster Event Types",
2609826098
"type": "string",
26099-
"enum": ["CLUSTER_MONGOS_IS_PRESENT", "CLUSTER_MONGOS_IS_MISSING", "CLUSTER_AGENT_IN_CRASH_LOOP"]
26099+
"enum": ["CLUSTER_MONGOS_IS_PRESENT", "CLUSTER_MONGOS_IS_MISSING"]
2610026100
},
2610126101
{
2610226102
"title": "Cps Backup Event Types",
@@ -28651,7 +28651,7 @@
2865128651
"$ref": "#/components/schemas/AppServiceAlertView"
2865228652
},
2865328653
{
28654-
"$ref": "#/components/schemas/ClusterAlertView"
28654+
"$ref": "#/components/schemas/ClusterAlertViewForNdsGroup"
2865528655
},
2865628656
{
2865728657
"$ref": "#/components/schemas/HostAlertViewForNdsGroup"
@@ -28812,7 +28812,7 @@
2881228812
"TRIGGER_AUTO_RESUMED"
2881328813
]
2881428814
},
28815-
"ClusterAlertView": {
28815+
"ClusterAlertViewForNdsGroup": {
2881628816
"title": "Cluster Alerts",
2881728817
"required": ["alertConfigId", "created", "eventTypeName", "id", "status", "updated"],
2881828818
"type": "object",
@@ -28863,7 +28863,7 @@
2886328863
}
2886428864
},
2886528865
"eventTypeName": {
28866-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
28866+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
2886728867
},
2886828868
"groupId": {
2886928869
"pattern": "^([a-f0-9]{24})$",
@@ -28938,12 +28938,12 @@
2893828938
},
2893928939
"description": "Cluster alert notifies different activities and conditions about cluster of mongod hosts."
2894028940
},
28941-
"ClusterEventTypeViewAlertable": {
28941+
"ClusterEventTypeViewForNdsGroupAlertable": {
2894228942
"title": "Cluster Event Types",
2894328943
"type": "string",
2894428944
"description": "Event type that triggers an alert.",
2894528945
"example": "CLUSTER_MONGOS_IS_MISSING",
28946-
"enum": ["CLUSTER_MONGOS_IS_MISSING", "CLUSTER_AGENT_IN_CRASH_LOOP"]
28946+
"enum": ["CLUSTER_MONGOS_IS_MISSING"]
2894728947
},
2894828948
"DataMetricAlertView": {
2894928949
"required": ["alertConfigId", "created", "eventTypeName", "id", "status", "updated"],
@@ -31356,7 +31356,7 @@
3135631356
"default": false
3135731357
},
3135831358
"eventTypeName": {
31359-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
31359+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
3136031360
},
3136131361
"groupId": {
3136231362
"pattern": "^([a-f0-9]{24})$",

openapi/v1-deprecated/v1.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22819,8 +22819,7 @@
2281922819
"example": "CLUSTER_MONGOS_IS_PRESENT",
2282022820
"enum": [
2282122821
"CLUSTER_MONGOS_IS_PRESENT",
22822-
"CLUSTER_MONGOS_IS_MISSING",
22823-
"CLUSTER_AGENT_IN_CRASH_LOOP"
22822+
"CLUSTER_MONGOS_IS_MISSING"
2282422823
]
2282522824
},
2282622825
"ClusterEventViewForNdsGroup": {
@@ -27061,8 +27060,7 @@
2706127060
"type": "string",
2706227061
"enum": [
2706327062
"CLUSTER_MONGOS_IS_PRESENT",
27064-
"CLUSTER_MONGOS_IS_MISSING",
27065-
"CLUSTER_AGENT_IN_CRASH_LOOP"
27063+
"CLUSTER_MONGOS_IS_MISSING"
2706627064
]
2706727065
},
2706827066
{
@@ -29744,7 +29742,7 @@
2974429742
"$ref": "#/components/schemas/AppServiceAlertView"
2974529743
},
2974629744
{
29747-
"$ref": "#/components/schemas/ClusterAlertView"
29745+
"$ref": "#/components/schemas/ClusterAlertViewForNdsGroup"
2974829746
},
2974929747
{
2975029748
"$ref": "#/components/schemas/HostAlertViewForNdsGroup"
@@ -29917,7 +29915,7 @@
2991729915
"TRIGGER_AUTO_RESUMED"
2991829916
]
2991929917
},
29920-
"ClusterAlertView": {
29918+
"ClusterAlertViewForNdsGroup": {
2992129919
"title": "Cluster Alerts",
2992229920
"required": [
2992329921
"alertConfigId",
@@ -29975,7 +29973,7 @@
2997529973
}
2997629974
},
2997729975
"eventTypeName": {
29978-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
29976+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
2997929977
},
2998029978
"groupId": {
2998129979
"pattern": "^([a-f0-9]{24})$",
@@ -30055,14 +30053,13 @@
3005530053
},
3005630054
"description": "Cluster alert notifies different activities and conditions about cluster of mongod hosts."
3005730055
},
30058-
"ClusterEventTypeViewAlertable": {
30056+
"ClusterEventTypeViewForNdsGroupAlertable": {
3005930057
"title": "Cluster Event Types",
3006030058
"type": "string",
3006130059
"description": "Event type that triggers an alert.",
3006230060
"example": "CLUSTER_MONGOS_IS_MISSING",
3006330061
"enum": [
30064-
"CLUSTER_MONGOS_IS_MISSING",
30065-
"CLUSTER_AGENT_IN_CRASH_LOOP"
30062+
"CLUSTER_MONGOS_IS_MISSING"
3006630063
]
3006730064
},
3006830065
"DataMetricAlertView": {
@@ -32668,7 +32665,7 @@
3266832665
"default": false
3266932666
},
3267032667
"eventTypeName": {
32671-
"$ref": "#/components/schemas/ClusterEventTypeViewAlertable"
32668+
"$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
3267232669
},
3267332670
"groupId": {
3267432671
"pattern": "^([a-f0-9]{24})$",

0 commit comments

Comments
 (0)