From a2b0e8ecd66ec3d45142465a01fc78ae6afb51e4 Mon Sep 17 00:00:00 2001 From: alicejw Date: Wed, 25 May 2022 14:09:19 -0700 Subject: [PATCH] for per doc monitor API description Signed-off-by: alicejw --- _monitoring-plugins/alerting/api.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_monitoring-plugins/alerting/api.md b/_monitoring-plugins/alerting/api.md index 0c7e282d..0450deed 100644 --- a/_monitoring-plugins/alerting/api.md +++ b/_monitoring-plugins/alerting/api.md @@ -558,6 +558,9 @@ Path parameter | Description | Usage ### Create a per document monitor +You can create a per document monitor by calling the `monitors` resource and providing the monitor details in the body of the request. +At a minimum, you need to provide the following details: specify the queries or combinations by tag with the `inputs` field, a valid trigger condition, and provide the notification message in the `action` field. + #### Sample Request The following sample shows how to create a per document monitor: