Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

OnCallPagingApi Missing endpoint to list pages

Aberta
#2,773 4 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
openapi, python
Domínio
api

Direção de pesquisa

Comece por src/datadog_api_client/v2/api/on_call_paging_api.py, especialmente pelo exemplo existente de acknowledge-on-call-page e pelo endpoint. Compare a API do cliente com o endpoint instável da interface web em /api/unstable/on-call/pages. Considera-se concluído quando o cliente expuser um método de listagem sob a feature flag unstable com o suporte ao filtro solicitado.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

kind/bug stale

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.61.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

Linguagem predominante
Python
Estrelas
167
Forks
55
Merge médio
2d 23h
PRs com merge (30d)
74

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DataDog/datadog-api-client-python

Todas as issues de DataDog/datadog-api-client-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.