OnCallPagingApi Missing endpoint to list pages
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Commencez par src/datadog_api_client/v2/api/on_call_paging_api.py, en particulier par l’exemple acknowledge-on-call-page existant et l’endpoint. Comparez l’API du client avec l’endpoint de l’interface web instable à l’adresse /api/unstable/on-call/pages. Le travail est terminé lorsque le client expose une méthode de liste sous le feature flag unstable avec la prise en charge du filtrage demandée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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
- Langage dominant
- Python
- Étoiles
- 166
- Forks
- 55
- Merge moyen
- 3 j 2 h
- PR mergées (30 j)
- 78
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de DataDog/datadog-api-client-python
-
stale
Difficulté 1/5 1-3 heures Accessibilité débutants 72/100
DataDog/datadog-api-client-python#3535 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 66/100
DataDog/datadog-api-client-python#3717 · 3 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 75/100
DataDog/datadog-api-client-python#3656 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
kind/bug stale
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
DataDog/datadog-api-client-python#3120 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
stale
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
DataDog/datadog-api-client-python#2986 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
Toutes les issues de DataDog/datadog-api-client-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-2 jours Accessibilité débutants 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 7 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
pyiron/bagofholding#166 ·