OnCallPagingApi Missing endpoint to list pages
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start with src/datadog_api_client/v2/api/on_call_paging_api.py, especially the existing acknowledge-on-call-page example and endpoint. Compare the client API with the unstable web UI endpoint at /api/unstable/on-call/pages. Done means the client exposes a listing method under the unstable feature flag with the requested filtering support.
Written by the indexing model from the issue text.
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: https://github.com/DataDog/datadog-api-client-python/blob/22e917aa5ba86e8dbd8f4f3b4b211c565138e615/src/datadog_api_client/v2/api/on_call_paging_api.py#L32
- 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
- Dominant language
- Python
- Stars
- 166
- Forks
- 55
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/datadog-api-client-python
-
stale
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
DataDog/datadog-api-client-python#3535 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 66/100
DataDog/datadog-api-client-python#3717 · 3 comments ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 75/100
DataDog/datadog-api-client-python#3656 · 1 comment ·
-
kind/bug stale
Difficulty 3/5 1-2 days Newbie friendliness 38/100
DataDog/datadog-api-client-python#3120 · 1 comment ·
-
stale
Difficulty 3/5 1-2 days Newbie friendliness 45/100
DataDog/datadog-api-client-python#2986 · 1 comment ·
All issues in DataDog/datadog-api-client-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·