Questions tagged [status-completed]
Indicates that a feature request has been implemented, a bug has been fixed, or another type of request has been processed.
335 questions
4
votes
1
answer
103
views
"Try it" facility suffers a double-encoding bug
As you can clearly see from the above, the ampersand in the site name in the "Try It" section of the API method documentation has been double-encoded. This affects any site with an ampersand in the ...
4
votes
1
answer
69
views
In API 2.0, what happened to questions sorted by "featured?"
I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:
Shouldn't there be a separate call for ...
4
votes
1
answer
137
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
sort:...
4
votes
2
answers
119
views
Documentation sorted by return type
Right now the documentation is pretty terribly organized. For example, consider the things under the "Users" heading:
/users => returns Users
/users/{ids} => returns Users
/users/{ids}/answers => ...
4
votes
1
answer
215
views
API ignores jsonp callback after initial request - erroneous caching?
This bug is still prevalent, appears to be cache related. Two identical requests return different data: first request respects jsonp query parameter, all subsequent requests ignore it until (I presume)...
4
votes
2
answers
111
views
/users/{id}/answers - broken
Have not checked other routes, as I am busy with other things, but a failing test pointed this out...
GOOD: http://api.stackoverflow.com/1.0/users/242897/answers?min=4&sort=votes
{
"total": 37,...
4
votes
1
answer
157
views
questions method returns error 4000
I'm getting error 4000 on every endpoint on questions method (with key):
http://api.superuser.com/1.0/questions?sort=votes&pagesize=30&page=1&key=stackprinterkey
the only endpoint not ...
4
votes
1
answer
138
views
http://stackauth.com/0.8/sites down
I realize you may be shaking something out but in case you are not aware:
http://stackauth.com/0.8/sites is returning
{ "api_sites": [] }
4
votes
1
answer
110
views
Add moderator-only flag to tags API?
Currently there is no way to distinguish between normal and moderator only tags.
4
votes
2
answers
136
views
Possible bug in the help page?
There are some weird dot things in this help page:
api.stackoverflow.com/0.8/help/method?method=users/{id}/badges
{Dead link to missing image: http://files.quickmediasolutions.com/stackbug.png}
...
4
votes
2
answers
124
views
Document fields that may be not be included in responses
I'd like to see documentation on what fields may not be included in responses or, alternatively, which fields are guaranteed to be included. Currently it's a little confusing because some fields may ...
4
votes
1
answer
113
views
Getting error 4002 when calling tags method without a sort parameter
According to the documentation, calling the tags method without a sort parameter should return the recently used tags, since the default sort is by activity.
Instead, I get an error 4002 with the ...
4
votes
1
answer
58
views
Stylistic error on the JavaScript SDK documentation page
There is a small stylistic error on the JavaScript SDK documentation page.
Your application must have the client side OAuth flow enabled, and must not have disabled the desktop application redirect ...
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 "...
4
votes
1
answer
117
views
When will the API allow posting of questions and answers? [duplicate]
I am planning on building a client for the Stack Exchange Sites, but it seems you cannot post any information via the API yet.
Is this going to happen at any time soon? It seems a pain to force users ...
4
votes
1
answer
904
views
Wrong content-type in JSONP calls
When passing jsonp parameter, the API returns "application/json" instead of "application/javascript".
I found this because if you do:
<script src='http://api.stackoverflow.com/1.0/badges?jsonp=...
4
votes
1
answer
258
views
update crossdomain.xml on stackauth.com and api endpoints to work with current Flash
I am implementing a javascript client that uses the Flash based XHR replacement Flensed in the interest of providing more robust api communication than that provided by JSONP.
Apparently the current ...
4
votes
1
answer
95
views
Encoding inconsistency on /users/{id}/reputation
Take these two calls:
http://api.stackoverflow.com/1.0/users/180784/reputation?todate=1278854265&pagesize=1
"title": "Save a custom ListView's instance state?",
http://api.stackoverflow....
4
votes
2
answers
173
views
/user/{id}/notifications API call
I was contemplating adding notifications to my app, Droidstack. I would've liked to be able to add notifications for when new answers are posted to a user's (favorite) questions, when new comments are ...
4
votes
1
answer
355
views
all api endpoints except api.stackoverflow.com are failing paged requests with HTML 503
UPDATE:
I am being told that this is by design.
I could not disagree more.
The inconsistent 503 throttling issue aside, the API is JSON based. HTML errors serve no purpose in response to an API ...
4
votes
1
answer
109
views
Questions method does not return answers
I think questions method also return answers too and the help page says so
http://api.stackoverflow.com/0.8/help/method?method=questions
....
"answers": [
{
"answer_id": {
"...
4
votes
2
answers
199
views
Request with Invalid key still return the content and rate limit stepped down into No Key Limit
For example
http://api.stackoverflow.com/0.8/stats?key=TEST1234&type=jsontext
Request with Invalid key still return the content and rate limit stepped down into No Key Limit
X-Ratelimit-Current ...
4
votes
0
answers
140
views
Byte Order Mark suddenly appearing in query results
Query results seem to have started including BOMs sometime today. I had to add code to handle it.
I don't see this documented anywhere.
4
votes
0
answers
57
views
Remove API 1.x menu from the sidebar
Now that version 1.x of the API is on its way out the door permanently, can we go ahead and drop the associated menu from the sidebar?
4
votes
0
answers
150
views
Let's delete the off topic questions?
There's like 5 in the top few of the front page and it's a little annoying as they get in the way so can a mod just delete them they serve no useful purpose.
3
votes
2
answers
330
views
Key Limit is 10k or 100k?
Getting Started FAQ Question says 10k
API "Hello World" code
But I see 100k on Response Header
X-RateLimit-Max 100000
X-RateLimit-Current 99993
Just typo in nginx setting or something ...
3
votes
1
answer
3k
views
400 - Bad Request - Invalid URL errors with HTML response
Since a few weeks, I'm getting 400 - Bad Request errors now and then, on pretty standard API calls like fetching post details. This is the response I get:
<DOCTYPE HTML PUBLIC "-//W3C//DTD ...
3
votes
2
answers
95
views
Sorting comments by votes doesn't return 0 score comments
I have a query:
http://api.stackoverflow.com/1.0/users/16822/comments?sort=votes
This doesn't return comments with no votes, setting min to 0 doesn't work. This query includes them all, but isn't ...
3
votes
1
answer
139
views
StackApps Captcha doesn't work: "Invalid domain for site key"
The Captcha page on this site doesn't seem to be set up correctly, it shows an error message:
ERROR for site owner:Invalid domain for site key
3
votes
3
answers
229
views
Negative voting questions?
I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO.
I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
3
votes
1
answer
428
views
"OAuth request must be over HTTPS" when request is over https
I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error:
error: invalid_request
error description: OAuth request must be over ...
3
votes
1
answer
81
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
129
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
65
views
Querying "standard meta tags" for their tag wikis wrongly says they have none
I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence.
But ...
3
votes
1
answer
62
views
tagged and min max creation gives wrong total
I am trying to get the total number of question with a specific tag AND created within a specific date span.
For example, the number of questions tagged as 'java' created between 16 and 17 Jan 2012:
...
3
votes
1
answer
77
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
83
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
90
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
103
views
Is there an API to fetch tags related to a given tag?
I'm interested in making a tool that explores the tags of a site for tags which should be merged or mention each other in tag wikis etc.
On the page of any given tag there is a column on the right of ...
3
votes
1
answer
69
views
What happened to the unique users count?
When visiting https://stackapps.com/apps, I used to be able to see how many unique users were using my application - but now all I see is zeroes for all of the apps.
Were the numbers reset or is this ...
3
votes
1
answer
109
views
How do you retrieve list of users sorted by reputation?
I am failing in my attempt to retrieve results sorted by reputation. For example, the following query sorts the results by ID. Is there an error in the URI?
http://api.stackoverflow.com/1.1/users/...
3
votes
1
answer
204
views
Reputation query doesn't match that on SO
This morning, at 2011-04-06 00:22:38Z, I received a question upvote for this question. That shows up as giving me 5 reputation when looking at the Stack Overflow reputation page.
However, when I use ...
3
votes
1
answer
114
views
Are we going to get a Protected Date field in Question responses?
Now that questions can be marked protected, will this info be available via the API?
3
votes
2
answers
102
views
Inconsistency in the handling of multiple IDs with a duplicate
There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists.
Duplicate ID is significant
For example, when requesting a timeline of multiple ...
3
votes
1
answer
123
views
Paging fails at 10K items for /search on any site but Stack Overflow
There's a problem with requesting more than 10,000 items.
With Stack Overflow it works just fine.
But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
3
votes
1
answer
138
views
top-answerers / top-askers documentation bug: number of results returned incorrect
The top-answerers-on-tags and top-askers-on-tags documentation claim:
Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.
and
Returns the top 30 askers ...
3
votes
1
answer
97
views
Trying to get the Total results count crashes the /notifications path
I am trying to use the filter !9ciXfDSYM (same as default but with total) with the /notifications request and the response is:
{ "error_id": 500, "error_name": "internal_error",
"error_message"...
3
votes
1
answer
425
views
Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard
I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
3
votes
1
answer
252
views
API documentation console unsuccessfully tries to load MiniProfiler results
All of the documentation pages (example) with the test console currently attempt to load MiniProfiler result data, which fails with a 404:
POST https://api.stackexchange.com/mini-profiler-resources/...
3
votes
1
answer
74
views
Typo in API docs: "temporarility_unavailable"
https://api.stackexchange.com/docs/authentication
"temporarility" should probably be "temporarily"