Skip to main content
added 1 character in body; edited tags; edited title
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

"top_questions" The `top_questions` field is erroneous when /me/associated is usedshows outdated information?

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was not a proper question to be posted, I deleted it. Now that question is not visible in the StackOverflowStack Overflow website. But the API is returning it as

"top_questions" field is erroneous when /me/associated is used

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was not a proper question to be posted, I deleted it. Now that question is not visible in the StackOverflow website. But the API is returning it as

The `top_questions` field shows outdated information?

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was not a proper question to be posted, I deleted it. Now that question is not visible in the Stack Overflow website. But the API is returning it as

edited title
Link
amit jha
  • 842
  • 4
  • 11

"top_questions" field is giving errorserroneous when /me/associated is used

Source Link
amit jha
  • 842
  • 4
  • 11

"top_questions" field is giving errors when /me/associated is used

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was not a proper question to be posted, I deleted it. Now that question is not visible in the StackOverflow website. But the API is returning it as

"top_questions": [
        {
           "score": 0,
           "post_type": "question",
           "post_id": 30978609,
           "title": "Use an access_token with write_access"
        }
     ],

as response when /me/associated is ran in doc page. Isn't this a bug?

Also,

"question_count": 1,

is wrong. It should be 0.

I have done this before in doc page. Question was created. After that, I deleted it because of same reasons. This question doesn't show in API response, which is as expected. In this case API is giving correct response.

And, In Stack Apps, now I have posted 8 questions. But, response is

"question_count": 7,

and

"top_questions": [
        {
           "score": 3,
           "post_type": "question",
           "post_id": 6396,
           "title": "Some blank properties missing"
        },
        {
           "score": 2,
           "post_type": "question",
           "post_id": 6395,
           "title": "Where is "items" & "badge_counts" documentation?"
        },
        {
           "score": 1,
           "post_type": "question",
           "post_id": 6404,
           "title": "How to delete apps in StackApps?"
        },
        {
           "score": 0,
           "post_type": "question",
           "post_id": 6405,
           "title": "Social Connect for Visual Studio (Placeholder)"
        },
        {
           "score": 0,
           "post_type": "question",
           "post_id": 6409,
           "title": "/questions/add of StackExchange app gives nonsense response"
        }
     ],

"top_questions" is ambiguous. Can somebody give an explanation on this? Are these bugs?