module Arbor::Peakflow::Mitigations
Public Instance Methods
mitigations(filter = nil, limit = nil, format = 'json')
click to toggle source
The mitigations function allows you to search for and retrieve JSON and XML mitigation information.
Parameters:¶ ↑
-
filter
: (Optional) Keywords by which you want to filter search results. You can enter the same search strings that you can enter in the Search box on theMitigations
pages in the Web UI. -
limit
: (Optional) The maximum number of mitigations to return that match the filter. -
format
: The format in which you want the data returned: ‘json` or `xml`
Example¶ ↑
response = client.mitigations 'auto-mitigation', 10, 'json'
# File lib/arbor_peakflow_ruby/actions/mitigations.rb, line 14 def mitigations(filter = nil, limit = nil, format = 'json') url_filter_limit_format_request('arborws/mitigations/status', filter, limit, format) end