pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.22k stars 332 forks source link

weird behaviour on /api/user/<username>/lists with count,offset params #794

Open kabniel opened 11 years ago

kabniel commented 11 years ago

/api/user/<username>/lists/person?count=1&offset=0 returns items with one item /api/user/<username>/lists/person?count=1&offset=1 returns items with two items /api/user/<username>/lists/person?count=1&offset=2 returns items with three items

and so on

evanp commented 11 years ago

That's weird. I mean, since offset isn't a recognized parameter, it should just return the same single list each time.

evanp commented 11 years ago

I am incorrect! mea culpa.

offset is a documented and supported parameter. I'll take a look at what's going on here.