Org Events REST API Hard Limit of 45
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github, openapi
- 領域
- api, documentation
調査の方向性
organization-events エンドポイントから始め、その OpenAPI の説明を、文書化されている動作およびリンク先の data-retention changelog と比較します。報告された 45 件のイベントという結果を独立して検証し、そのうえでリポジトリの説明が不正確かどうかを判断します。仕様が確認済みの API の動作を反映し、issue で期待されている 30 日間のカバレッジが解決されるか、明確に文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/rest-api-description のほかの issue
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
github/rest-api-description#7220 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
github/rest-api-description#7201 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/rest-api-description#7163 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7162 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/rest-api-description#7135 ·
github/rest-api-description の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
speaches-ai/speaches#678 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's オープンbug ecr
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100