All Questions
356 questions
3
votes
1
answer
60
views
link in post_id in /me/notifications/unread is wrong
I have run /me/notifications/unread. The response contains post_id and there is a link to it.
This link is wrong. The post is on Stack Apps but the link directs to Stack Overflow:
I have ...
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
3
votes
1
answer
174
views
Difference between `/inbox/unread` & `/me/inbox/unread`
I ran /inbox/unread & /me/inbox/unread.
What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
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
2
votes
1
answer
61
views
The `top_questions` field shows outdated information?
I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
2
votes
1
answer
55
views
Where is "items" & "badge_counts" documentation?
Where is the items & badge_counts documentation?
This is returned as JSON. I am using the /me/associated query function.
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
The API specifies error codes, and messages.
It also specifies a "backoff" parameter.
But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
5
votes
1
answer
78
views
Please make the site search on the API alphabetical
When I search, I want the sites to be alphabetical:
Please can they be?
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 ...
-4
votes
1
answer
116
views
I Cannot Perform Oauth [closed]
My Clientn id = 4784
and Key = cB0l6XiaOW5l5vsBnBeIUg((.
What do I do for Oauth and to get an access token?
7
votes
1
answer
216
views
Add the 'people reached' count to the API?
Can we have the people reached statistic added to the /users/{ids} method?
The response could simply be:
"people_reached": 1000
I'm asking because it would be cool to get a network-wide number.
2
votes
1
answer
130
views
What is the difference between accepted and is_accepted?
I saw there are two fields in answer type.
One is accepted, introduced in v2.2 and needs private_info access.
While another one is is_accepted without these limits.
Can somebody give an explanation?
2
votes
1
answer
54
views
How to get up_vote_count and down_vote_count for a user?
I'm testing the following command:
$ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool
However it doesn't return up_vote_count and ...
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 ...
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.
2
votes
1
answer
346
views
"access_denied" error in the write answer at stackoverflow [duplicate]
I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
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'...
3
votes
1
answer
86
views
How to track the open/closed status over the history of a question?
I'd like to find out the times in the history of a question when it was closed and reopened. How can I do that using API v2?
The closest relevant call I have found is /questions/{ids}/timeline, ...
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 ...
6
votes
1
answer
161
views
StackExchange API /sites/ does not return all the sites
I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com..
Since I want list of all the sites, I am trying to ...
3
votes
1
answer
105
views
API returns the last activity date even if asked not to
Using the /questions method, I tried to get upvote and downvote counts, along with question Ids. This is the request I sent:
http://api.stackexchange.com/2.2/questions/857455%3B857454?site=math&...
3
votes
1
answer
120
views
top-answerers / top-askers documentation bug: number of results returned incorrect
The top-answerers-on-tags and top-askers-on-tags documentation claim:
Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.
and
Returns the top 30 askers ...
17
votes
1
answer
255
views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
6
votes
2
answers
1k
views
StackExchange API Java SDK
This project aims to provide a Java wrapper to the Stack Exchange API.
SDK supports Stack Exchange API V2.2
Getting Started
There are two interfaces to the library.
Query Interface
Facade ...
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 ...
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?
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
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
...
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?
6
votes
1
answer
86
views
Descriptions of tag-based badges are incorrect
The descriptions associated to tag-based badges are wrong, they always show 0 instead of actual thresholds:
Earned at least 0 total score for at least 0 non-community wiki answers in the … tag
See ...
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
2
answers
292
views
How to set the width of an image in the body of a question?
I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
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 ...
6
votes
1
answer
293
views
Stack Exchange API in Chrome extension
How I can connect my extension to the API? I tried to use this example code for connecting:
SE.init({
clientId: 1,
key: '?',
channelUrl: '?',
complete: function (data) { alert('...
9
votes
1
answer
171
views
Is there any support for Area 51 in the new API?
Does the new API support Area 51? Will there be support in the future?
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" = ...
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 ...
8
votes
0
answers
165
views
Incomplete information in API documentation
I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API.
Example:
Endpoint: https://api.stackexchange.com/2.2/...
6
votes
1
answer
1k
views
Is there a limit on the data that is returned from stackoverflow API calls?
I have the following query, which is identical to the example they give in the documentation:
http://api.stackexchange.com/2.1/questions?fromdate=1391756400&order=desc&site=stackoverflow&...
32
votes
1
answer
11k
views
Looking for a beginner's tutorial to using the API
I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation.
I want some fundamental ...
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....
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 ...
3
votes
1
answer
215
views
Getting global information (Stack Exchange) about a list of users
I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID.
It's possible by querying /users/{ids} but it returns ...
6
votes
1
answer
676
views
How to strip out certain fields from the Stack Exchange API, JSON response?
I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path:
/2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow
But it is ...
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?
5
votes
1
answer
320
views
Is there an offline copy of the API documentation?
I'm trying to find a way to get all the information in the API in one printable PDF,
complete with the examples given in the documentation.
Is there anyway I can do this?
10
votes
0
answers
280
views
Tell us that POST is required to write
While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...