monitors

Export monitors to JSON

Export all monitors to JSON format (admin/superadmin only)

get/monitors/export/json

Response

JSON file generated successfully

successboolean
msgstring

Example response

{
  "success": true,
  "msg": "Monitors exported successfully",
  "data": [
    {
      "_id": "64f123a456b789012c345def",
      "name": "My Website Monitor",
      "description": "Monitors the main website homepage",
      "url": "https://example.com",
      "interval": 300,
      "isActive": true
    }
  ]
}

Changes