Skip to content

OnCallPagingApi Missing endpoint to list pages #2773

Description

@mbovo

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:

  1. Try out the example for acknowledging an on-call page found here
  2. Try to change the code to list current triggered pages
  3. 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:

If the endpoints is unstable the expected behavior is to have it supported under the unstable feature flag

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions