Add getMonitorsAndSummaryByTeamID to docs

This commit is contained in:
Alex Holliday committed 2024-09-24 15:38:27 +08:00
1 parent 1697e853e6
commit db4dbc6a5f
1 file changed
+62
+62
View File
@@ -897,6 +897,68 @@
}
]
}
},
"/monitors/team/summary/{teamId}": {
"get": {
"tags": ["monitors"],
"description": "Get monitors and summary by teamId",
"parameters": [
{
"name": "teamId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"required": false,
"schema": {
"type": "array",
"enum": ["http", "ping", "pagespeed"]
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
"422": {
"description": "Unprocessable Content",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
}
},