1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #4796 closed

REST API: User Events Missing Entries (BB-6187)

created an issue

Executing the "/users/{username}/events" REST API call results in a truncated list which is missing a lot of events that should be public and are visible on the BitBucket website.

For example:

curl -i "https://api.bitbucket.org/1.0/users/thedillonb/events/?start=0&limit=30"

{ "count": 1, "events": [ { "node": null, "description": null, "repository": null, "created_on": "2012-10-04 00:24:08", "user": { "username": "thedillonb", "first_name": "Dillon", "last_name": "", "is_team": false, "avatar": "https://secure.gravatar.com/avatar/5ce4051edf2dd7a41c0d9f438f869b1a?d=https%3A%2F%2Fdwz7u9t8u8usb.cloudfront.net%2Fm%2F96c49f640214%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32", "resource_uri": "/1.0/users/thedillonb" }, "utc_created_on": "2012-10-03 22:24:08+00:00", "event": "start_follow_user" } ] }

However, if you check my profile you'll see there are a lot more entries that are missing...

Comments (9)

  1. Dylan Etkin

    Hi thedillonb,

    In your example you are hitting the REST endpoint with curl as an unauthenticated user.

    In that case we only show you the events that anon users would be able to see. This will not include any things that happened on private repo's.

    Have you tried hitting the endpoint and providing your username/password?

    Can you let me know if that produces the results you are after?



  2. Dillon reporter

    Hey Dylan, when I authenticate I do see events for public & private repositories. However, without authenticating I am missing all my events for my public repositories. I have attached a file demonstrating the REST calls for my events from a un-authenticated view & authenticated. The repository event I am looking for appears only when authenticated although the repository is public (thedillonb/bitbucketsharp)

  3. Log in to comment