The REST database does not respect the page parameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the two requests to /notices/v1/red with page=3 and page=4 and compare their responses, including the reported page value. Then locate the endpoint implementation and pagination handling; done means the requested page is respected and the response reports the corresponding page.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 16
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bundesAPI/interpol-api
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bundesAPI/interpol-api#10 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
bundesAPI/interpol-api#9 · 1 comment · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
bundesAPI/interpol-api#8 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
bundesAPI/interpol-api#7 · 3 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in bundesAPI/interpol-api
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100