This tag is for questions about the Stack Exchange API version 2.

learn more… | top users | synonyms (1)

1
vote
1answer
31 views

Ability to sort answers by number of revisions via StackExchange API v2?

I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric. I see mention of a sort function in the ...
1
vote
1answer
27 views

Inbox unread since parameter not working

The since parameter of /inbox/unread no longer seems to work. I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
1
vote
1answer
37 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 ...
1
vote
1answer
66 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 ...
1
vote
1answer
25 views

What sizes are the images available through the /sites endpoint?

I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
1
vote
1answer
57 views

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page. The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
1
vote
1answer
35 views

Typo in throttle violation error message

I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using). Anyway, I noticed there’s a small typo in the error message that’s ...
1
vote
1answer
19 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?
1
vote
1answer
23 views

Running queries from the Documentation pages hangs browser for minutes at a time

I've been playing with some queries on the documentation page, and I've noticed that it's taking an abnormally long time to load even reasonably sized API call results: ...
1
vote
1answer
33 views

read item in unread inbox method again

I'm getting a read item in the inbox/unread method, again. This happened before, but I can't find the post about it (I'm pretty sure you fixed/explained it). But the item is very old, not a cache ...
1
vote
1answer
18 views

Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?

In another question I asked it was established that The ip, and user/app-pair quotas are separate in V1.x and V2.0. So with this in mind would an app or script which implemented like methods for ...
1
vote
1answer
32 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
1answer
44 views

Quota remaining is negative

I think I must be doing something very stupid, that I just can't see I just registered an app, in the last ~10 minutes. I have just been going to the /info route, no authentication or anything else. ...
1
vote
1answer
33 views

Point of /users/{id}/inbox?

What is the need for the user ID in: https://api.stackexchange.com/docs/user-inbox Given that it will only return the inbox of the authenticated user, and deny a mismatching user id. The only needed ...
1
vote
0answers
11 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. ...
1
vote
0answers
146 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 ...
1
vote
0answers
55 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
0answers
42 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: ...
1
vote
0answers
25 views

Has someone implemented code(in javascript) to get last seven days consolidated reputation thorough API?

I am trying to get user's reputation for last seven days. I want to get total reputation user has earned on specific day. Has someone implemented a way to do this in javascript? I know I can do this ...
1
vote
0answers
75 views

localhost API key receives Curl error when retrieving access token

I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
1
vote
1answer
147 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 ...
1
vote
0answers
107 views

/oauth/access_token not redirecting back to my redirect_uri

I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code: <?php if(isset($_GET['code'])) { ?> <form method="POST" ...
1
vote
1answer
229 views

How to write a first application?

How to write the first applications to use StackOverflow, for C# under the platform WinRT? How to use the API-functions? Is there a ready-made packages for under winRT (NuGet)? Are there a step by ...
1
vote
0answers
11 views

Is there a difference between the API search and the search from within the site?

I'm curious if the search results from the API is calculated the same way as the searches from within the sites themselves? Is there a difference between the two? If so, what are the difference?
1
vote
0answers
18 views

Why are Meta sites' “site_state” = “linked_meta”?

In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta Instead it would be more useful if ...
1
vote
0answers
90 views

Issue: OAuth login process does not fully work in the WP7 Mango browser control with implicit flow

We experience issues when using the implicit OAuth flow in a WP7 Mango browser control and trying to login with openid. The login process itself works fine (althought the css of the openid page does ...
1
vote
1answer
33 views

Site_Type returns “main_site” for meta.stackoverflow.com

For Meta Stack Overflow, the 2.0/sites endpoint returns "main_site" rather than "meta_site". All other site_type for other stackexchange sites return correctly. URL: ...
1
vote
1answer
115 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 ...
1
vote
1answer
29 views

Failed beta sites are showing up in the /sites method.

3D Graphics and Game of Go are both failed beta sites. I would not expect them to show up in the /sites list - but they do. Indeed, attempting to list questions on one of the sites fails: ...
1
vote
0answers
25 views

Auth dialog improvements (who's logged in, etc)

The auth dialog (client side) could do with a bit of improvement. Specifically, showing the currently logged in user, and a link saying "not you?". Facebook does this and allows you log in as someone ...
1
vote
0answers
37 views

Removing StackExchange dropdown and mobile version of auth dialog

Would it be possible to remove the StackExchange drop down (hot questions, sites, inbox) from the Auth dialog? Typically when displaying dialog, you don't want the user to start browsing questions ...
1
vote
1answer
41 views

Policy on shipping working examples that use the explicit authentication flow in an SDK?

I'd like to ship a working example of using the explicit authentication flow in Stack.PHP. I have no trouble embedding the API key and app ID in the example. The problem lies in embedding the client ...
0
votes
1answer
33 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 ...
0
votes
1answer
68 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 ...
0
votes
1answer
54 views

Add message ID to inbox items

Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
0
votes
1answer
26 views

Is there any API to support creating a new question on stackoverflow? [duplicate]

Possible Duplicate: Post questions using API I know there is api for stackoverflow. It looks like the APIs are read-only, supporting the Get/Search operation. Is there any API to support ...
0
votes
1answer
21 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 ...
0
votes
1answer
35 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
0
votes
1answer
26 views

Support for OR constraint when querying questions based on tags [duplicate]

Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint. You can query for questions tagged with multiple of these tags, but not with one or ...
0
votes
1answer
45 views

Most of the url are missing the protocol

Maybe you were trying to fix the other "bug" I've pointed out, but now most of the url for the icons are missing the protocol! { "site_type": "main_site", "name": "Stack Overflow", ...
0
votes
1answer
49 views

CDN redirect for the API's JavaScript SDK is incorrect

The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js. However, GET request produces the following response: Status Code: 301 Moved Permanently Location: ...
0
votes
1answer
70 views

How do I find all questions/answers per a tag?

Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP. Per the docs the only thing I can see that will return questions in a ...
0
votes
1answer
24 views

Relevance value on /similar route

Given that the /similar method can be sorted by relevance there must be a numeric rank for each question. Would it be possible to have access to the value? Off by default, but can be enabled by using ...
0
votes
1answer
22 views

Why does badges/ids/recipients return badges not users?

I can't understand why badges/{ids}/recipients returns badges and not users? You must pass the badge ID in, so it should be given that you already know what the badge is. If it returns 30 objects you ...
0
votes
1answer
92 views

API is accepting requests from other OAuth domains

I've set an OAuth domain for an application (the client_id is 24) and the following link authorizes the application: ...
0
votes
1answer
31 views

How do I get a filter to let through the fields I specify?

I've created a filter based on the "none" filter with include fields for all those I will need for my application. While the filter I created looks fine to me, it doesn't appear to return any results ...
0
votes
1answer
39 views

2.0 tags API returns only created tags

Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
0
votes
1answer
47 views

Removing/disallowing app does nothing

I have just deleted/disallowed, the console app and the app I'm currently writing. For the console the access token I was using before deleting the app carried on working, and when I got a new token, ...
0
votes
0answers
10 views

stackoverflow call returning some zipped data when I call from server side [duplicate]

When I call stackoverflow api from server side of my meteor application, I'm getting the follwoing result query var futt=new Future(); var userDetailsURL = ...
0
votes
0answers
58 views

Using StackApp Oauth with iOS custom url schemes

I am trying to create some demo application for iOS using the Stack Exchange API. I could not however, get the OAuth authorization done. I have used the custom URL schemes in my application. I open ...