All Questions
45 questions
14
votes
1
answer
149
views
Stack Exchange API is not returning the close vote counts for questions
When you visit this question (with proper privs) you can see that there are 2 close votes cast for it.
However, if you access the information for this question using the Stack Exchange API you get ...
6
votes
1
answer
86
views
Descriptions of tag-based badges are incorrect
The descriptions associated to tag-based badges are wrong, they always show 0 instead of actual thresholds:
Earned at least 0 total score for at least 0 non-community wiki answers in the … tag
See ...
6
votes
1
answer
58
views
Several staff members are incorrectly listed as elected moderators
Several employees are being reported as elected moderators on sites they haven't been elected on, according to /2.0/users/moderators/elected. I think there was a similar issue reported before during ...
5
votes
2
answers
158
views
Stack Exchange API is returning boolean(false) For 'is_answered' On Question With Accepted Answer
When you view this question you see a closed question which has an accepted answer.
When you get the API info for it you get this:
["question_id"]=>
int(17466804)
["creation_date"]=>
int(...
5
votes
1
answer
67
views
Typos in the API 2.0 Documentation
Typo #1:
There are two different objects that represent a user in the Stack Exchange API, the full user object and the smaller shallow_user object. Which is returned depends on the method being ...
5
votes
1
answer
78
views
API documentation pages match some site names incorrectly
The bug is not in the API itself, but in the pages documenting its methods. To reproduce, follow the link http://api.stackexchange.com/docs/info#filter=default&site=math and observe that the page ...
5
votes
1
answer
47
views
/posts/{id}/revisions breaks for posts with [tag:*] content
Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error:
Example on Meta Stack Overflow (Post History)
Example on Mathematica (Post ...
5
votes
1
answer
70
views
filter=total is returning 0?
I'm running a very simple (and contrived) call of:
http://api.stackexchange.com/2.0/users/115730?site=stackoverflow&filter=total
I'm expecting a response of:
{"total":1}
But am getting a ...
4
votes
1
answer
90
views
The API has stopped allowing CORS requests
I just noticed that a script I have that makes CORS requests to the API stopped working on Meta Stack Overflow, claiming that the domain isn't allowed by Access-Control-Allow-Origin, which is true ...
4
votes
1
answer
52
views
Typo in the docs for /me
The doc says:
Returns the user associated with the passed auth_token.
This method returns a user.
It should say "access_token" instead of "auth_token".
4
votes
1
answer
109
views
Why is my quota constantly decreasing?
I registered an app today (API v2) for the first time (App ID 47, LaServ), and let it run a bit with its new key. It's the only API app running on this IP (I rent the IP as part of a VPS package). ...
4
votes
1
answer
119
views
Unable to sort /search results by creation_date
I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can.
What works:
Create a /search query with the following parameters:
fromdate: 2012-01-24
order: desc
...
4
votes
1
answer
2k
views
Why do I get a throttle violation after 300 requests while using a key but no access_token?
I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls.
I was calling the "...
3
votes
1
answer
71
views
Problem with /search tagged and max
Seems like a problem with /search when max is not set to today, and tagged is given:
https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
3
votes
1
answer
93
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
3
votes
1
answer
59
views
Events: field request
The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could).
...
3
votes
1
answer
64
views
"Authentication Statistics" graph y-axis labels are overly granular
Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
3
votes
1
answer
68
views
HTTP 500 error when calling /apps/{accessTokens}/de-authenticate with an access_token argument in GET
For almost all API calls, I pass both my key and my access_token. This doesn't exactly make sense for the "de-authenticate" endpoint, as the access token is already in the URL. Passing one anyway ...
3
votes
1
answer
133
views
Update the default filter editor to use the API key
When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of:
...
"quota_remaining": 9424,
"...
3
votes
1
answer
4k
views
OAuth redirect not completing
This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome)
https://stackexchange.com/oauth/dialog?client_id=23&scope=...
3
votes
1
answer
68
views
What happens when sites or the whole network go offline
Now that the API is all done on stackexchange.com. What happens if say just certain sites go offline (eg just Stackoverflow). Will the API continue to return results or will it return the HTML offline ...
3
votes
0
answers
156
views
OAuth Dialog rendering problems in iPad
I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches.
The first screen looks correct:
(...
2
votes
3
answers
76
views
What is the "inname" parameter to the /tags 2.0 API?
I'm just playing with the new 2.0 API and in /tags there is a field inname that I can't find any description or documentation for.
What does it do? Is it like the old filter parameter on the old API?
...
2
votes
1
answer
95
views
the stack exchange javascript library is 404
the library listed on the doc page for Authentication
https://api.stackexchange.com/js/2.0/all.js
ultimately redirects to
https://api-v2cdn.sstatic.net/js/all.js
which results in varying degrees ...
2
votes
1
answer
78
views
Stack Exchange API is returning non-existant/incorrect notices for questions
When you view this question you do not see any notices other than the protected notice at bottom. Also, you are able to edit the answers and question (provided you have the privilege).
However, when ...
2
votes
1
answer
103
views
/suggested-edits "Try it": Link for "suggested_edit_id" is broken
When using the "Try it" feature on /suggested-edits, the link for the suggested_edit_id points towards stackexchange.com and not towards the respective site.
For example, retrieve data ...
2
votes
1
answer
74
views
/answers endpoint is error-500-ing against many sites
Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors:
http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming
{"error_id":500,"...
2
votes
1
answer
61
views
Mistake in API 2.0 Documentation - Wrong item type for Careers Message
On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
2
votes
1
answer
41
views
/users/{id}/tags/{tags}/top-answers returning answers by other users
According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag.
Returns the top 30 answers a user has posted in response to questions ...
2
votes
1
answer
38
views
Answer vote counts are not correct
I was trying to figure out the total number of answers I have that have been downvoted, and at first everything seemed awesome since the total was zero.
However, I knew this wasn't correct. For ...
2
votes
1
answer
24
views
type related_site not listed in 'by type' tab list
The type "related_site" is not listed in the 'by type' tab in documentation.
2
votes
1
answer
82
views
TLS security warnings from api.stackexchange.com
Each time an API request is made over HTTPS, Firefox generates the following message in the error console:
Curious, I looked up RFC 5746 and the document covers the following:
Transport Layer ...
2
votes
1
answer
96
views
No answer_id for Comment on answer inbox_item
According to the API documentation on inbox_item, inbox items corresponding to a comment on an answer to a question should have an answer_id field identifying the answer that the comment was on, but ...
2
votes
1
answer
47
views
There is a small discrepancy in the docs for users-id-associated
The main doc page, https://api.stackexchange.com/docs, shows /users/{id}/associated while the method page, https://api.stackexchange.com/docs/associated-users, uses /users/{ids}/associated.
It's ...
1
vote
1
answer
46
views
Inbox unread since parameter not working
The since parameter of /inbox/unread no longer seems to work.
I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
1
vote
1
answer
186
views
API is accepting requests from other OAuth domains
I've set an OAuth domain for an application (the client_id is 24) and the following link authorizes the application:
https://stackexchange.com/oauth/dialog?client_id=24&scope=no_expiry,...
1
vote
1
answer
104
views
Most of the url are missing the protocol
Maybe you were trying to fix the other "bug" I've pointed out, but now most of the url for the icons are missing the protocol!
{
"site_type": "main_site",
"name": "Stack Overflow",
"...
1
vote
1
answer
64
views
CDN redirect for the API's JavaScript SDK is incorrect
The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js.
However, GET request produces the following response:
Status Code: 301 Moved Permanently
Location: https://api-...
1
vote
1
answer
69
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...
1
vote
1
answer
47
views
Running queries from the Documentation pages hangs browser for minutes at a time
I've been playing with some queries on the documentation page, and I've noticed that it's taking an abnormally long time to load even reasonably sized API call results:
https://api.stackexchange.com/...
1
vote
1
answer
40
views
read item in unread inbox method again
I'm getting a read item in the inbox/unread method, again. This happened before, but I can't find the post about it (I'm pretty sure you fixed/explained it). But the item is very old, not a cache ...
1
vote
1
answer
48
views
Authentication Statistics are the same for all apps
I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
1
vote
1
answer
72
views
Quota remaining is negative
I think I must be doing something very stupid, that I just can't see
I just registered an app, in the last ~10 minutes.
I have just been going to the /info route, no authentication or anything else.
...
1
vote
1
answer
49
views
Failed beta sites are showing up in the /sites method.
3D Graphics and Game of Go are both failed beta sites. I would not expect them to show up in the /sites list - but they do. Indeed, attempting to list questions on one of the sites fails:
http://...
0
votes
1
answer
35
views
Error when requesting the last page of results.
When I try to view the following URL:
http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow
I get the error:
{
"error_id": 500,
"error_name": "internal_error",
"...