All Questions
Tagged with api-v2-beta or api-v2
226 questions
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",
"...
3
votes
1
answer
75
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?
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 ...
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 ...
1
vote
1
answer
74
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: https://api.stackexchange.com/2.0/...
1
vote
1
answer
38
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.
2
votes
1
answer
50
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 ...
4
votes
0
answers
289
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 ...
3
votes
1
answer
83
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 ...
5
votes
1
answer
108
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?
3
votes
1
answer
68
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 ...
2
votes
1
answer
96
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 ...
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 ...
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?
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.
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 ...