Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Org Events REST API Hard Limit of 45

オープン
#4,407 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, openapi
領域
api, documentation

調査の方向性

organization-events エンドポイントから始め、その OpenAPI の説明を、文書化されている動作およびリンク先の data-retention changelog と比較します。報告された 45 件のイベントという結果を独立して検証し、そのうえでリポジトリの説明が不正確かどうかを判断します。仕様が確認済みの API の動作を反映し、issue で期待されている 30 日間のカバレッジが解決されるか、明確に文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
言語のデータがありません
スター
1.6k
フォーク
342
平均マージ
2時間 23分
マージ済み PR(30日)
57

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/rest-api-description のほかの issue

github/rest-api-description の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。