Events API seem to be broken (BB-3542)

Issue #3573 resolved
Alexander Asanov created an issue

It looks like events api use limit argument as "stop" argument.

{{{ curl https://api.bitbucket.org/1.0/users/eterverda/events/ --user eterverda:password }}} Returns 15 events (not 25 as mentioned in docs) of 109

{{{ curl https://api.bitbucket.org/1.0/users/eterverda/events/?start=1 --user eterverda:password }}} Returns 14 events. The very first (oldest one) from previous 15 excluded.

{{{ curl https://api.bitbucket.org/1.0/users/eterverda/events/?start=14 --user eterverda:password }}} Returns only the very last event of 15.

If I play with limit argument I can browse up to 50 issues. For example {{{ curl https://api.bitbucket.org/1.0/users/eterverda/events/?start=45&limit=50 --user eterverda:password }}} Returns events 45 to 50.

There is no way to browse newer events because limit is limited to 50.

Comments (7)

  1. Alex Safonov

    I confirm the issue. There is no way to fetch latest events. Latest commits do not appear in the events

  2. Log in to comment