bundesAPI / bundesAPI/interpol-api
The REST database does not respect the page parameter
- Lingua principale
- Python
- Stelle
- 16
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100