List Alerts API pagination and filter params

I am trying to integrate Fastly List Alerts API . There is no info. about pagination or filter params in the API documentation.
Will the API return all the alerts every time?
What is the max no. of alerts that will be returned?
How can I implement pagination and filter params to this API?

Hi @sagarsim. I got in touch with the team responsible for this and they returned several points to your questions:

  1. Pagination
    There is none on this API. All alerts will be sent back in the response.

  2. Filters
    There is a tagName query param available. It can be used like ?tagName=foo&tagName=bar

  3. Will the API return all the alerts every time?
    Yes

  4. What is the max no. of alerts that will be returned?
    No max. All alerts are returned.

  5. How can I implement pagination and filter params to this API?
    There’s no pagination. Refer to 2 for filter implementation.

Let us know if this answers everything or if there’s more I can ask of them. And welcome to the forum!

1 Like

Thanks for the answer.