Opened 8 years ago

Last modified 8 years ago

#5380 new defect

API limits outbox queries past 20

Reported by: Dylan Jeffers Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


I am unable to get activities from someone's outbox with the following code:
{for activity in user.outbox[19:21]} or {for activity in user.outbox[:21]}. For some reason, outbox queries return None past item 20.

Change History (3)

comment:1 by Loic Dachary, 8 years ago

Could you please explain how to reproduce this problem as well as the version of MediaGoblin you are using ?

comment:2 by Loic Dachary, 8 years ago

For the record tests have been implemented as part of and show that the count/offset parameters have the desired semantic.

comment:3 by Christopher Allan Webber, 8 years ago

I suspect the code sapientech is demonstrating involves using PyPump. I haven't tested it, though I wonder if this is some issue that happens between pypump and mediagoblin...

Note: See TracTickets for help on using tickets.