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

learn more… | top users | synonyms (1)

2
votes
1answer
47 views

Mistake in API 2.0 Documentation - Wrong item type for Careers Message

On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
0
votes
1answer
30 views

API 2.0 is not returning Programmers in list of sites

Run https://api.stackexchange.com/2.0/sites. programmers.stackexchange.com is not in the response.
8
votes
2answers
431 views

Serel: A Ruby Library with full support for API 2.0

Getting Started? Visit http://serel.tom.is for a whirlwind tour of the library. although it is still very much a tour in progress About Serel is Stack Exchange RElational Algebra, a fully ...
12
votes
2answers
616 views

Bartlett—new questions, inbox items, and reputation in OS X

Bartlett is a Mac application that lets you keep track of the most recent questions, inbox items, and reputation items on your favorite Stack Exchange sites. You can be notified of new items by Growl ...
2
votes
1answer
30 views

/users/{id}/tags/{tags}/top-answers returning answers by other users

According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag. Returns the top 30 answers a user has posted in response to questions ...
3
votes
0answers
206 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
2
votes
1answer
28 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
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: ...
3
votes
1answer
59 views

Is there a meta api?

Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
3
votes
0answers
94 views

OAuth Dialog rendering problems

I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches. The first screen looks correct: ...
4
votes
1answer
215 views

StatsExchange - low friction, API-based statistics generator

Screenshot / Code Snippet About StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
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?
0
votes
1answer
22 views

No answer_id for Comment on answer inbox_item

According to the API documentation on inbox_item, inbox items corresponding to a comment on an answer to a question should have an answer_id field identifying the answer that the comment was on, but ...
2
votes
1answer
806 views

OAuth redirect not completing

This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome) ...
1
vote
1answer
72 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": ...
3
votes
1answer
48 views

What happens when sites or the whole network go offline

Now that the API is all done on stackexchange.com. What happens if say just certain sites go offline (eg just Stackoverflow). Will the API continue to return results or will it return the HTML offline ...
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
114 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 ...
3
votes
1answer
23 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
5
votes
1answer
42 views

Several staff members are incorrectly listed as elected moderators

Several employees are being reported as elected moderators on sites they haven't been elected on, according to /2.0/users/moderators/elected. I think there was a similar issue reported before during ...
2
votes
1answer
26 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
2
votes
1answer
68 views

the stack exchange javascript library is 404

the library listed on the doc page for Authentication https://api.stackexchange.com/js/2.0/all.js ultimately redirects to https://api-v2cdn.sstatic.net/js/all.js which results in varying degrees ...
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
62 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
175 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) ...
7
votes
0answers
219 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
29 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
266 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
43 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
33 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
45 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
31 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
42 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
63 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
77 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
53 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
17 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
40 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
70 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
316 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. ...
124
votes
9answers
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
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 ...
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 ...