OpsGenie REST API v0.1.0 OpsGenieRESTAPI.Api.Alert
API calls for all endpoints tagged Alert
.
Link to this section Summary
Functions
Acknowledge Alert Acknowledges alert with given identifier
Add Alert Attachment Add Alert Attachment to related alert
Add Details Add details to the alert with given identifier
Add Note Adds note to alert with given identifier
Add Responder Add responder to alert with given identifier
Add Tags Add tags to the alert with given identifier
Add Team Add team to alert with given identifier
Assign Alert Assign alert with given identifier
Close Alert Closes alert with given identifier
Create Alert Creates a new alert
Create Saved Search Create saved search with given fields
Delete Alert Deletes an alert using alert id, tiny id or alias
Delete Saved Search Deletes saved search using given search identifier
Escalate Alert Escalate alert with given identifier
Custom Alert Action Custom actions for the alert
Get Alert Returns alert with given id, tiny id or alias
Get Alert Attachment Get alert attachment name and url for the given identifier
Get Request Status of Alert Used to track the status and alert details (if any) of the request whose identifier is given
Get Saved Search Get saved search for the given search identifier
List Alerts Returns list of alerts
List Alert Attachments List alert attachment names and urls for related alert
List Alert Logs List alert logs for the given alert identifier
List Alert Notes List alert notes for the given alert identifier
List Alert Recipients List alert recipients for the given alert identifier
Lists Saved Searches List all saved searches
Remove Alert Attachment Remove alert attachment for the given identifier
Remove Details Remove details of the alert with given identifier
Remove Tags Remove tags of the alert with given identifier
Snooze Alert Snooze alert with given identifier
UnAcknowledge Alert UnAcknowledge alert with given identifier
Link to this section Functions
acknowledge_alert(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Acknowledge Alert Acknowledges alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :body (AcknowledgeAlertPayload): Request payload of acknowledging alert action
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_attachment(Tesla.Env.client(), String.t(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Alert Attachment Add Alert Attachment to related alert
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- file (String.t): Attachment file to be uploaded
opts (KeywordList): [optional] Optional parameters
- :alert_identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :user (String.t): Display name of the request owner
- :index_file (String.t): Name of html file which will be shown when attachment clicked on UI
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_details( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AddDetailsToAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Details Add details to the alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AddDetailsToAlertPayload): Request payload of adding alert details action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_note( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AddNoteToAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Note Adds note to alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AddNoteToAlertPayload): Request payload of adding note to alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_responder( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AddResponderToAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Responder Add responder to alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AddResponderToAlertPayload): Request payload of adding responder to alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_tags( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AddTagsToAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Tags Add tags to the alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AddTagsToAlertPayload): Request payload of creating alert tags action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
add_team( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AddTeamToAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Add Team Add team to alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AddTeamToAlertPayload): Request payload of adding team to alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
assign_alert( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.AssignAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Assign Alert Assign alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (AssignAlertPayload): Request payload of assigning alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
close_alert(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Close Alert Closes alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :body (CloseAlertPayload): Request payload of closing alert action
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
create_alert( Tesla.Env.client(), OpsGenieRESTAPI.Model.CreateAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Create Alert Creates a new alert
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- body (CreateAlertPayload): Request payload of created alert
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
create_saved_searches( Tesla.Env.client(), OpsGenieRESTAPI.Model.CreateSavedSearchPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.CreateSavedSearchResponse.t()} | {:error, Tesla.Env.t()}
Create Saved Search Create saved search with given fields
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- body (CreateSavedSearchPayload): Request payload of creating saved search
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %OpsGenieRESTAPI.Model.CreateSavedSearchResponse{}} on success {:error, info} on failure
delete_alert(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Delete Alert Deletes an alert using alert id, tiny id or alias
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :user (String.t): Display name of the request owner
- :source (String.t): Display name of the request source
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
delete_saved_search(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Delete Saved Search Deletes saved search using given search identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of the saved search which could be 'id' or 'name'
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
escalate_alert( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.EscalateAlertToNextPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Escalate Alert Escalate alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (EscalateAlertToNextPayload): Request payload of escalating alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
execute_custom_alert_action( Tesla.Env.client(), String.t(), String.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Custom Alert Action Custom actions for the alert
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- action_name (String.t): Name of the action to execute
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :body (ExecuteCustomAlertActionPayload): Request payload of executing custom alert action
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
get_alert(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.GetAlertResponse.t()} | {:error, Tesla.Env.t()}
Get Alert Returns alert with given id, tiny id or alias
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.GetAlertResponse{}} on success {:error, info} on failure
get_attachment(Tesla.Env.client(), String.t(), integer(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.GetAlertAttachmentResponse.t()} | {:error, Tesla.Env.t()}
Get Alert Attachment Get alert attachment name and url for the given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- attachment_id (integer()): Identifier of alert attachment
opts (KeywordList): [optional] Optional parameters
- :alert_identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.GetAlertAttachmentResponse{}} on success {:error, info} on failure
get_request_status(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.GetRequestStatusResponse.t()} | {:error, Tesla.Env.t()}
Get Request Status of Alert Used to track the status and alert details (if any) of the request whose identifier is given
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- request_id (String.t): Universally unique identifier of the questioned request
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %OpsGenieRESTAPI.Model.GetRequestStatusResponse{}} on success {:error, info} on failure
get_saved_search(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.GetSavedSearchResponse.t()} | {:error, Tesla.Env.t()}
Get Saved Search Get saved search for the given search identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of the saved search which could be 'id' or 'name'
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', or 'name'
Returns
{:ok, %OpsGenieRESTAPI.Model.GetSavedSearchResponse{}} on success {:error, info} on failure
list_alerts(Tesla.Env.client(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListAlertsResponse.t()} | {:error, Tesla.Env.t()}
List Alerts Returns list of alerts
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
opts (KeywordList): [optional] Optional parameters
- :query (String.t): Search query to apply while filtering the alerts
- :search_identifier (String.t): Identifier of the saved search query to apply while filtering the alerts
- :search_identifier_type (String.t): Identifier type of the saved search query. Possible values are 'id', or 'name'
- :offset (integer()): Start index of the result set (to apply pagination). Minimum value (and also default value) is 0
- :limit (integer()): Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
- :sort (String.t): Name of the field that result set will be sorted by
- :order (String.t): Sorting order of the result set
Returns
{:ok, %OpsGenieRESTAPI.Model.ListAlertsResponse{}} on success {:error, info} on failure
list_attachments(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListAlertAttachmentsResponse.t()} | {:error, Tesla.Env.t()}
List Alert Attachments List alert attachment names and urls for related alert
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :alert_identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.ListAlertAttachmentsResponse{}} on success {:error, info} on failure
list_logs(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListAlertLogsResponse.t()} | {:error, Tesla.Env.t()}
List Alert Logs List alert logs for the given alert identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :offset (String.t): Starting value of the offset property
- :direction (String.t): Page direction to apply for the given offset with 'next' and 'prev'
- :limit (integer()): Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
- :order (String.t): Sorting order of the result set
Returns
{:ok, %OpsGenieRESTAPI.Model.ListAlertLogsResponse{}} on success {:error, info} on failure
list_notes(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListAlertNotesResponse.t()} | {:error, Tesla.Env.t()}
List Alert Notes List alert notes for the given alert identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :offset (String.t): Starting value of the offset property
- :direction (String.t): Page direction to apply for the given offset with 'next' and 'prev'
- :limit (integer()): Maximum number of items to provide in the result. Must be a positive integer value. Default value is 20 and maximum value is 100
- :order (String.t): Sorting order of the result set
Returns
{:ok, %OpsGenieRESTAPI.Model.ListAlertNotesResponse{}} on success {:error, info} on failure
list_recipients(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListAlertRecipientsResponse.t()} | {:error, Tesla.Env.t()}
List Alert Recipients List alert recipients for the given alert identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.ListAlertRecipientsResponse{}} on success {:error, info} on failure
list_saved_searches(Tesla.Env.client(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.ListSavedSearchesResponse.t()} | {:error, Tesla.Env.t()}
Lists Saved Searches List all saved searches
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %OpsGenieRESTAPI.Model.ListSavedSearchesResponse{}} on success {:error, info} on failure
remove_attachment(Tesla.Env.client(), String.t(), integer(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Remove Alert Attachment Remove alert attachment for the given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- attachment_id (integer()): Identifier of alert attachment
opts (KeywordList): [optional] Optional parameters
- :alert_identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :user (String.t): Display name of the request owner
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
remove_details(Tesla.Env.client(), String.t(), [String.t()], keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Remove Details Remove details of the alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- keys ([String.t]): Comma separated list of keys to remove from the custom properties of the alert (e.g. 'key1,key2')
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :user (String.t): Display name of the request owner
- :note (String.t): Additional alert note to add
- :source (String.t): Display name of the request source
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
remove_tags(Tesla.Env.client(), String.t(), [String.t()], keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Remove Tags Remove tags of the alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- tags ([String.t]): Tags field of the given alert as comma seperated values (e.g. 'tag1, tag2')
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :user (String.t): Display name of the request owner
- :note (String.t): Additional alert note to add
- :source (String.t): Display name of the request source
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
snooze_alert( Tesla.Env.client(), String.t(), OpsGenieRESTAPI.Model.SnoozeAlertPayload.t(), keyword() ) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
Snooze Alert Snooze alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
- body (SnoozeAlertPayload): Request payload of snoozing alert action
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure
un_acknowledge_alert(Tesla.Env.client(), String.t(), keyword()) :: {:ok, OpsGenieRESTAPI.Model.SuccessResponse.t()} | {:error, Tesla.Env.t()}
UnAcknowledge Alert UnAcknowledge alert with given identifier
Parameters
- connection (OpsGenieRESTAPI.Connection): Connection to server
- identifier (String.t): Identifier of alert which could be alert id, tiny id or alert alias
opts (KeywordList): [optional] Optional parameters
- :identifier_type (String.t): Type of the identifier that is provided as an in-line parameter. Possible values are 'id', 'alias' or 'tiny'
- :body (UnAcknowledgeAlertPayload): Request payload of unacknowledging alert action
Returns
{:ok, %OpsGenieRESTAPI.Model.SuccessResponse{}} on success {:error, info} on failure