All Questions
356 questions
2
votes
1
answer
109
views
Error Code when API Key Limit exceeds
What will the error code be generated when API Key Limit exceeds? I need that because I have to handle this error in my application.
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 ...
1
vote
1
answer
89
views
/users/{id}/badges id parameter clarification
On /users/{id}/badges, the description of the id parameter
a semicolon delimited list of user ids
diverges from the inferred standard for multi-valued parameters:
A single primary key identifier or ...
1
vote
1
answer
83
views
Position required parameters at the top of help pages
The required id parameter for ...a lot of API routes... is now placed at the bottom of the page.
It makes more sense to place required parameters at the top of the page with a slight separation, like ...
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 ...
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
103
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 ...
1
vote
1
answer
80
views
`type=jsontext` JSON results for help pages
It would greatly simplify machine reading if we could apply type=jsontext to API help pages, including the index.
Update: Here's an unofficial JSON schema for v1.x.
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 ...
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
61
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.
2
votes
1
answer
68
views
Where can I request an API key in the docs?
Can you mention the possibility of requesting an API key in the docs? It was displayed for the 1.0 API.
3
votes
0
answers
52
views
Incorrect link parameter on the "Complex Queries" documentation page
The "Complex Queries" documentation page has this link:
Of these three posts on Server Fault, the one with the most recent activity
where "the one with the most recent activity" links to
https://...
2
votes
1
answer
89
views
Include range [1, 100] on pagesize
I see that "range" is being used to indicate valid range on most numeric parameters, e.g.
32-bit integer, range [0, 2,147,483,647]
32-bit integer, range [1, 2,147,483,647]
The smaller valid range ...
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 ...
2
votes
1
answer
66
views
No token field in the docs test page for /me/reputation-history
There is no form field for an access token at:
https://api.stackexchange.com/docs/me-reputation-history
https://api.stackexchange.com/docs/me-full-reputation-history
After attempting to Run the API ...
1
vote
1
answer
48
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
53
views
Minor spello/typo on the "Complex Queries" documentation page
The documentation page
Complex Queries
has a minor typo or spello:
The ?filter=total build-in filter is provided for just this purpose.
Should instead be:
The ?filter=total built-in filter ...
2
votes
0
answers
65
views
Clarification on related tags for a tag returned by API
I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following:
Returns the tags that are ...
2
votes
1
answer
41
views
Confusing documentation re vectorized requests limits
The documentation for vectorized requests says this:
Most methods that take ids in the Stack Exchange API will take up to 100 of them in a single go. This allows applications to batch work and ...
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?
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
71
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 ...
4
votes
0
answers
41
views
Link to applied_count leads to a 404
To Reproduce
Run an API query on tag-synonyms, you will get a result that includes something like this:
Issue(s)
Click on the applied_count link and you get redirected to this page which is a 404.
It ...
3
votes
1
answer
37
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?
1
vote
1
answer
61
views
Definitive on timeline_type?
Hi all,
I am trying to get a definitive on what timeline_type actually means...
I've looked at: https://stackapps.com/search?q=timeline_type but to no avail.
The new documentation doesn't list ...
1
vote
1
answer
69
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 ...
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 ...
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 ...
3
votes
1
answer
122
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.
2
votes
1
answer
74
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
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 ...
1
vote
1
answer
78
views
Please supply working example URLs for each route
It would take a lot of the guess work out of understanding the API if each route's page provided a small handful of working URLs.
This would also serve to provide authoritative examples of the ...
2
votes
0
answers
27
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'...
4
votes
1
answer
146
views
AND searching for tags?
I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search.
The questions search for tags is an ...
3
votes
1
answer
65
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)?
6
votes
0
answers
58
views
API docs for "stack overflow" still feature v1.0 docs
I guess I'd call this a doc bug.
Currently the page http://api.stackoverflow.com redirects to http://api.stackoverflow.com/1.0/usage, which says at the top "Don't use 1.0, use 2.1". This URL ...
5
votes
1
answer
37
views
Typo in API filter documentation
When using unsafe filters, the API returns the highest fidelity data is can reasonably access for the given request.
should be
When using unsafe filters, the API returns the highest fidelity data ...
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 ...
1
vote
1
answer
46
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
2
answers
82
views
Inconsistency in the handling of multiple IDs with a duplicate
There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists.
Duplicate ID is significant
For example, when requesting a timeline of multiple ...
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?
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/...
4
votes
2
answers
95
views
Document fields that may be not be included in responses
I'd like to see documentation on what fields may not be included in responses or, alternatively, which fields are guaranteed to be included. Currently it's a little confusing because some fields may ...
3
votes
0
answers
52
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 ...
5
votes
0
answers
156
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 ...
4
votes
1
answer
118
views
Confirmation on sort, order and min/max
I'd like confirmation, if possible, that the following chart of sort types is correct:
sort |orderable|min/max |min/max type
------------------------------------------
activity | yes | ...
0
votes
1
answer
82
views
API console always queries Stack Overflow
On any Stack Exchange site (well, I tried Super User (trilogy), Unix (SE-2.0 launched) and SFF (SE-2.0 beta)), the console (“Show Console” button) in the 1.1 API queries http://api.stackoverflow.com/1....
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 ...
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 ...