All Questions
Tagged with api-v2-beta or api-v2
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.
1
vote
1
answer
74
views
CDN redirect for the API's JavaScript SDK is incorrect
The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js.
However, GET request produces the following response:
Status Code: 301 Moved Permanently
Location: https://api-...
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?
5
votes
1
answer
75
views
/posts/{id}/revisions breaks for posts with [tag:*] content
Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error:
Example on Meta Stack Overflow (Post History)
Example on Mathematica (Post ...
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
Reputation API to display a reputation history
I'm building something similar to the reputation graph / summary on the SO user page.
The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
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
2
answers
127
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
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 ...
1
vote
2
answers
108
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 ...
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 ...
1
vote
1
answer
70
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 ...
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 ...
2
votes
1
answer
80
views
how to get the number of profile views
according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request
/2.0/...
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. ...
6
votes
1
answer
78
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 ...
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).
...
0
votes
1
answer
84
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 ...
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 ...
2
votes
1
answer
68
views
Mistake in API 2.0 Documentation - Wrong item type for Careers Message
On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
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
74
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 ...
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,"...
2
votes
1
answer
106
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 ...
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?
3
votes
1
answer
101
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?
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
94
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...
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
0
answers
65
views
How to get network profile username?
I was thinking I could just get the username from the response of /users/{ids}/associated (where {ids} is the not-site-specific id). But then realised that it returns only network_user (even though we ...
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 ...
3
votes
1
answer
140
views
Will there be another contest when Stack API 2.0 is close to release?
Considering Stack API 2.0 will probably focus a lot on administration and write features, I think it would be a good idea to have another contest.
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 ...
2
votes
0
answers
41
views
/revisions/{ids} returns results where revision_number is always 1
As of now, Code Review Question 59285 has three revisions, excluding the original question.
If I fetch those three revisions using the API, I see that all of them have revision_number set to 1.
That'...
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 ...
4
votes
1
answer
69
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 ...
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 ...
3
votes
1
answer
57
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/...
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 ...
3
votes
0
answers
97
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?
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, ...
0
votes
1
answer
100
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 ...
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/...
0
votes
1
answer
72
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
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?
5
votes
0
answers
91
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 ...
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 ...
2
votes
1
answer
84
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 ...
1
vote
1
answer
66
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
48
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.