[SOLVED] Json query using 'take' does not work

hi

trying to limit the number of items being returned by adding this parameter to my API-request
/api/content/site/office/?q={“take”:1} or the encoded version
/api/content/site/office/?q=%7B%22take%22%3A1%7D

But the I still get the full list of items.

What am I doing wrong ?

It work for me like this. Exactly as you made it.

https://cloud.squidex.io/api/content/squidex-website/blog?q={"take":1}

hehe - I figured it out - was looking at the “total” in the return object - assumed that this would change to eg 1 - but it returns the total number.

If I look inside the “Items”-array - it returns 1 item.

Awesome support - awesome product !

1 Like