Content Delivery API "Take" not working
# help-with-umbraco
n
I'm trying to pull the first 5 posts from a blog but in swagger its returning all posts. I've added a screenshot of the swagger window, any idea what im doing wrong? https://cdn.discordapp.com/attachments/1329410273869561917/1329410274125680711/image.png?ex=678a3d4c&is=6788ebcc&hm=f194719f8408996770eec9f99a9bd370aea5a85877a155bd9db74505df634526&
FYI I'm using Umbraco 13.5.2
s
Hello! I tried in my own solution, are you going by the "totalResults" integer? Because if I check the actual JSON object the amount of results is correct, but the integer does not change (it just tells you the total and does not adhere to the skip take)
n
Hi, thanks for that! yes I was reading the total at the top, but you're right! Thanks again, thought I was going crazy lol
s
Haha no worries, I was confused myself but it became very clear when I just did "take 1" 😄
3 Views