Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.
1
vote
What sizes are the images available through the /sites endpoint?
"Are any of the fixed size?"
I can't really answer that question directly, but for reference, the dimensions of the images supplied by the API for Stack Overflow are as follows:
Image: …
3
votes
1
answer
93
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be …
4
votes
Is there a way (or app) to get realtime updates of new questions with a given tag?
There is an /events route that:
"Returns a stream of events that have occurred on the site."
Greg Hewgill has created a firehose JSON streaming event service which closely mimics the Twitter Str …
0
votes
1
answer
35
views
Error when requesting the last page of results.
When I try to view the following URL:
http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow
I get the error:
{
"error_id": 500,
"error_name": "internal_error",
"error_m …
0
votes
1
answer
77
views
Security certificate error when logging in with myOpenID
I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the u …
1
vote
1
answer
313
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 perfectly wh …
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 f …
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 bu …
1
vote
Increase the pagesize limit from 100
I admit that this answer is a little late in light of the fact that the API now allows an unlimited pagesize to be specified to retreive all sites. However, I had planned to create this simple little …
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://a …
1
vote
1
answer
185
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,read_inbox& …
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 Securi …
1
vote
How about a regex filter in the tags API?
Perhaps a good approach would be to cache the entire list of tags on a site (there are only 770, or 25 pages worth on Travel.SE). You can then run them through a RegEx locally. Tags don't change very …
1
vote
What is the "inname" parameter to the /tags 2.0 API?
inname limits the returned items to only those that contain the specified value. This parameter is identical to the filter parameter in v1.0 and v1.1 of the API.
Note: this parameter is also present …
1
vote
1
answer
54
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 s …