All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
create_alert_using_post | POST users-web/api/v3/alerts | Create alert rule |
delete_alert_rule_using_delete | DELETE users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
disable_alert_rule_using_put | PUT users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
enable_alert_rule_using_put | PUT users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
get_alert_rules_for_app_using_get | GET users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
AlertRuleResponse create_alert_using_post(ctx, body) Create alert rule
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
body | AlertRule | dto |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GenericMapBasedApiResponse delete_alert_rule_using_delete(ctx, updateable_alert_id) Delete alert rule
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
updateable_alert_id | i64 | updateableAlertId |
[GenericMapBasedApiResponse](Generic Map Based Api Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GenericMapBasedApiResponse disable_alert_rule_using_put(ctx, updateable_alert_id) Disable alert rule
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
updateable_alert_id | i64 | updateableAlertId |
[GenericMapBasedApiResponse](Generic Map Based Api Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GenericMapBasedApiResponse enable_alert_rule_using_put(ctx, updateable_alert_id) Enable alert rule
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
updateable_alert_id | i64 | updateableAlertId |
[GenericMapBasedApiResponse](Generic Map Based Api Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AlertRulesResponse get_alert_rules_for_app_using_get(ctx, app_id) Get alert rules for an app
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
app_id | i64 | appId |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]