Skip to content

Latest commit

 

History

History
146 lines (89 loc) · 6.12 KB

AlertsApi.md

File metadata and controls

146 lines (89 loc) · 6.12 KB

{{classname}}

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

create_alert_using_post

AlertRuleResponse create_alert_using_post(ctx, body) Create alert rule

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
body AlertRule dto

Return type

AlertRuleResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_alert_rule_using_delete

GenericMapBasedApiResponse delete_alert_rule_using_delete(ctx, updateable_alert_id) Delete alert rule

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
updateable_alert_id i64 updateableAlertId

Return type

[GenericMapBasedApiResponse](Generic Map Based Api Response.md)

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

disable_alert_rule_using_put

GenericMapBasedApiResponse disable_alert_rule_using_put(ctx, updateable_alert_id) Disable alert rule

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
updateable_alert_id i64 updateableAlertId

Return type

[GenericMapBasedApiResponse](Generic Map Based Api Response.md)

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

enable_alert_rule_using_put

GenericMapBasedApiResponse enable_alert_rule_using_put(ctx, updateable_alert_id) Enable alert rule

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
updateable_alert_id i64 updateableAlertId

Return type

[GenericMapBasedApiResponse](Generic Map Based Api Response.md)

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_alert_rules_for_app_using_get

AlertRulesResponse get_alert_rules_for_app_using_get(ctx, app_id) Get alert rules for an app

Required Parameters

Name Type Description Notes
ctx context.Context context containing the authentication nil if no authentication
app_id i64 appId

Return type

AlertRulesResponse

Authorization

api_key,

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]