local entries are single countries (their codefilter[country] in the package list); regional entriescurl --location --globoff '/api/v1/countries?page=1&per_page=15&filter[type]=local' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"code": "ES",
"name": "Spain",
"type": "local"
},
{
"code": "FR",
"name": "France",
"type": "local"
}
],
"links": {
"first": "https://api.example/api/v1/countries?page=1",
"last": "https://api.example/api/v1/countries?page=9",
"prev": null,
"next": "https://api.example/api/v1/countries?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"to": 2,
"last_page": 9,
"per_page": 2,
"total": 17,
"path": "https://api.example/api/v1/countries"
}
}