curl -X GET "https://ecli.openjustice.be/BE/RVSCDE/2010/" -H "accept: application/json" > data.json && wc -c data.json
384510 data.json
Proposition of schema for pagination:
{
"total": 4700,
"per_page": 40,
"current_page": 1,
"last_page": 4,
"first_page_url": "/BE/RVSCDE/2010/?page=1",
"last_page_url": "/BE/RVSCDE/2010/?page=118",
"next_page_url": "/BE/RVSCDE/2010/?page=2",
"prev_page_url": null,
"path": "https://ecli.openjustice.be",
"from": 1,
"to": 40,
"data":[
{
// Result Object
},
{
// Result Object
}
]
}
Proposition of schema for pagination:
{ "total": 4700, "per_page": 40, "current_page": 1, "last_page": 4, "first_page_url": "/BE/RVSCDE/2010/?page=1", "last_page_url": "/BE/RVSCDE/2010/?page=118", "next_page_url": "/BE/RVSCDE/2010/?page=2", "prev_page_url": null, "path": "https://ecli.openjustice.be", "from": 1, "to": 40, "data":[ { // Result Object }, { // Result Object } ] }