OnCallPagingApi Missing endpoint to list pages
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Beginnen Sie mit src/datadog_api_client/v2/api/on_call_paging_api.py, insbesondere mit dem vorhandenen acknowledge-on-call-page-Beispiel und dem Endpoint. Vergleichen Sie die Client-API mit dem instabilen Web-UI-Endpoint unter /api/unstable/on-call/pages. Als erledigt gilt die Aufgabe, wenn der Client unter dem unstable Feature-Flag eine Listing-Methode mit der angeforderten Filterunterstützung bereitstellt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.61.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
- Vorherrschende Sprache
- Python
- Sterne
- 167
- Forks
- 55
- Ø Merge
- 3 T. 17 Std.
- Gemergte PRs (30 T.)
- 80
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus DataDog/datadog-api-client-python
-
Python 3.13/3.14 SyntaxWarning in v1 LogsPipelinesApi docstringEvtl. vergeben @Mirochill hat das vor 142 Tagen übernommen. Offenstale
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
DataDog/datadog-api-client-python#3535 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
kind/bug stale
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 66/100
DataDog/datadog-api-client-python#3717 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
kind/bug stale
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 75/100
DataDog/datadog-api-client-python#3656 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
kind/bug stale
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 38/100
DataDog/datadog-api-client-python#3120 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
stale
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
DataDog/datadog-api-client-python#2986 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in DataDog/datadog-api-client-python
Ähnliche Issues
-
area:space-accuracy good first issue track:data
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Sara-Managed-Projects/space-radar#904 ·
Maintainer antworten meist innerhalb von 1 Tag