Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
3 votes
1 answer
39 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: https://stackexchange.com/...
Jonathan.'s user avatar
  • 3,118
4 votes
1 answer
119 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 ...
Marvin Pinto's user avatar
3 votes
1 answer
133 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, "...
Marvin Pinto's user avatar
4 votes
1 answer
555 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 (...
Marvin Pinto's user avatar
2 votes
1 answer
39 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 ...
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
24 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.
Sky Sanders's user avatar
  • 12.1k
0 votes
1 answer
25 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 ...
Jonathan.'s user avatar
  • 3,118
3 votes
1 answer
64 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. ...
agent86's user avatar
  • 3,277
3 votes
1 answer
29 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.
user avatar
3 votes
1 answer
68 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 ...
agent86's user avatar
  • 3,277
5 votes
1 answer
275 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 ...
hippietrail's user avatar
13 votes
0 answers
2k 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 but is ...
Nathan Osman's user avatar
  • 23.3k
13 votes
2 answers
516 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. So I wrote ...
agent86's user avatar
  • 3,277
149 votes
9 answers
6k 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 with the ...
agent86's user avatar
  • 3,277
0 votes
1 answer
38 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 ...
Jonathan.'s user avatar
  • 3,118
2 votes
1 answer
41 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 ...
agent86's user avatar
  • 3,277
1 vote
1 answer
49 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: http://...
Nathan Osman's user avatar
  • 23.3k
4 votes
1 answer
2k views

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

This looks like it might have been requested before: Support Cross-Origin Resource Sharing In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
agent86's user avatar
  • 3,277
1 vote
1 answer
186 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: https://stackexchange.com/oauth/dialog?client_id=24&scope=no_expiry,...
Nathan Osman's user avatar
  • 23.3k
2 votes
0 answers
31 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 /filter/{filters}...
Kevin Montrose's user avatar
6 votes
2 answers
268 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 ...
rlemon's user avatar
  • 811
3 votes
2 answers
95 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 ...
agent86's user avatar
  • 3,277
6 votes
1 answer
471 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 get ...
bevacqua's user avatar
  • 213
1 vote
1 answer
40 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 ...
Jonathan.'s user avatar
  • 3,118
5 votes
0 answers
76 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 ...
agent86's user avatar
  • 3,277
7 votes
0 answers
517 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 quality, ...
agent86's user avatar
  • 3,277
1 vote
1 answer
34 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 ...
hippietrail's user avatar
0 votes
1 answer
62 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 ...
patridge's user avatar
  • 435
2 votes
1 answer
60 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 ...
neydroydrec's user avatar
19 votes
3 answers
1k views

StackGeography, a Stack Exchange question mapping site

Screenshot / Code Snippet (source: apphb.com) 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 ...
patridge's user avatar
  • 435
5 votes
1 answer
56 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 Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
hippietrail's user avatar
2 votes
1 answer
82 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 ...
Nathan Osman's user avatar
  • 23.3k
21 votes
1 answer
233 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 ...
agent86's user avatar
  • 3,277
4 votes
1 answer
2k 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 "...
agent86's user avatar
  • 3,277
4 votes
1 answer
2k 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 ...
neydroydrec's user avatar
6 votes
1 answer
259 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 ...
Dave DeLong's user avatar
  • 5,264
4 votes
1 answer
109 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). ...
agent86's user avatar
  • 3,277
5 votes
1 answer
70 views

filter=total is returning 0?

I'm running a very simple (and contrived) call of: http://api.stackexchange.com/2.0/users/115730?site=stackoverflow&filter=total I'm expecting a response of: {"total":1} But am getting a ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
52 views

Could the /tags API return minimal information about synonyms?

It would be very helpful if the /tags API could provide at least a bare minimum of information about tag synonyms. Either: Number of synonyms the tag has, if any. Or a true/false flag for tags which ...
hippietrail's user avatar
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 ...
Jonathan.'s user avatar
  • 3,118
1 vote
1 answer
72 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. ...
Jonathan.'s user avatar
  • 3,118
2 votes
1 answer
21 views

No views_per_day in /info route?

I'm not particularly crying over it, just curious why the views_per_day field was dropped?
Jonathan.'s user avatar
  • 3,118
2 votes
0 answers
38 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
Kevin Montrose's user avatar
3 votes
0 answers
83 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site?
Jonathan.'s user avatar
  • 3,118
0 votes
1 answer
71 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 ...
Kevin's user avatar
  • 101
3 votes
1 answer
65 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
Jonathan.'s user avatar
  • 3,118
1 vote
2 answers
71 views

How about a regex filter in the tags API?

The tags API has a "filter" parameter but it only matches the exact substring in the parameter in the tags. On Travel we have one kind of tags, IATA airport codes (SYD for Sydney, SFO for San ...
hippietrail's user avatar
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? ...
hippietrail's user avatar
4 votes
1 answer
214 views

Access token quota

The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app. If an application does have an access_token, then the application is ...
Jonathan.'s user avatar
  • 3,118
2 votes
2 answers
150 views

Once authorized, is there a way to auto-login with a browser?

Assuming I've created an app that authenticates the user against api-v2, is there a method to get a token or cookie that I can pass to a browser instance set to load a stack exchange site that will ...
Adam Davis's user avatar
  • 2,233