Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Org Events REST API Hard Limit of 45

Aperta
#4,407 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, openapi
Ambito
api, documentation

Direzione di ricerca

Inizia con l’endpoint organization-events e confronta la relativa descrizione OpenAPI con il comportamento documentato e il changelog data-retention collegato. Verifica indipendentemente il risultato segnalato di 45 eventi, quindi determina se la descrizione del repository è inaccurata. Il lavoro è completato quando la specifica riflette il comportamento confermato dell’API e la copertura prevista di 30 giorni dell’issue è risolta o documentata chiaramente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Schema Inaccuracy

Org Events API, is not giving all the events under 30 days. It only returns the latest 45 events when I invoke the API with a token with all the permissions.

Note: I have successfully implemented pagination logic to get all the pages, but the result is still 45.

I have gone through GitHub Docs, and it says they reduced the events window from 90 days to 30 days, this will take effect after Jan 2025. But I'm not even getting data for 30 days.

Expected

It should return data of 30 days, and not limit the returned response to 45.

Reproduction Steps

  • Be the Owner of an Organization
  • Make a Classic Token with all the permissions on the portal
  • Hit the API:
curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://api.github.com/users/USERNAME/events/orgs/ORG
  • Check the count of the results obtained, if it's 45 for you too.
Lingua principale
Nessun dato sulla lingua
Stelle
1.6k
Fork
342
Merge medio
2h 23m
PR unite (30g)
57

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/rest-api-description

Tutte le issue di github/rest-api-description

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.