fix minor description issues on Alerting API doc

Signed-off-by: syrinx05p <syrinx05p@gmail.com>
This commit is contained in:
syrinx05p 2022-01-05 10:46:31 +09:00
parent 6fb47178c2
commit eba57bdd12
1 changed files with 4 additions and 4 deletions

View File

@ -514,7 +514,7 @@ POST _plugins/_alerting/monitors
Introduced 1.0 Introduced 1.0
{: .label .label-purple } {: .label .label-purple }
When you update a monitor, you can use the `seq_no` and `primary_term` to update an existing monitor. If these numbers dont match the existing monitor or the monitor doesnt exist, alerting throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response). When updating a monitor, you can optionally include `seq_no` and `primary_term` as URL parameters. If these numbers don't match the existing monitor or the monitor doesn't exist, the alerting plugin throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response).
#### Request #### Request
@ -1300,7 +1300,7 @@ POST _plugins/_alerting/destinations
Introduced 1.0 Introduced 1.0
{: .label .label-purple } {: .label .label-purple }
When you update a destination, you can use the `seq_no` and `primary_term` to update an existing destination. If these numbers dont match the existing destination or the destination doesnt exist, alerting throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response). When updating a destination, you can optionally include `seq_no` and `primary_term` as URL parameters. If these numbers don't match the existing destination or the destination doesn't exist, the alerting plugin throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response).
#### Request #### Request
@ -1509,7 +1509,7 @@ POST _plugins/_alerting/destinations/email_accounts
Introduced 1.0 Introduced 1.0
{: .label .label-purple } {: .label .label-purple }
When you update an email account, you can use the `seq_no` and `primary_term` to update an existing email account. If these numbers dont match the existing email account or the email account doesnt exist, alerting throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response). When updating an email account, you can optionally include `seq_no` and `primary_term` as URL parameters. If these numbers don't match the existing email account or the email account doesn't exist, the alerting plugin throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response).
#### Request #### Request
```json ```json
@ -1718,7 +1718,7 @@ POST _plugins/_alerting/destinations/email_groups
Introduced 1.0 Introduced 1.0
{: .label .label-purple } {: .label .label-purple }
When you update an email group, you can use the `seq_no` and `primary_term` to update an existing email group. If these numbers dont match the existing email group or the email group doesnt exist, alerting throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response). When updating an email group, you can optionally include `seq_no` and `primary_term` as URL parameters. If these numbers don't match the existing email group or the email group doesn't exist, the alerting plugin throws an error. OpenSearch increments the version number and the sequence number automatically (see the sample response).
#### Request #### Request