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

learn more… | top users | synonyms (1)

2
votes
1answer
32 views

There is a small discrepancy in the docs for users-id-associated

The main doc page, https://api.stackexchange.com/docs, shows /users/{id}/associated while the method page, https://api.stackexchange.com/docs/associated-users, uses /users/{ids}/associated. It's ...
2
votes
1answer
33 views

Events: field request

The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could). ...
3
votes
1answer
59 views

Can we get write access to user favorites?

I'd like users of my app to be able to add questions to their favourites. Will this be added to the API as an authenticated call?
6
votes
0answers
154 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) ...
8
votes
0answers
215 views

Suggested Edits Queue for Mere Mortals

Screenshot About This Java command-line app gives you access to the Suggested Edits queue using the Stack Exchange 2.0 API. It is ideally suited for users in the 2000 <= reputation < ...
2
votes
1answer
27 views

Answer vote counts are not correct

I was trying to figure out the total number of answers I have that have been downvoted, and at first everything seemed awesome since the total was zero. However, I knew this wasn't correct. For ...
3
votes
0answers
30 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
13
votes
0answers
259 views

StackImpact - What's your impact?

Screenshot About I like to make contributions to Stack Exchange, and in return I gain rep. However, I find that rep doesn't really tell the whole story about what my contributions mean to the ...
3
votes
1answer
38 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
0
votes
1answer
26 views

Add last_access_date field to the shallow_user object

Would it be possible to add the last_access_date field to the shallow_user object? I presume this corresponds to the seen field when visiting someone's profile. My reasoning is that it saves the ...
4
votes
1answer
32 views

In API 2.0, what happened to questions sorted by “featured?”

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
3
votes
1answer
43 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%. ...
2
votes
1answer
29 views

Site categories in API?

Would it be possible to have a category field added to the site object. Eg Technology, Culture, etc. The sites seem to already have categories, as you can see on this page: ...
3
votes
1answer
41 views

Unable to sort /search results by creation_date

I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can. What works: Create a /search query with the following parameters: fromdate: 2012-01-24 order: desc ...
2
votes
1answer
58 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, ...
1
vote
1answer
62 views

Key doesn't match a known application

I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say ...
2
votes
1answer
23 views

integer and decimal are used to describe fields in return types but not in method parameters

Integer and Decimal designations are useful in creating an accurate model of API methods and types. These specific 'number' subtypes are used when describing types but the method parameter lists all ...
2
votes
1answer
13 views

type related_site not listed in 'by type' tab list

The type "related_site" is not listed in the 'by type' tab in documentation.
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 ...
3
votes
1answer
52 views

“Authentication Statistics” graph y-axis labels are overly granular

Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
2
votes
1answer
16 views

Is the display name meant to be escaped HTML in the 2.0 version of the API?

The display_name field of a user is HTML escaped. See here for example. Is this expected behavior or a bug? The documentation doesn't mention it.
2
votes
1answer
39 views

HTTP 500 error when calling /apps/{accessTokens}/de-authenticate with an access_token argument in GET

For almost all API calls, I pass both my key and my access_token. This doesn't exactly make sense for the "de-authenticate" endpoint, as the access token is already in the URL. Passing one anyway ...
3
votes
1answer
64 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 ...
10
votes
0answers
1k views

Stack.JS - Powerful Event-driven Library for Accessing the Stack Exchange API in JavaScript.

About Stack.JS is the JavaScript equivalent of Stack.PHP and aims to replicate the request structure of that library as much as possible. The library is still a long ways from being complete ...
13
votes
2answers
303 views

ChatterBox - user script that adds inbox integration to Stack Exchange Chat!

Screenshot / Code Snippet About I like Stack Exchange Chat, and with the feedbots it tends to be pretty easy to keep up with what's going on with the site. Except for one thing - my inbox. ...
115
votes
8answers
5k views

StinkingBadges - Track your progress towards long-term badges

Introduction I was curious how far away I was from Generalist, and there are some data explorer queries that can show you your progress, but I thought it should be possible to make this work ...
0
votes
1answer
21 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 ...
2
votes
1answer
25 views

Can I get more results/options from /users/{ids}/top-answer-tags?

/users/{ids}/top-answer-tags returns the top 30 tags for a given user. It's also the only endpoint that returns the user's tag scores along with the rest of the tag info. I'd like to use this data ...
1
vote
1answer
27 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: ...
4
votes
1answer
851 views

API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail

This looks like it might have been requested before: Add CORS headers to API output In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With CORS ...
0
votes
1answer
84 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
0answers
25 views

Name changes for a few methods

The following method names have been changed for reasons of consistency. /access-tokens/{accessTokens}/read is now /access-tokens/{accessTokens} /filter/create is now /filters/create ...
6
votes
2answers
81 views

Increase the pagesize limit from 100

Can we increase this limit to something more reasonable (other than 100). The cap of 100 for posts seems reasonable, however I cannot return the entire site list in one request. Due to the rapid ...
3
votes
2answers
58 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
4
votes
1answer
263 views

BridgeStack — .NET client library with full 2.0 support

BridgeStack This is a StackExchange API v2.0 consumer library written under C#. It is heavily documented and designed to make it as easy as possible to interact with the API. Example Usage To ...
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 ...
2
votes
0answers
23 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 ...
6
votes
0answers
310 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 ...
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 ...
0
votes
1answer
30 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 ...
2
votes
1answer
37 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
5
votes
0answers
745 views

achivy.com, track all your statistics, reputation and badges in one place (now also supports coderwall)

About Time to collect your achivies Achivy adds some fun to your life. It supports Stack Overflow and all Stack Exchange applications, GitHub,Coderwall Ohloh as well as many other ...
18
votes
3answers
888 views

StackGeography, a Stack Exchange question mapping site

Screenshot / Code Snippet About Ever wanted to see just what kind of locations are posting to the various Stack Exchange sites at any given time? Even if you haven't, you'll find it with ...
5
votes
1answer
37 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 StackApps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
2
votes
1answer
61 views

TLS security warnings from api.stackexchange.com

Each time an API request is made over HTTPS, Firefox generates the following message in the error console: Curious, I looked up RFC 5746 and the document covers the following: Transport Layer ...
10
votes
1answer
139 views

Can we have some debug endpoints for testing corner cases?

After encountering a throttle violation today (which I posted in another question), it occurred to me that although I've put together code to handle "backoff" conditions, and potentially throttle ...
4
votes
1answer
272 views

Why do I get a throttle violation after 300 requests while using a key but no access_token?

I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls. I was calling the ...
1
vote
1answer
505 views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
5
votes
1answer
92 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 ...
3
votes
1answer
67 views

Why is my quota constantly decreasing?

I registered an app today (API v2) for the first time (App ID 47, LaServ), and let it run a bit with its new key. It's the only API app running on this IP (I rent the IP as part of a VPS package). ...