/watcher/{watcher_id}/update
DeprecatedGET
/watcher/{watcher_id}/updateModified at: 20 days ago
Updates a watcher.
Parameters are the same as for /watcher/create.
The id of the watcher to be updated is provided in URL, e.g.
/watcher/123/update
Request
Path Params
watcher_id
string
required
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"created_timestamp": 1657645029,
"created_string": "Tue 12 Jul 2022 @ 16:57 (UTC)",
"duration": 0.332,
"language": "en-gb",
"timezone": {
"timezone_type": 3,
"timezone": "UTC"
},
"code": 200,
"oldest_cached_component_age": 777,
"session_id": "1dedbf232bc104b6087327016c50ba45",
"org_onboarding_status_id": 300,
"api_host": "api-stage.anomify.ai",
"user_onboarding_flags": {
"main_intro": true,
"alerts_intro": false,
"alerts_from_search": false,
"training_intro": false,
"alert_created": true,
"test_alert_sent": true,
"two_alerts_sent": true,
"pattern_trained": true
}
},
"data": {
"watcher": {
"id": 343,
"owner_user_id": 101,
"owner_user_display_name": "Phil Collins",
"owner_user_email": "si@anomalarm.io",
"name": "Si Test Alert 2022-07-12 01",
"modified_timestamp": 1657645029,
"modified_timestamp_string": "Today, 16:57:09",
"dispatched_count": 0,
"last_dispatched_timestamp": null,
"last_dispatched_timestamp_string": "",
"alert_slack_channel": "anomify-alerts",
"report_frequency": "",
"expiration_time": 600,
"chips": "memory,MemFree",
"is_alert": 0,
"is_deleted": 0,
"alert_email_recipient_ids": "101",
"alert_sms_recipient_ids": null,
"mention_slack_recipient_ids": "102",
"summary_report_recipient_ids": null
}
}
}
Last modified: 20 days ago