Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
461 questions
2
votes
1
answer
49
views
consistency for array parameters
It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter.
We have semicolon and space that I know of so far.
Eliminating space as a ...
0
votes
1
answer
57
views
r.e. /stats fields.
I see we are getting some meta data in stats now. This is good.
I see the api path in there, but I have to assume that it is simply part of the record that is being output and is not intended as a ...
2
votes
2
answers
105
views
Why does Stats Return a Statistics Array
Why does the stats API Call return an Array instead of just an object?
Example Response:
{
"statistics": [
{
"total_questions": 723903,
"total_unanswered": 114097,
"...
5
votes
1
answer
151
views
Will URLs always follow this pattern?
Many of the API endpoints return urls, such as /questions/{id} (which returns urls for question_timeline_url, question_comments_url, etc). However, the URL returned is a relative URL, like /questions/...
6
votes
3
answers
178
views
API having more rights than a 0 rep user.
The fact that the API has total_upvotes and total_downvotes makes the fact that you need 1000 rep on the sites a bit weird. Are there more things that the API knows by default, which you can only ...
1
vote
1
answer
70
views
Is there a difference between "newest" and "creation"?
When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
0
votes
1
answer
115
views
Questions with accepted answers
I know that you could technically loop through the answers returned when you ask for /questions/{id} to see if an answer has been accepted, but it would be AWESOME if there was a top level boolean ...
1
vote
1
answer
68
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
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 ...
0
votes
1
answer
36
views
/questions/unanswered and /tags allow id parameter, but it does nothing
The /questions/unanswered and /tags queries both document (as required) and allow an "id" parameter. You can use it as /questions/unanswered?id=1;2;3, but it does nothing (that I can tell) and doesn't ...
2
votes
3
answers
102
views
Method /users/{id} doesn't return "about_me" if the user has never modified it
See title. When a user never modified their "about me" section the API doesn't return that, which then causes my parser to go wild returning errors. However, when a user has modified their "about me"...