Skip to main content
2 of 4
added 296 characters in body
russau
  • 193
  • 6

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page.

rep

I'm using this API call to retrieve the reputation history: /2.0/users/109102/reputation?site=stackoverflow

..and I see this JSON response:

{
  "items": [
    {
      "user_id": 109102,
      "post_id": 4772273,
      "post_type": "question",
      "vote_type": "up_votes",
      "reputation_change": 10,
      "on_date": 1334436306
    },
    {
      "user_id": 109102,
      "post_id": 1252848,
      "post_type": "answer",
      "vote_type": "up_votes",
      "reputation_change": 280,
      "on_date": 1334135022
    },
  • item 1 post_id 4772273 is "InterpolationMode HighQualityBicubic introducing artefacts on edge of resized images". Which is +5 in the screenshot, but reputation_change of 10 in the API's JSON.
  • item 2 post_id 1252848 is "What browsers support html 5 websocket?". Which is +10 in the screenshot, but reputation_change of 280 in the API's JSON.

I'm expecting the JSON to give me the same results I see in the screenshot. Have I got something wrong?

russau
  • 193
  • 6