Issue #4796 open

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 ""

{ "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": "", "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 (8)

  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. thedillonb 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