All Questions
615 questions
6
votes
1
answer
259
views
API Inconsistencies
In my opinion, one of the hallmarks of a good API is that it is self-consistent. It establishes easy-to-remember conventions and then follows them.
As I'm trying to adopt the 2.0 API, I'm finding ...
5
votes
2
answers
158
views
'Informed' badge doesn't exist on site, but is still being promoted
The issue of a non-existent badge being promoted has been brought up before, but the following still happens:
This will likely disappear once I get another badge (soon after posting this question :), ...
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
134
views
Site in closed beta but api working
Webapps has been added yesterday, website is in closed beta and it's not possible to see something on the website when you are not logged.
But if you use the API you can get information.
http://api....
5
votes
2
answers
506
views
The API Key does not work
I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
1
answer
356
views
Suddenly getting "Couldn't parse `client_id`"
For years, I've run a local PHP app using GuzzleHttp\Client to download my StackExchange posts.
Today, I'm suddenly getting this problem when posting my client_id, client_secret, code, redirect_uri.
{
...
5
votes
1
answer
146
views
The API /questions/{ids}/timeline path doesn't return several items that occurred after the fromdate parameter
I need to get all the question activity after some particular time. I am using the timeline API, like so:
/questions/20032212/timeline?fromdate=1384705610&site=stackoverflow.com
But it ...
5
votes
1
answer
70
views
API returns implausibly low questions per minute rate for Stack Overflow
Yesterday, I tried using the /info method of the API to predict the time left until 10M questions on Stack Overflow. In the process, I found that the returned "questions per minute" value was always 2....
5
votes
1
answer
211
views
Get the Authenticated User's email?
We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
5
votes
1
answer
125
views
API docs titled "v2.0"; should be "v2.1"
The documentation is titled "StackExchange API v2.0"... this should be updated to "v2.1" as it's not readily obvious that version 2.1 has been published otherwise.
https://api.stackexchange.com/docs
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
54
views
Can I search over SE using SE API if I have only a username?
How do I can find someone's userid if I have only their username?
For example, my real username is: Zagorulkin Dmitry
My Stack Overflow userid is: 1321404
Are there any API methods for this kind ...
5
votes
1
answer
275
views
After a throttle violation, could the error message include the time when the block will be lifted?
I got my first throttle violation error after running in jsFiddle some example code given to me by a library author in response to a question of mine about how to use their library.
This is the error ...
5
votes
2
answers
172
views
The /search route is ignoring the answers parameter.
The answers parameter was recently added to most of the requests that return a list of questions. See: Don’t include answers in question lists by default
It looks like the /search request got left ...
5
votes
1
answer
456
views
API stopped allowing CORS requests
I'm currently using the API via JavaScript AJAX calls and it all of a sudden stopped allowing CORS requests.
I'm on localhost and I tried uploading my code to live and am still getting:
Access to ...
5
votes
1
answer
117
views
What is "accept_rate" in the Stack Exchange API?
when I call the /users path, like:
/docs/users-by-ids#&ids=1&site=stackoverflow
In the reply, I get a field called accept_rate.
What is that field about?
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
514
views
StatsExchange - low friction, API-based statistics generator
##Screenshot / Code Snippet
##About
StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
5
votes
2
answers
161
views
API Help's CSS is missing
The API Help page's CSS file, located at http://sstatic.net/so/all.css, is current returning 404 for me:
<div id="header"><h1>Server Error</h1></div>
<div id="content">
...
5
votes
1
answer
93
views
What's the difference between tags soapi.cs and soapi.js to get a bug triggered by the former?
Right now questions tagged soapi.cs returns a HTTP status code 404 (for various HTTP clients) while questions tagged soapi.js does not.
Interestingly though, soapi.cs seems to work just fine in other ...
5
votes
1
answer
180
views
Few typos in the documentation pages
https://api.stackexchange.com/docs/vectors
When passing a vector, sepeate each id with a semicolon. For example, /users/1;2;3;4;5?site=somesite would fetch users with ids 1 through 5 on somesite.
...
5
votes
1
answer
130
views
Typos on api.stackexchange.com/docs/js-lib
Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine):
scope (optional) – an array of scopes to request during authentication, valid ...
5
votes
1
answer
94
views
API calls that return select post bodies throw JSON errors
When calling the Stack Exchange API to get the post body, it will return an error for some posts. EG:
/docs/questions#page=13&pagesize=100&fromdate=2013-09-01&todate=2013-09-02&order=...
5
votes
1
answer
37
views
Typo in API filter documentation
When using unsafe filters, the API returns the highest fidelity data is can reasonably access for the given request.
should be
When using unsafe filters, the API returns the highest fidelity data ...
5
votes
1
answer
56
views
Do calls on the 1.1 API and the 2.0 count against each other's limits?
Do the old 1.1 API and new 2.0 share limits?
Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
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 ...
5
votes
1
answer
61
views
You can gain reputation from edits to tag wikis, although they are not accessible through the API.
Reputation gain from edits to tag wikis appear through the API; the API reports them as answers, but fetching them via the /answers route does not work.
Case in point:
My accepted edit (+2 rep)
My ...
5
votes
2
answers
119
views
stackauth.com/1.0/users/{id}/associated no longer returning email_hash for some sites
I'm not getting email_hash for some sites from stackauth.com/1.0/users/{id}/associated since sometime after midnight CDT (UTC-0500).
5
votes
1
answer
142
views
Two minor typos in the API help
In http://api.stackoverflow.com/0.8/help
/users/{id}/answers Gets answer summary informatino for the user with 'id'.
and in the Returns section of http://api.stackoverflow.com/0.8/help/method?method=...
5
votes
1
answer
281
views
Cannot authenticate with OAuth2
I was testing an app and suddenly I can't login any more.
Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side.
The OAuth error seems a ...
5
votes
1
answer
108
views
Why doesn't the API return suggested edits on tag wikis?
Is there a reason why the API doesn't return suggested edits on tag wikis on the suggested-edits route?
5
votes
1
answer
59
views
User's display name field omitted?
If a user doesn't have a username "set" for an account, then the display_name field is omitted.
This is similar to a few other questions, but the only official answer says that "display_name should ...
5
votes
1
answer
74
views
/user/{id}/timeline results leaking template used for badge information
From my elections statistics page:
I inserted in the detail field as plain text because I wasn't sure if the results would be HTML, but the $ChatUrl left in the anchor's href is surely a bug.
5
votes
1
answer
96
views
Empty results for associated queries
Queries such as this
http://stackauth.com/1.0/users/f5388585-c0b9-417f-99c5-f1a58fda3e83/associated
have started giving empty results
{
"associated_users": []
}
Expected results:
SiteUrl ...
5
votes
1
answer
150
views
Intermittent bug in the /search route when providing both tagged and nottagged parameters.
I'm getting the wrong number of results back from the /search route depending on what combination of values I provide for the tagged and nottagged parameters.
Examples:
http://api.stackoverflow.com/1....
5
votes
1
answer
118
views
StackApps is not being reported by StackAuth
The stackauth.com sites query is not returning stackapps.com at all:
http://stackauth.com/0.8/sites?type=jsontext
{
"api_sites": [
{
"name": "Stack Overflow",
"logo_url": "http://...
5
votes
2
answers
60
views
Users timeline help claims to be pageable but isn't
The help page for the users timeline call claims that the timeline can handle paging but it doesn't seem to be able to. The output doesn't have the total count of pages, etc and the page attribute ...
5
votes
1
answer
644
views
Issue with JavaScript SDK
When using the JavaScript SDK to enable client side OAuth flow, I'm running into this issue: Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
And the page gets stuck with the ...
5
votes
0
answers
34
views
Formatting and formatted content is missing for body in search excerpts call
The body returned by the search excerpts call seems to omit formatting and sometimes even formatted content. Example calls follow for this question: Does `inquestion` support multiple question ids?
...
5
votes
0
answers
124
views
"What is meta" should be rephrased
Stackapps.com/help/whats-meta tells that there is "Meta Stack Apps". However there isn't.
Stack Apps is its own meta and meta is used to ask meta questions here.
5
votes
0
answers
141
views
Filter doesn't consistently return comment bodies
I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields:
answer:
answer_id
body_markdown
comments
...
5
votes
0
answers
275
views
Ruby library for Stack Exchange API
About
I have written a Ruby library for accessing Stack Exchange questions, comments, badges and users. I am adding more methods.
Repository
https://github.com/raysrashmi/ruby-stackoverflow
...
5
votes
0
answers
76
views
How can I get the "follower" count for a given tag on a site?
One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
5
votes
0
answers
57
views
OBSOLETE - revisions/{id} is returning an error for locked posts
The API is returning the following error message when I request the revision history for locked posts.
Example URL: http://api.stackoverflow.com/1.1/revisions/194812
{
"error": {
"code": 500,
...
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 ...
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
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
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?