add get all monitors to docs

This commit is contained in:
Alex Holliday committed 2024-09-24 15:12:38 +08:00
1 parent c9ab3d9fde
commit 53f2361a10
1 file changed
+43
+43
View File
@@ -695,6 +695,49 @@
}
]
}
},
"/monitors": {
"get": {
"tags": ["monitors"],
"description": "Get all monitors",
"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": []
}
]
}
}
},
"components": {