Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
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 ...
1 vote
1 answer
47 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: https://api.stackexchange.com/...
3 votes
1 answer
4k 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) https://stackexchange.com/oauth/dialog?client_id=23&scope=...
2 votes
1 answer
138 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
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?
1 vote
1 answer
315 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
1 answer
32 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?
6 votes
1 answer
58 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 ...
1 vote
1 answer
323 views

Is there an open provider implementation for oAuth 2.0 used by StackExchange sites?

I notice that there is an oAuth endpoint for the stackexchange API: https://api.stackexchange.com/docs/authentication The OpenID implementation used by StackExchange is open sourced at https://code....
2 votes
1 answer
34 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
1 answer
47 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 ...
3 votes
1 answer
59 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). ...
2 votes
1 answer
95 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 ...
3 votes
1 answer
34 views

Get a list of required tags for site

How can I get the tags which are required, (fulfills_required = true) for each site? Like order/filter the tags route to show the fulfills_required tags first?
9 votes
7 answers
4k views

How to format time since xxx e.g. "4 minutes ago" similar to Stack Exchange sites

function timeSince(date) { var seconds = Math.floor((new Date() - date) / 1000); var interval = Math.floor(seconds / 31536000); if (interval > 1) { return interval + " years";...
15 votes
1 answer
153 views

Can we get access to key-usage metrics?

Will developers ever get a chance to see how often their app key is being used? Or how many unique IPs are used the key? Or any other random metrics that might be interesting?
2 votes
1 answer
38 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 ...
11 votes
0 answers
287 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 < 5000 ...
3 votes
0 answers
37 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.
36 votes
0 answers
443 views

Why I think Area51 needs an API.

Okay, I have to admit that I never dreamed I would be advocating an API for Area51. But here I am doing it :) I think we need an API for Area51. Granted, the whole concept of questions and answers is ...
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 ...
1 vote
1 answer
45 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
1 answer
49 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 ...
6 votes
1 answer
68 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%. http://api....
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/...
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, "...
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 ...
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. ...
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 ...
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 ...
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.
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 ...
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. ...
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 ...
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 ...
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://...
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 ...
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,...
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}...
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 ...
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 ...
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 ...
4 votes
2 answers
95 views

Documentation sorted by return type

Right now the documentation is pretty terribly organized. For example, consider the things under the "Users" heading: /users => returns Users /users/{ids} => returns Users /users/{ids}/answers => ...
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 "...
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 ...
1 vote
1 answer
65 views

Why don't the tags APIs expose the tag IDs?

It seems that all tags have an internal ID, for instance here on stackapps, the api-v2 tag has ID 2442 which you can only see if you edit the api-v2 tag. As far as I can see none of the APIs expose ...
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 ...
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?
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 ...
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 ...