monitors
Create monitor
Create a new monitoring endpoint
post/monitors
Request body
Example request
{
"name": "My Website Monitor",
"description": "Monitors the main website homepage",
"type": "http",
"url": "https://example.com",
"interval": 300
}Response
Monitor created successfully
Example response
{
"success": true,
"msg": "Operation completed successfully",
"data": {
"_id": "64f123a456b789012c345def",
"name": "My Website Monitor",
"description": "Monitors the main website homepage",
"url": "https://example.com",
"interval": 300,
"isActive": true
}
}