All Questions
615 questions
2
votes
1
answer
2k
views
Help on help results in HTTP 500 Internal Server Error
A request to http://api.stackoverflow.com/0.8/help?help results in an HTTP 500 with Content-Type: application/json and an HTML body.
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
...
2
votes
1
answer
118
views
AttributeError with Py-StackExchange
i'm trying to execute this python script :
#! /usr/bin/python
import stackexchange
so = stackexchange.Site(stackexchange.StackOverflow)
my_favourite_guy = so.user(41981)
print my_favourite_guy....
3
votes
1
answer
228
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/...
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.
2
votes
0
answers
23
views
'search_excerpt' type issues
On the search_excerpt page:
community_owned_date should be marked as may be absent
locked_date should be marked as may be absent
search/excerpts should be listed in the Methods That Return This Type ...
2
votes
3
answers
76
views
What is the "inname" parameter to the /tags 2.0 API?
I'm just playing with the new 2.0 API and in /tags there is a field inname that I can't find any description or documentation for.
What does it do? Is it like the old filter parameter on the old API?
...
6
votes
0
answers
112
views
The "advanced search" path returns very wrong results for the `q` parameter
I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant.
But compare the site search ...
2
votes
1
answer
102
views
Maximum length of "about me" in the Stack Exchange API?
What is the Maximum length of "about me" in the Stack Exchange API?
The one from the /me path.
And in general, where are the length limits published? If anywhere?
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 ...
7
votes
0
answers
517
views
LaServ - A Python/Twisted based flexible command line bot/framework for Stack Exchange
LaServ (a play on Lazers, The Bridge's feedbot and '*Serv' bots, which provide IRC services ) is a Python/Twisted project that I've been poking at since the Christmas break. It's still beta quality, ...
2
votes
1
answer
211
views
Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?
I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
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 ...
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=...
9
votes
1
answer
321
views
Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?
The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
2
votes
1
answer
60
views
How do I get a user's bio with the SE API?
Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
3
votes
1
answer
81
views
Getting display name of the site on which question is located
When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
0
votes
1
answer
89
views
Why does the /events service sometimes pause for a couple of minutes?
In developing the firehose service, I found that the /events API often "pauses" for a couple of minutes before resuming. Is this a known issue?
Specifically, I am polling /events every 10 seconds ...
2
votes
2
answers
855
views
Server has stopped obeying Accept-encoding header
Either today or yesterday, besides /questions/tagged having disappeared, the server started ignoring the Accept-encoding header:
Ligação estabelecida com 69.59.196.211 na porta 80
GET /0.8/questions/?...
3
votes
0
answers
72
views
OBSOLETE - Unanswered questions with tags returns wrong total
When requesting a list of unanswered questions with a specific tags the total count show the total number of questions for that tag, not the count for the unanswered questions.
Using http://api....
1
vote
1
answer
43
views
The API /tag stats are notably different from the site totals
Why this discrepancy?
--Sep 10 2015 11:26:09 GMT+0530 (IST)--
At that time, the API shows 42010 tags.
But the same thing computed on the Stack Overflow tags page is 44496.
Is it because of caching?
19
votes
0
answers
590
views
Register for the Stack Exchange V2.0 API Private Beta
It's getting to be that time (actually, it's about a month later than I'd hoped but still!), API V2.0 is shaping up and we're spending more and more time on UI polish rather than functionality.
So let'...
6
votes
0
answers
233
views
Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)
About
This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I happen to ...
6
votes
1
answer
68
views
Accept rate not available in the 2.0 API
Would it be possible to add the accept_rate field to both the user and shallow_user objects?
For example, using the 1.0 API, I can see that Jon Skeet has an accept rate of 95%.
http://api....
2
votes
3
answers
127
views
StackAuth returning 404?
http://stackauth.com/1.0/sites
http://stackauth.com/1.0/help
Both of these are currently returning 404 Not Found. What's up with that?
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,
...
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=...
2
votes
0
answers
109
views
400 when posting a question to the Stackexchange API
I am adding a question via the API and I manage to create a preview of my question (See JSON extract below).
{
"has_more" = 0;
items = (
{
"creation_date" = ...
0
votes
1
answer
89
views
Searching answers with API
I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile.
For questions this seems to be quiet easy ...
8
votes
0
answers
385
views
Stack on Go - A wrapper library in Go
Stack on Go - A wrapper library in Go
https://github.com/laktek/Stack-on-Go
Sample Code
session := stackongo.NewSession("stackoverflow")
//set the params
params := make(stackongo.Params)
...
3
votes
1
answer
51
views
The /users/{id}/timeline route is reporting incorrect totals
It seems that the /users/{id}/timeline route is returning an incorrect total. For example, the following URL is reporting a total of 1607 items:
http://api.stackapps.com/1.1/users/7789/timeline
......
1
vote
1
answer
84
views
How do I find a user by their `display_name`?
I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name.
As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3).
I tried ...
9
votes
1
answer
73
views
Whatever happened to closed_reason?
When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true.
Proof: https://api....
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?
1
vote
1
answer
177
views
Why is sort by name reverse alphabetical?
It makes sense that reputation or date should sort descending, but name? I tested both /users and /tags and they sort reverse alphabetical, so Z before A. Is that by design or just a side effect of ...
11
votes
1
answer
213
views
API V2 Private Beta Begins
It's about time this thing got under way. If you're participating in the private beta, you should receive an email to that effect.
If you were also a member of the V1.0 private beta, you'll notice ...
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 ...
2
votes
1
answer
138
views
Sorting the event stream
It seems like the data returned from the /events endpoint is flawed by being returned in descending order. For example:
{
"items": [
{
"event_type": "comment_posted",
"event_id": ...
1
vote
1
answer
315
views
Implicit OAuth flow is not working when the user is not logged in.
Here is the URL I am trying to use:
https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success
This works ...
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 ...
2
votes
1
answer
89
views
Top questions by tag and period
I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example).
How can I do this?
2
votes
1
answer
127
views
Not possible to login to approve or reject access to application on Windows Phone 7 device
I'm making an app for Windows Phone using the Stack Exchange API but I'm having a bit of trouble when I try to let the user approve the application (using client side flow).
I open a web browser at ...
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
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=...
2
votes
1
answer
82
views
Advanced search API not returning data for "phonegap" tag
I am trying to gather results from the API for the tag phonegap but the API is not returning any data.
I am using /search/advanced and get nothing back for November:
{
"items": [],
"...
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
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:
...
3
votes
1
answer
75
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",
"...
2
votes
1
answer
73
views
Is there a way (or app) to get realtime updates of new questions with a given tag?
According to Stack Exchange API not realtime?, the API does not return results in realtime, but has 1 minute delay for the same query.
Is there a system or an app that delivers new questions in ...
12
votes
0
answers
350
views
API V2.0 Public Beta Begins
As has been announced, we're starting the public beta and spinning up a contest (as we did with V1.0).
As such, some of the guidelines for the private beta no longer apply.
The api-v2-beta tag no ...