PagerDuty / mixduty

An elixir client for PagerDuty's API v2
https://hex.pm/packages/mixduty
MIT License
7 stars 11 forks source link

problem filtering alerts #9

Open gilbertobr opened 3 years ago

gilbertobr commented 3 years ago

I'm trying to list only alerts with triggered and acknowledged status, but it is not working.

I tried to execute this command, but without success.

Mixduty.Incidents.list(client, [{"statuses[]", "triggered"}, {"statuses[]", "acknowledged"}]) https://github.com/PagerDuty/mixduty/pull/4

gilbertobr commented 3 years ago

When I run this command, it returns status: 200, with all alerts unfiltered.