Skip to content

Commit 9985554

Browse files
OAS Update
1 parent da072c9 commit 9985554

File tree

1 file changed

+84
-82
lines changed

1 file changed

+84
-82
lines changed

services/mongodb-flex/v1/mongodb-flex.json

Lines changed: 84 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,51 @@
591591
},
592592
"type": "object"
593593
},
594+
"Shape": {
595+
"properties": {
596+
"avgMs": {
597+
"description": "Average duration in milliseconds for the queries examined that match this shape.",
598+
"type": "number"
599+
},
600+
"count": {
601+
"description": "Number of queries examined that match this shape.",
602+
"type": "integer"
603+
},
604+
"id": {
605+
"description": "Unique id for this shape. Exists only for the duration of the API request.",
606+
"type": "string"
607+
},
608+
"inefficiencyScore": {
609+
"description": "Average number of documents read for every document returned by the query.",
610+
"type": "integer"
611+
},
612+
"namespace": {
613+
"description": "The namespace in which the slow query ran.",
614+
"type": "string"
615+
},
616+
"operations": {
617+
"description": "It represents documents with specific information and log lines for individual queries.",
618+
"items": {
619+
"$ref": "#/components/schemas/mongodbatlas.Operation"
620+
},
621+
"type": "array"
622+
}
623+
},
624+
"type": "object"
625+
},
626+
"SlowQuery": {
627+
"properties": {
628+
"line": {
629+
"description": "The raw log line pertaining to the slow query.",
630+
"type": "string"
631+
},
632+
"namespace": {
633+
"description": "The namespace in which the slow query ran.",
634+
"type": "string"
635+
}
636+
},
637+
"type": "object"
638+
},
594639
"Storage": {
595640
"properties": {
596641
"class": {
@@ -616,6 +661,40 @@
616661
},
617662
"type": "object"
618663
},
664+
"SuggestedIndex": {
665+
"properties": {
666+
"id": {
667+
"description": "Unique id for this suggested index.",
668+
"type": "string"
669+
},
670+
"impact": {
671+
"description": "List of unique identifiers which correspond the query shapes in this response which pertain to this suggested index.",
672+
"items": {
673+
"type": "string"
674+
},
675+
"type": "array"
676+
},
677+
"index": {
678+
"description": "Array of documents that specifies a key in the index and its sort order, ascending or descending.",
679+
"items": {
680+
"additionalProperties": {
681+
"type": "integer"
682+
},
683+
"type": "object"
684+
},
685+
"type": "array"
686+
},
687+
"namespace": {
688+
"description": "Namespace of the suggested index.",
689+
"type": "string"
690+
},
691+
"weight": {
692+
"description": "Estimated percentage performance improvement that the suggested index would provide.",
693+
"type": "number"
694+
}
695+
},
696+
"type": "object"
697+
},
619698
"UpdateBackupSchedulePayload": {
620699
"properties": {
621700
"backupSchedule": {
@@ -804,7 +883,7 @@
804883
"slowQueries": {
805884
"description": "A list of documents with information about slow queries as detected by the Performance Advisor.",
806885
"items": {
807-
"$ref": "#/components/schemas/mongodbatlas.SlowQuery"
886+
"$ref": "#/components/schemas/SlowQuery"
808887
},
809888
"type": "array"
810889
}
@@ -816,14 +895,14 @@
816895
"shapes": {
817896
"description": "Documents with information about the query shapes that are served by the suggested indexes.",
818897
"items": {
819-
"$ref": "#/components/schemas/mongodbatlas.Shape"
898+
"$ref": "#/components/schemas/Shape"
820899
},
821900
"type": "array"
822901
},
823902
"suggestedIndexes": {
824903
"description": "Documents with information about the indexes suggested by the Performance Advisor.",
825904
"items": {
826-
"$ref": "#/components/schemas/mongodbatlas.SuggestedIndex"
905+
"$ref": "#/components/schemas/SuggestedIndex"
827906
},
828907
"type": "array"
829908
}
@@ -897,51 +976,6 @@
897976
},
898977
"type": "object"
899978
},
900-
"mongodbatlas.Shape": {
901-
"properties": {
902-
"avgMs": {
903-
"description": "Average duration in milliseconds for the queries examined that match this shape.",
904-
"type": "number"
905-
},
906-
"count": {
907-
"description": "Number of queries examined that match this shape.",
908-
"type": "integer"
909-
},
910-
"id": {
911-
"description": "Unique id for this shape. Exists only for the duration of the API request.",
912-
"type": "string"
913-
},
914-
"inefficiencyScore": {
915-
"description": "Average number of documents read for every document returned by the query.",
916-
"type": "integer"
917-
},
918-
"namespace": {
919-
"description": "The namespace in which the slow query ran.",
920-
"type": "string"
921-
},
922-
"operations": {
923-
"description": "It represents documents with specific information and log lines for individual queries.",
924-
"items": {
925-
"$ref": "#/components/schemas/mongodbatlas.Operation"
926-
},
927-
"type": "array"
928-
}
929-
},
930-
"type": "object"
931-
},
932-
"mongodbatlas.SlowQuery": {
933-
"properties": {
934-
"line": {
935-
"description": "The raw log line pertaining to the slow query.",
936-
"type": "string"
937-
},
938-
"namespace": {
939-
"description": "The namespace in which the slow query ran.",
940-
"type": "string"
941-
}
942-
},
943-
"type": "object"
944-
},
945979
"mongodbatlas.Stats": {
946980
"properties": {
947981
"ms": {
@@ -962,40 +996,6 @@
962996
}
963997
},
964998
"type": "object"
965-
},
966-
"mongodbatlas.SuggestedIndex": {
967-
"properties": {
968-
"id": {
969-
"description": "Unique id for this suggested index.",
970-
"type": "string"
971-
},
972-
"impact": {
973-
"description": "List of unique identifiers which correspond the query shapes in this response which pertain to this suggested index.",
974-
"items": {
975-
"type": "string"
976-
},
977-
"type": "array"
978-
},
979-
"index": {
980-
"description": "Array of documents that specifies a key in the index and its sort order, ascending or descending.",
981-
"items": {
982-
"additionalProperties": {
983-
"type": "integer"
984-
},
985-
"type": "object"
986-
},
987-
"type": "array"
988-
},
989-
"namespace": {
990-
"description": "Namespace of the suggested index.",
991-
"type": "string"
992-
},
993-
"weight": {
994-
"description": "Estimated percentage performance improvement that the suggested index would provide.",
995-
"type": "number"
996-
}
997-
},
998-
"type": "object"
999999
}
10001000
}
10011001
},
@@ -1620,6 +1620,7 @@
16201620
"/v1/projects/{projectId}/instances/{instanceId}/advisor/slow-queries": {
16211621
"get": {
16221622
"description": "gets slow queries from the Opsmanager performance advisor",
1623+
"operationId": "ListAdvisorSlowQueries",
16231624
"parameters": [
16241625
{
16251626
"description": "project id",
@@ -1697,6 +1698,7 @@
16971698
"/v1/projects/{projectId}/instances/{instanceId}/advisor/suggested-indexes": {
16981699
"get": {
16991700
"description": "gets suggested indexes from the Opsmanager performance advisor",
1701+
"operationId": "ListSuggestedIndexes",
17001702
"parameters": [
17011703
{
17021704
"description": "project id",

0 commit comments

Comments
 (0)