All Questions
615 questions
4
votes
1
answer
87
views
What does "Unchanged in unsafe filters" mean?
Could someone clarify what this means? For example, what does it mean that the short_description field is Unchanged in unsafe filters for a Privilege?
4
votes
1
answer
555
views
Key doesn't match a known application
I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say (...
4
votes
1
answer
214
views
Access token quota
The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app.
If an application does have an access_token, then the application is
...
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
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
2k
views
API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail
This looks like it might have been requested before:
Support Cross-Origin Resource Sharing
In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
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
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
49
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
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
API Implicit Authentication with Python
I am working on an desktop inbox notifier for StackOverflow, using the API with Python.
The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
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
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
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 ...
4
votes
0
answers
19
views
Not all sites are returning Hi Res icons
In the /sites method, not all the sites return high_resolution_icon_url field. (e.g. Personal Finance and Money) Although if you add "@2" to the normal resolution icon you can see a high res image ...
4
votes
0
answers
104
views
Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]
The following URL is first hit when a user clicks on Login:
https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...
4
votes
0
answers
41
views
Link to applied_count leads to a 404
To Reproduce
Run an API query on tag-synonyms, you will get a result that includes something like this:
Issue(s)
Click on the applied_count link and you get redirected to this page which is a 404.
It ...
4
votes
0
answers
122
views
Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`
It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question.
When I select c#; .net I only get results tagged both c# and .net:
http://...