-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Describe the bug
OnCallPagingApi has methods to Escalate, Acknowledge, Resolve or Create On-Call Pages but not to list them.
The only way to list them is through the web ui https://app.datadoghq.eu/on-call/pages
To Reproduce
Steps to reproduce the behavior:
- Try out the example for acknowledging an on-call page found here
- Try to change the code to list current triggered pages
- No methods or api endpoints exposed for that.
Expected behavior
A method similar to acknowledge_on_call_page
but for listing outstanding pages, with the ability to filter out by responder, status, etc...
Screenshots
Environment and Versions (please complete the following information):
- datadog-api-client==2.41.0
Additional context
The web UI is currently using an unstable API endpoint that differs from what the library is using ie:
- The library:
"endpoint_path": "/api/v2/on-call/pages/{page_id}/acknowledge", - The web UI:
https://app.datadoghq.eu/api/unstable/on-call/pages
If the endpoints is unstable
the expected behavior is to have it supported under the unstable
feature flag