Appearance
Execute an alert by name
About 130 wordsLess than 1 minute
apiAlert
2025-03-13
MethodPOST
Request URL
/plugin/datafor/api/alert/execute
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Content Typeapplication/x-www-form-urlencoded
Preconditions
- The current user must have read privileges for the alert.
Request Schema
Name | Location | Type | Required | Description |
---|---|---|---|---|
name | body | string | No | Name of the alert to be executed |
Request Example
name: alert1
Response Examples
{
"msg": "success",
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | none | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
msg | string | No | Message string |
success | boolean | Yes | Request status |