Org Events REST API Hard Limit of 45
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- github, openapi
- 领域
- api, documentation
调研方向
从 organization-events 端点开始,将其 OpenAPI 描述与已记录的行为以及链接的 data-retention 变更日志进行比较。独立验证报告的 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 分钟
- 30 天内合并 PR
- 57
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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
-
Area: Excel support
难度 2/5 1-3 小时 新手友好度 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/python-sdk#3566 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
griptape-ai/griptape#2353 ·