-
Couldn't load subscription status.
- Fork 32
Description
Hi,
I have a few questions regarding headers of requests.
I am testing with this endpoint: http://grlc.io/api-git/rapw3k/cybele/#/json/get_allDatasets
- If you dont send a page number in the request, the response header returns the link to the next and to the last as follows:
next: http://grlc.io,grlc.io/api-git/rapw3k/cybele/allDatasets?endpoint=https%3A%2F%2Fwww.foodie-cloud.org%2Fsparql%3Fdefault-graph-uri%3Dhttps%3A%2F%2Fw3id.org%2Fcybele%2Fdatasets%2F&page=1
last: http://grlc.io,grlc.io/api-git/rapw3k/cybele/allDatasets?endpoint=https%3A%2F%2Fwww.foodie-cloud.org%2Fsparql%3Fdefault-graph-uri%3Dhttps%3A%2F%2Fw3id.org%2Fcybele%2Fdatasets%2F&page=10.0
however, the page=1 gives the same result as without page number, so shouldn't be next page = 2 if i dont send page number ?
Moreover, the links are actually incorrect, they have two times grlc.io in domain, i.e., http://grlc.io,grlc.io/ , and also why 10.0 instead of just 10 ?
-
why the response headers says the last page is page 10, if only the first page returns data in my example? Page 2,3,..10 for example returns zero informatoin: http://grlc.io/api-git/rapw3k/cybele/allDatasets?endpoint=https%3A%2F%2Fwww.foodie-cloud.org%2Fsparql%3Fdefault-graph-uri%3Dhttps%3A%2F%2Fw3id.org%2Fcybele%2Fdatasets%2F&page=2
-
page 10 does not give link to next page which is ok, but you can actually ask for page 11,12,13.....
-
if each page returns 100 results, what will happen if i have more than 100 (x10 pages) =1000 results ? Will this change the last page to page 20 ?
thanks!
Raul