All Questions
356 questions
5
votes
0
answers
156
views
Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.
This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview:
Purpose
Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
4
votes
1
answer
76
views
API for getting multiple (yet specific users)
I am developing one app which will be used internally in our company. We are recommending our colleagues to contribute to StackOverflow. To keep the moral of employees high, I am planning to develop ...
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
2
answers
253
views
Is it possible to access data in real-time using the Stack Exchange API?
I want to show an animation of:
Questions being asked and answered in the most popular tag
Comments being posted
New users joining
All in real time.
Is there access to real-time data?
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
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
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
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
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
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
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
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
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
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
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
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
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://...
4
votes
0
answers
289
views
Stack Tunnel - WebGL Visualization for Stack Exchange
Stack Tunnel
Screenshots
About
StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
3
votes
2
answers
1k
views
Python library for the StackExchange v2 API? [duplicate]
So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
3
votes
1
answer
4k
views
HTTP 400 "Bad Request" while using "access_token" in request Url
I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
3
votes
1
answer
60
views
Is the "link" URL enough to uniquely identify an "inbox_item"?
I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item?
Is the "link" URL enough to uniquely identify an "...
3
votes
1
answer
34
views
Get a list of required tags for site
How can I get the tags which are required, (fulfills_required = true) for each site?
Like order/filter the tags route to show the fulfills_required tags first?
3
votes
1
answer
38
views
Clickable link in "Try It" section of some doc pages
In the "Try It" section of some doc pages, the link is not present.
It is present in the below image
Its not present in the below image
3
votes
1
answer
5k
views
How to convert a (javascript) date to the API timestamp format?
When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format:
fromdate=1380326400&todate=1380412800
What is this date format? How ...
3
votes
1
answer
2k
views
Invalidating access token vs de auth app?
Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1
answer
320
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
3
votes
1
answer
78
views
How many ids is 'too many'?
This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere.
Now, I could run binary search and find out, but I ...
3
votes
1
answer
178
views
Getting Question data using stack.PHP fails after a certain number of requests
I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer.
I am running into an issue where I'm sending too many requests and ...
3
votes
1
answer
540
views
Receiving error "Unexpected domain on proxy URL"
I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose.
I am stuck on the point of authenticating the user. I followed 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
37
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1
answer
353
views
Java wrapper for the Stack Exchange API 2.0?
I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
3
votes
1
answer
83
views
Is there a meta api?
Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
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
39
views
Site categories in API?
Would it be possible to have a category field added to the site object. Eg Technology, Culture, etc. The sites seem to already have categories, as you can see on this page: https://stackexchange.com/...
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. ...