Query Parameters of API are ignored

api

#1

https://circleci.com/docs/api/#recent-builds-project

I am using this API on one private repo of mine.

curl https://circleci.com/api/v1.1/project/github/:account/:repo?circle-token=:token&limit=1&filter=successful

I can change the limit and/or the filter, the results is always the same. all my 20 builds.
I tried on another repo I have, a public one, and it worked fine this time. I don’t know if the privacy setting is the cause here.

Is there anything I could be doing wrong? Is there anymore feedback I could pass on?


#2

I am running into the same problem.
Any updates on this?
I am using the following request:
curl https://circleci.com/api/v1.1/project/github/:account/:repo/tree/:branch?circle-token=:token&limit=1

But I keep getting the 20 results

I tried adding /recent_builds but then I get an empty list []


#3