All Questions
533 questions
16
votes
1
answer
450
views
Bug in the StackExchange Api ? getting "could not parse proxy url" when user not logged in
I think I may have stumbled upon a bug in the Stack Exchange JS API
I'm having a problem getting its authentication to work properly, and I just discovered that the same problem exist in the official ...
3
votes
1
answer
658
views
Why is the API giving a different response for preview true/false with POST requests?
Update
This expression will evaluate to show the cause. The only requirement is an emacs with url. As you can see, the result from using curl and that from using the url package is different. ...
2
votes
0
answers
43
views
Max score with tagged works incorrectly for /questions, correctly for /search
When I look for questions tagged java from the first week of September 2014 with a minimum score of 10 like this:
/2.2/questions?fromdate=1409529600&todate=1410134400&min=10&sort=votes&...
5
votes
1
answer
75
views
Which reputation events are private?
I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history)
and Stack Overflow's description of how reputation is calculated.
But, I can't find ...
3
votes
0
answers
47
views
/answers API request returns no tags if body_markdown is included [duplicate]
This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine:
api.stackexchange.com/docs/answers#filter=!9YdnSPElz
But, when the filter is ...
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 ...
3
votes
0
answers
36
views
Buggy HTTP header behavior with the `site` parameter. Improper caching?
In sx.el we are using url-request-extra-headers to pass API requests to Stack Exchange.
When performing multiple queries in quick succession, we end up receiving the same JSON response even when the ...
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
...
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 ...
11
votes
0
answers
144
views
The field body_markdown is not returned for comments [duplicate]
Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter.
Here is the test query to reproduce the ...
2
votes
0
answers
27
views
/revisions/{ids} returns results where revision_number is always 1
As of now, Code Review Question 59285 has three revisions, excluding the original question.
If I fetch those three revisions using the API, I see that all of them have revision_number set to 1.
That'...
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 ...
7
votes
1
answer
127
views
What happened to the JSON documentation for the API?
Back in version 1.1 of the API, we used to be able to do:
http://api.stackoverflow.com/1.1/questions?help
...which would return information about the method in JSON format. However, attempting to ...
3
votes
4
answers
283
views
Is it really worth to (implicitly) discourage documentation of API/library usage nowadays already?
Update:
Kevin provided an answer, which, while adding something of value to the three related questions together (by naming the originating concern eventually), actually does not apply to the ...
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.
0
votes
0
answers
48
views
Application icon on authorization page isn't loading
I can't seem to get the application icon for Stack Applet to display on the authorization page. (I'm using the implicit flow.) The URL that I open the browser to is:
https://stackexchange.com/oauth/...
1
vote
0
answers
518
views
OAuth login fails for Stack Exchange and Facebook, but not Google
I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
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?
...
2
votes
0
answers
24
views
Query Statistics for my app responds with "No Requests" [duplicate]
When I access Query Statistics for my app (while logged in) I get "No Requests"
Am I doing something wrong?
I'm using Chrome 34 on Ubuntu.
0
votes
1
answer
66
views
Are the "body", "comments" and "answers" parameters supported in the API version 2.x?
Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x.
Are these parameters not supported in new API? Are ...
2
votes
0
answers
47
views
Sorting and filtering is broken on /questions
Sorting error
When querying /questions and sort them by creation in descending order, the creation_date drops very rapidly.
I was looking for questions in the [php] tag on Stack Overflow. There are ...
1
vote
1
answer
57
views
/stats is broken on OnStartups
The following URL is returning an object that is missing some data:
http://api.onstartups.stackexchange.com/1.1/stats
The entire site object is missing from the returned data. Other sites, such as ...
1
vote
1
answer
48
views
Authentication Statistics are the same for all apps
I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
1
vote
1
answer
80
views
`type=jsontext` JSON results for help pages
It would greatly simplify machine reading if we could apply type=jsontext to API help pages, including the index.
Update: Here's an unofficial JSON schema for v1.x.
2
votes
1
answer
89
views
Include range [1, 100] on pagesize
I see that "range" is being used to indicate valid range on most numeric parameters, e.g.
32-bit integer, range [0, 2,147,483,647]
32-bit integer, range [1, 2,147,483,647]
The smaller valid range ...
2
votes
1
answer
117
views
Indicate in documentation whether "numbers" can be non-integral
"number" is an very ambiguous term. Integral or non-integral?
For developers in more dynamically-typed languages like JavaScript, this is not an issue; but when using more statically-typed languages ...
0
votes
1
answer
98
views
/questions/tagged/{tags} - tags param clarification
This API method has been removed as of Jul 16 '10. The original question is preserved below for posterity.
It is not clear what a "list" of {tags} looks like.
Does this parameter follow the ...
1
vote
1
answer
83
views
Position required parameters at the top of help pages
The required id parameter for ...a lot of API routes... is now placed at the bottom of the page.
It makes more sense to place required parameters at the top of the page with a slight separation, like ...
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 ...
2
votes
0
answers
64
views
Version used by StackExchange API if version is not specified in api calls
I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know
New things available in 2.0+ which were ...
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
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 ...
1
vote
0
answers
64
views
Get Token button in "Try it" doesn't give me a key in IE11
When I visit for example the timeline docs to try that api I need to get a token first by clicking 'Get Token'.
In IE11 (win 7/x64) this is broken. A window does pop-up but there is never a key ...
1
vote
1
answer
78
views
Please supply working example URLs for each route
It would take a lot of the guess work out of understanding the API if each route's page provided a small handful of working URLs.
This would also serve to provide authoritative examples of the ...
1
vote
1
answer
89
views
/users/{id}/badges id parameter clarification
On /users/{id}/badges, the description of the id parameter
a semicolon delimited list of user ids
diverges from the inferred standard for multi-valued parameters:
A single primary key identifier or ...
3
votes
0
answers
27
views
bounties_offered are not being returned correctly from /users/{ids}/reputation
When querying the /users/{ids}/reputation API route, reputation changes for bounties_offered are not being returned correctly.
In my own results, I see a reputation object with a reputation_change ...
2
votes
0
answers
16
views
The reputation_change field is missing from the reputation results on some CW posts
When querying the /users/{ids}/reputation API route, the reputation_change field is missing from the results on community-wiki answers. I think the reputation type should always include this field, ...
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 ...
11
votes
1
answer
369
views
Google’s OAuth redirect broken
We just tried to authenticate with our application without being logged into anything on StackExchange. This is best tested in a private browser session without any cookies etc.
So after starting the ...
1
vote
1
answer
86
views
What is the private_info scope for?
In the docs it says you can pass private_info for scope when authenticating a user.
What does this allow you to access, that you couldn't otherwise?
3
votes
0
answers
80
views
Why is there a difference between "questions" and "search" in API?
I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results:
https://api.stackexchange.com/2....
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 ...
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
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=...
3
votes
0
answers
52
views
Incorrect link parameter on the "Complex Queries" documentation page
The "Complex Queries" documentation page has this link:
Of these three posts on Server Fault, the one with the most recent activity
where "the one with the most recent activity" links to
https://...
2
votes
1
answer
158
views
V2.1 API body HTML has unclosed li tags
The Stack Exchange API (with a safe filter) is returning question body content with malformed HTML, specifically <li> elements that do not have closing tags (and no valid parent).
I've seen ...
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 ...
3
votes
1
answer
398
views
"OAuth request must be over HTTPS" when request is over https
I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error:
error: invalid_request
error description: OAuth request must be over ...
1
vote
1
answer
61
views
No award_count field on any badges
The docs say the default filter includes award_count, and I've made a filter with it in. But no award_count is returned on any badge route.
The exception being when a badge item is returned in ...
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",
"...