Hello everybody,
I have a problem with my code using Contentful API for extract stats entries, only 100 first entries is writed in my array but i would like to increase the limit over 100. Can you help me please?
Hello everybody,
I have a problem with my code using Contentful API for extract stats entries, only 100 first entries is writed in my array but i would like to increase the limit over 100. Can you help me please?
Hi there!
You have to either query a post directly or add the parameter “limit” in your query if you need many posts. The max amount is 1000. So your query could look like this: https://cdn.contentful.com/spaces/[YOUR SPACE]/environments/master/entries?limit=200&access_token=abc123…
Read up here: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/collection-resources-and-pagination
I hope this helps
//T