I suggest you start from Strapi’s dev docs
When you get to the REST API section you find the Get entries in the Endpoints and basic requests.
If you open a browser and type http://localhost:1337/api/{collection-type_plural} you will receive something like this back (got this from Strapi docs)
{
"data": [
{
"id": 1,
"attributes": {
"title": "Restaurant A",
"description": "Restaurant A's description"
}
},
{
"id": 2,
"attributes": {
"title": "Restaurant B",
"description": "Restaurant B's description"
},
...
},
],
"meta": {
"pagination": {
"page": 1,
"pageSize": 25,
"pageCount": 1,
"total": 2,
}
}
}
In the meta there are pageSize and total keys. pageSize: 25 means that the API will return only 25 results back, and total is the number of your total data inside your collection.
Now, if you have more than 25 items in your collection, then you will receive the first 25 and then you will need to ask for the second page in order to get the next 25 items, that is from item number 25 through 50.
I hope I helped a bit ![]()