Questions tagged [api-v2]
This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.
226 questions
0
votes
1
answer
95
views
Add message ID to inbox items
Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
2
votes
1
answer
79
views
How can I get a list of favorite/ignored tags?
I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1
answer
162
views
Am I out of luck if my http client doesn't support gzip decoding?
I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this issue)...
2
votes
1
answer
125
views
/suggested-edits "Try it": Link for "suggested_edit_id" is broken
When using the "Try it" feature on /suggested-edits, the link for the suggested_edit_id points towards stackexchange.com and not towards the respective site.
For example, retrieve data ...
3
votes
1
answer
90
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 ...
0
votes
1
answer
75
views
Support for OR constraint when querying questions based on tags [duplicate]
Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint.
You can query for questions tagged with multiple of these tags, but not with one or ...
5
votes
1
answer
88
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 ...
3
votes
1
answer
83
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. ...
3
votes
1
answer
77
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).
...
1
vote
1
answer
66
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 ...
3
votes
1
answer
92
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)?
2
votes
1
answer
93
views
/answers endpoint is error-500-ing against many sites
Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors:
http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming
{"error_id":500,"...
3
votes
1
answer
62
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
2
votes
1
answer
111
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 ...
1
vote
1
answer
96
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.
...
3
votes
1
answer
93
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 ...
5
votes
0
answers
182
views
Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.
This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview:
Purpose
Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
1
vote
1
answer
59
views
What sizes are the images available through the /sites endpoint?
I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
3
votes
1
answer
72
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
62
views
Inbox unread since parameter not working
The since parameter of /inbox/unread no longer seems to work.
I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
0
votes
1
answer
85
views
Removing/disallowing app does nothing
I have just deleted/disallowed, the console app and the app I'm currently writing.
For the console the access token I was using before deleting the app carried on working, and when I got a new token, ...
1
vote
1
answer
84
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/...
2
votes
1
answer
46
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
0
answers
141
views
api 2.0 - any plans to bring SE sites closer together?
I've been re-reading api 2.0 roadmap and thinking what might be useful to have there.
I don't care much about authentification, and even less about write access. But what would really reduce amount ...
1
vote
1
answer
67
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/...