All Questions
533 questions
5
votes
0
answers
84
views
OBSOLETE - /tags fromdate and todate does nothing
Although the help/documentation lists todate and fromdate parameters for tags they do not work. This may be related to tags not having a creation_date. It would be great if we could filter tags by ...
4
votes
2
answers
128
views
How far behind is the data returned by calls supposed to be?
I understand that the data sourced to the API are cached, but I'm seeing some fairly extreme discrepancies between reputation reported by the API and apparent activity on the site.
For example:
...
4
votes
2
answers
227
views
How to get a post title for a given post ID, even if that post ID is an answer and not a question?
I'm trying to beautify the reputation audit. If I want to show the post title for a reputation change event, however, I have a problem -- I don't know if the post ID is relative to a question or an ...
4
votes
1
answer
162
views
Items response empty after article POST request
I'm trying to post an article using StackExchange's Teams API then try to pull that new article's id from the API response.
The article gets posted but the items field is empty :
{"items":[],...
4
votes
1
answer
185
views
“Try It” URL has wrong URI
On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name:
For example, on docs/similar, the URL displayed will be:
https://api....
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
85
views
Please migrate the question templates to CommonMark
We have three templates for new questions (for apps, libraries and scripts):
They'll insert a body like this:
<!-- thumbnail: https://example.com/some-image.png -->
<!-- version: 1.0 -->
...
4
votes
1
answer
410
views
My filter is not returning any results. How to create a minimal filter?
I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this.
I'll use this call as an example since it successfully ...
4
votes
1
answer
106
views
Search function in the API doesn't work as expected
This looks like an error in the search part of the API.
This search URL:
/2.2/search?tagged=javascript&intitle=get%20column%20array&site=stackoverflow
doesn't return any answers.
I'm ...
4
votes
1
answer
1k
views
Invisible text in Markdown syntax help
Some text is invisible in the How to Format help block because of a bad combination of text and background color:
That's meant to read
► backtick escapes `like _so_`
but the backquoted portion is ...
4
votes
1
answer
288
views
How do I parse the dates from the API?
I see that JSON returned by the API contains dates in the following format:
"creation_date":1364546475
^^^^^^^^^^
What's the meaning of it? How can I parse it to get the date in the ...
4
votes
1
answer
50
views
API usage "Try It" form for linked questions queries meta.tex.stackexchange instead of Stackoverflow
I was wondering why the form at http://api.stackoverflow.com/1.1/usage/methods/linked-questions did not return the questions I was expecting. Then I noticed that it is calling http://api.meta.tex....
4
votes
1
answer
12k
views
/users/{id}/reputation != xxx.com/reputation
I realize that the shape of the data coming from the API may be different than that reported by the xxx/reputation url, but there seem to be some striking disparities.
see 08/12 and 08/11 in both ...
4
votes
1
answer
110
views
Is there an RSS feed or question that has API changes?
Is there someplace that we can find notifications of API changes? I noticed today that a new property has been added to user along with a couple new method (and maybe other changes).
Is there an ...
4
votes
1
answer
113
views
/questions returns wrong markdown when a suggested edit is improved
The /questions API method returns wrong markdown when the last revisions were made by a suggested edit improved in the review queue. This event leads to two revisions (one for the suggested edit and ...
4
votes
1
answer
338
views
Login using Google fails saying OpenID 2.0 accounts for Google has gone away
Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
4
votes
1
answer
82
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
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
2
answers
95
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
205
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
1
answer
69
views
API 'search' method with 'min' parameter
If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:
http://api.stackoverflow.com/1....
4
votes
2
answers
96
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
133
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
114
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
2
answers
108
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
1
answer
118
views
Confirmation on sort, order and min/max
I'd like confirmation, if possible, that the following chart of sort types is correct:
sort |orderable|min/max |min/max type
------------------------------------------
activity | yes | ...
4
votes
2
answers
95
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
94
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
92
views
Padding missing between thumbnails and other app/script information
On the Apps and Scripts tabs, the thumbnails and the rest of the information touch each other:
This didn't use to be the case, could you please re-add some padding?
4
votes
1
answer
154
views
Comments have incorrect `can_flag` values for at least 2 different API routes
I am trying to see and show whether a comment on question/answer is flagged by the authenticated user.
But whenever I use /questions/{ids}, can_flag is true irregardless of whether the user (me) can ...
4
votes
1
answer
66
views
Reputation changes from accepting answers to questions are not included in reputation results
When querying the /users/{ids}/reputation API route, the results don't include the +2 reputation changes from accepting answers.
None of the reputation results from my own reputation history have a ...
4
votes
1
answer
52
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
153
views
Certain users aren't showing up in /users when filter is applied
NB: The filter parameter in v1.x of the API had a different meaning to the filter parameter in v2.0
Consider the following query:
http://api.stackoverflow.com/1.1/users?filter=jon%20skeet
This ...
4
votes
1
answer
886
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
234
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
75
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
1
answer
146
views
AND searching for tags?
I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search.
The questions search for tags is an ...
4
votes
1
answer
77
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
161
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-...
4
votes
0
answers
67
views
/articles api filtering on tag does not return any results
I am attempting to pull the articles from my company's collective. They are all returned when no tagged filter is used.
This should return results for the articles tagged wso2 or is there a different ...
4
votes
0
answers
49
views
/revisions/{ids} returns wrong body
Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
4
votes
0
answers
57
views
OAuth Dialog has all content positioned off-screen
When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
4
votes
0
answers
35
views
Is it a bug that the /sites route always returns zero for total?
I want to know how many Stack Exchange sites there are.
Querying http://api.stackexchange.com/2.2/sites, using a filter that makes total appear, I find that the value is always zero.
For example,
&...
4
votes
0
answers
55
views
'answer' type has "unchanged in unsafe filters" listed for the wrong field
http://api.stackexchange.com/docs/types/answer says the can_flag field is unchanged in unsafe filters. It's probably meant for the field above it: body_markdown.
4
votes
0
answers
48
views
API returns delete vote count for questions, but not for answers
The questions method of the API returns the number of delete votes among other kinds of votes: sample query.
But the answers method does not have a delete_vote_count field available in the filter:
...
4
votes
0
answers
123
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
79
views
Total reputation reported by the /users/{ids}/reputation route is low
When querying the /users/{ids}/reputation API route, the total amount of reputation I get back from all reputation changes is much lower than my reputation reported on Stack Overflow. Here's my ...