Total_count and total


I am making calls to blog-post api endpoint with a limit of 5 items and I am getting 7 in total and same in total_count in the response.

I would be thinking that one of them would be the actual number of posts meeting by criteria and the other the number of items returned in the api response.

Otherwise what is the difference between total_count and total?



Hi @phoude,

The total_count field and the total field both reflect the total number of blog posts that match the criteria you specify. There isn't currently any difference between the two; you can use either/both.