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


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

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.


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