alerting-v2

List rules

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/rules</span></div>

Refer to Spaces for more information.

[Required authorization] Route required privileges: read_alerting-v2-rules.

get/api/alerting/v2/rules

Query parameters

pageinteger

The page number to return. Defaults to 1. page * per_page cannot exceed 10000.

per_pageinteger

The number of rules to return per page. Defaults to 20.

filterstring

The filter to apply to the rules.

sort_field'kind' | 'enabled' | 'name'

The field to sort rules by.

sort_order'asc' | 'desc'

The direction to sort rules.

searchstring

A text string to search across rule fields.

Response

Returns a paginated list of rules.

pagenumber required

The current page number.

per_pagenumber required

The number of rules per page.

totalnumber required

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

Changes

Changed in 5 of the 176 revisions of this API.319

  • 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

    • ○

      added subschema #1 subschema #2 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 subschema #4 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 subschema #3 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ▲

      the response property /////// became optional for the status

      response-property-became-optional

    • ○

      added subschema #1 subschema #2 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      endpoint added

      endpoint-added

Of the 176 revisions, 20 have no diff computed.