LiquidPlanner Classic Forum

Ask a Question
Back to All

I am unable to get the API limit filter to work when returning treeitems

Posted on behalf of Chris Pauly. Original posting date 2015-08-05.

I want to find the package name containing the earliest, active project/task inside our active queue package of items for a given client. So I tried writing this API call:

https://app.liquidplanner.com/api/workspaces/:wid/treeitems/:activequeueid?depth=-1&filter[]=is_done is false&filter[]=client_id=:clientid&limit=1

It returns the items I want... although I only care about the first item. Is there a reason the limit parameter doesn't work for this API call?