bundesAPI / bundesAPI/interpol-api
The REST database does not respect the page parameter
未关闭
- 主要语言
- Python
- 星标
- 16
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
There is an issue with the REST database itself.
There is no difference in the result of 2 requests with different page parameter.
e.g.
Request
https://ws-public.interpol.int/notices/v1/red?**page=4**&resultPerPage=160
return the same response as request
https://ws-public.interpol.int/notices/v1/red?**page=3**&resultPerPage=160
The JSON response does show the page parameter of the request with the value 1.
So it looks like the REST API prefers a default of 1 instead of respecting the parameter of the request.
贡献指南
这个仓库没有索引到贡献指南
调研方向
重现对 /notices/v1/red 的两个请求,分别使用 page=3 和 page=4,并比较它们的响应,包括报告的页面值。然后定位 endpoint 的实现和分页处理;当请求的页面得到遵循且响应报告对应的页面时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100