I am using the 2.2 API to display user stats by quarter, but I also want to display reputation changes between any 2 dates.
I use the /users/{ids}
API to get the summaries. For example, user 2403309 on Stack Overflow shows a +72 reputation change in the current (April 1 onwards) quarter (which matches his profile), but /users/2403309/reputation
shows entries that add up to 68 and it seems to be missing a couple of +2 accept bonuses.
Any idea as to why this is?
Here's the screenshot of the profile, from April 28 (the last change before that was August last year):
This is the JSON I get by querying /users/{ids}/reputation
from April 1 to May 4 (which is two days in the future, because otherwise some changes weren't included, but that is a separate question):
{
"items": [
{
"on_date": 1399076511,
"reputation_change": 10,
"vote_type": "up_votes",
"post_type": "answer",
"post_id": 23416402,
"user_id": 2403309
},
{
"on_date": 1399076478,
"reputation_change": 10,
"vote_type": "up_votes",
"post_type": "answer",
"post_id": 23416787,
"user_id": 2403309
},
{
"on_date": 1398979754,
"reputation_change": 15,
"vote_type": "accepts",
"post_type": "answer",
"post_id": 23416787,
"user_id": 2403309
},
{
"on_date": 1398977734,
"reputation_change": 15,
"vote_type": "accepts",
"post_type": "answer",
"post_id": 23416402,
"user_id": 2403309
},
{
"on_date": 1398718062,
"reputation_change": -2,
"vote_type": "down_votes",
"post_type": "question",
"post_id": 23348663,
"user_id": 2403309
},
{
"on_date": 1398712175,
"reputation_change": 5,
"vote_type": "up_votes",
"post_type": "question",
"post_id": 23348663,
"user_id": 2403309
},
{
"on_date": 1398711479,
"reputation_change": 5,
"vote_type": "up_votes",
"post_type": "question",
"post_id": 23348269,
"user_id": 2403309
},
{
"on_date": 1398711171,
"reputation_change": 5,
"vote_type": "up_votes",
"post_type": "question",
"post_id": 17688439,
"user_id": 2403309
},
{
"on_date": 1398711150,
"reputation_change": 5,
"vote_type": "up_votes",
"post_type": "question",
"post_id": 17394188,
"user_id": 2403309
}
],
"has_more": false,
"quota_max": 10000,
"quota_remaining": 9940
}