alerting-v2

List action policies

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/alerting/v2/action_policies</span></div>

Refer to Spaces for more information.

Get a paginated list of action policies with optional filtering and sorting.<br/><br/>[Required authorization] Route required privileges: read_alerting-v2-action-policies.

get/api/alerting/v2/action_policies

Query parameters

pageinteger

The page number to return. Defaults to 1.

per_pageinteger

The number of action policies to return per page. Defaults to 20.

searchstring

A text string to search across action policy fields.

enabled'true' | 'false'

Filter by enabled status. Accepts the strings true or false.

sort_field'name' | 'created_at' | 'updated_at'

The field to sort action policies by.

sort_order'asc' | 'desc'

The sort direction.

Response

Returns a paginated list of action policies.

pagenumber required

The current page number.

per_pagenumber required

The number of action policies per page.

totalnumber required

The number of action policies matching the query. This count is an estimate: results above 10,000 may be reported as 10,000.

Changes

Changed in 4 of the 176 revisions of this API.423

  • 883cd57e9ac721See the full diff
    • ▲

      for the query request parameter page, the type changed from number to integer

      request-parameter-type-changed

    • ▲

      for the query request parameter per_page, the type changed from number to integer

      request-parameter-type-changed

    • ●

      for the query request parameter page, the max was set to 10000.00

      request-parameter-max-set

  • 1078d5597eb411See the full diff
    • ▲

      removed the required property // from the response with the status

      response-required-property-removed

    • ●

      deleted the query request parameter tags

      request-parameter-removed

  • cf530633f03b12See the full diff
    • ▲

      the // response's property type changed from string to object for status

      response-property-type-changed

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      endpoint added

      endpoint-added

Of the 176 revisions, 20 have no diff computed.