All Questions
5
votes
1answer
205 views
URL Length Limit For For Requests Taking Vectorised Ids (/answers/{id}, /questions/{id}, etc)
I am trying to use /questions/{id} API to get a list of questions by their ids. Help page for this request does not indicate the maximum number of ids that can be passed in. Pagesize is maximum 100, ...
2
votes
2answers
90 views
Why my /mentioned page return 404?
http://api.stackoverflow.com/0.8/users/213464/mentioned?type=jsontext
{
"error": {
"code": 404,
"message": "The server has not found anything matching the Request-URI."
}
}
Its ...
4
votes
3answers
139 views
How do I get the ten reputation required to post an image for my app?
Funny that in order to enter and include a screenshot, you need ten reputation points. Go figure.
1
vote
2answers
77 views
Stats not showing the same values as the Site
I get less values in the api method that in the site, is this posible?
Example: form the API I get that SO has 709980 questions from site 701005
5
votes
1answer
127 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 ...
4
votes
2answers
101 views
Add optional parameter to get only paging information?
On methods that support total/page/pagesize add an optional parameter to get just those fields when making a request. (pageInfo=true).
I am thinking specifically in apps that have real-time like ...
2
votes
1answer
65 views
API Help Suggestion: 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 valid range for ...
3
votes
1answer
87 views
Are we going to get a Protected Date field in Question responses?
Now that questions can be marked protected, will this info be available via the API?
3
votes
2answers
70 views
On /users method id parameter does not work
Calling /users method with id parameter returns a list of users and not the user expected.
http://api.stackoverflow.com/0.8/users?id=23234
Could be a documentation "bug" on help page:
...
2
votes
1answer
120 views
Guidance on usage thresholds - specifically throttling
I am running a lot of tests and have started to get 403 errors.
I am using a key and certainly have not exceeded my quota.
Am I running foul of some yet unmentioned throttling threshold and if so, ...
2
votes
3answers
192 views
Best way of structuring a library?
I am busy building an app using the API and I am about to start to work with the API.
I have looked at the one other PHP library, and it is one object with method calls which return back a ...
1
vote
1answer
61 views
API Help Suggestion: /users/{id}/badges id parameter clarification
On /users/{id}/badges, the description of id parameter diverges from the inferred standard.
e.g.
a semicolon delimited list of user ids
vs
A single primary key identifier or a vectorized, ...
17
votes
5answers
813 views
Conscientious use of the API
What constitutes abuse?
Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use.
Guidelines for polling
We realize that a great many ...
4
votes
1answer
562 views
StackScript JavaScript Wrapper
Code Snippet
Demonstrates the StackUser class:
// Global object
var ss = new StackScript('');
function GetInfo()
{
// The provided callback will be called
// when the data arrives
var ...
1
vote
1answer
82 views
added_date in users/{id}/favorites method result
Is it possibile to include an "added_date" parameter on users/{id}/favorites method result?
It would be helpful when method is called with "added" sort parameter.
2
votes
1answer
67 views
How to filter getAnswersForUser by tag?
I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers.
Do I need to to register for an API key, or just use ...
1
vote
1answer
84 views
API Suggestion: Abstract paged results to enable cleaner libraries
It would make great sense for paged results array property to have a common name, items perhaps.
For those writing in languages that support 'generic' constructs, this would simplify the code ...
2
votes
1answer
73 views
Question sort: change active to activity?
I noticed the sort newest for /questions, /questions/tagged/{tags} and /questions/unanswered was changed to creation recently, making it more consistent with other methods. Could the sort active for ...
3
votes
3answers
69 views
Are these fields redundant?
Why do we have total_upvotes + total_downvotes as well as score?
Doesn't
score = total_upvotes - total_downvotes
Is this always true? If so, isn't it redundant?
5
votes
3answers
166 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 ...
11
votes
1answer
156 views
Is it safe to assume the API will be at api.<DOMAIN>?
I'm writing an application that will eventually allow you to use it for any StackExchange site. Thus, I'm allowing users to input the domains of the sites they want to use (e.g. stackoverflow.com). ...
1
vote
1answer
56 views
Inconsistent sort ordering on users?
I'm trying to get a list of the 10 oldest users. This is the endpoint I'm using:
http://api.stackoverflow.com/0.8/users?key=(key)&order=asc&sort=creation&pagesize=10&page=0
...
2
votes
2answers
143 views
Abuse potential in API write-access?
I understand some of the use-cases for write-access in v2 of the API -- primarily to enable full access to StackExchange sites without a web browser. And I'm sure it will be a hit for people who want ...
6
votes
1answer
190 views
SCombinator - Combined Questions of All the sites that API supported
Screenshot / Code Snippet
About
Just another combination of all the sites that API supported.
If you use all those sites, it would be very useful, because you can surf all at one place.
Almost ...
5
votes
1answer
103 views
Provide a post listing changes to the API?
While it's possible to pick up on many of the changes that are made to the API by looking at every [status-completed] tagged question on here, I'd like to see a single post that's updated every time a ...
2
votes
0answers
48 views
Get the Time of the Stats and if Possible the new time it will be updated
From here I learned that the stats are cache. I understand the reason for this, so I ask if possible to have the timestamp of the stats return in the api and if possible to have the next time there ...
36
votes
1answer
187 views
When API site goes offline, please return a JSON , instead of Stack Overflow alike offline HTML page
I've just noticed that my api queries are failing in JSON parsing, because of API Site shows offline HTML Page.
I wish it would return a valid JSON response, instead of HTML Page.
5
votes
0answers
233 views
CodeChirp - Twitter like post-aggregator and stalker webapplication
CodeChirp
About
CodeChirp is a twitter-like web-based question/answer/comment aggregator, that queries Stack Exchange sites, and shows the results as twitter-like posts. People can subscribe to ...
1
vote
1answer
65 views
help page suggestion: position required parameters at top
in the case of id, it is now placed at the bottom of the page.
It makes sense to place required parameters at the top of the page with a slight separation, perhaps an <hr> or an icon.
3
votes
1answer
74 views
Add moderator-only flag to tags API?
Currently there is no way to distinguish between normal and moderator only tags.
2
votes
1answer
87 views
help page suggestion: indication of integral values vs real numbers
number is an very ambiguous term.
It would be helpful if there was an indication of values that can return as non-integral.
In a javascript context this is not an issue, but most devs, myself ...
6
votes
1answer
563 views
Is it safe to embed my API key into my javascript-only application?
I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
1
vote
2answers
52 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 ...
2
votes
2answers
40 views
Should /badges/{id} returns users that have been awarded all badges or any badge in the list?
The current behavior of the list version of /badges/{id} is to return the users that have been awarded any of the badges in the list.
An alternative is to have the API to return the list of the users ...
8
votes
1answer
106 views
Will there be a “last call” when the API is about to be released?
I understand the contest ends when version 1.0 of the API will be released, but will there be any indication when this time comes? So that you know you can allocate one last weekend for final fixes?
5
votes
0answers
447 views
Pilha - Ruby Wrapper to the Stack Exchange API
Warning: there's still a lot of work to be done.
Edit: Pilha has been updated and now it supports most of the stack exchange api. There's still work to be done and the gem should be completely ...
7
votes
2answers
193 views
Terms of the use for the API
What are the terms of use for the API? Are there any restrictions in terms of how I can use it, except for access limitations?
1
vote
2answers
84 views
Can we have maximum length of string in API help pages?
For the type "string", I think there is some upper limit of character count.
For example,
post title : 200 characters
post body : 30000 characters
In the help page, currently like this
"body": {
...
2
votes
1answer
58 views
/users/{id}/badges - multiple identical results
Each badge returned in the list of results from /users/{id}/badges already contains an award_count indicating how many times the badge was awarded for the particular user attached to the badge. In ...
4
votes
2answers
73 views
Possible bug in the help page?
There are some weird dot things in this help page:
http://api.stackoverflow.com/0.8/help/method?method=users/{id}/badges
What's up?
2
votes
1answer
51 views
Add information to badges/{id} method.
Currently, there is no practical way to retrieve badge information given its ID. I would like to see title and description added at the very least.
Current method for retrieving the data:
call the ...
12
votes
1answer
281 views
Are wrappers considered applications?
I went to get an API key for my StackOverflow C++ wrapper, and discovered that this involves registering an "application".
Does the wrapper count as an app?
2
votes
1answer
93 views
Top questions/answers
Is there a way to get a list of X questions/answers with the highest votes up, visits, etc?
Say I want to get the list of most voted questions in .NET category (tag) or Java.
Thank you.
6
votes
2answers
344 views
Acceptable Use of Copyrighted Logos/Names?
Are any/some/all of the following considered acceptable use of the site names and logos?
I know that there is no "official policy" yet regarding this, but I figured I would show some examples of what ...
1
vote
1answer
111 views
Why is sort by name reverse alphabetical?
It makes sense that reputation or date should sort descending, but name? I tested both /users and /tags and they sort reverse alphabetical, so Z before A. Is that by design or just a side effect of ...
4
votes
1answer
89 views
api.stackoverflow/0.8/questions now gives answers as well by default?
Up till now the /questions page hasn't given the answers to the question, you'd have to get the question ID and then use that to get the answers to the question. This means the size of the JSON file ...
1
vote
1answer
70 views
Retrieving a post with a specific ID
According to this question (and its answer), questions and answers are using the same index to determine their ID. In other words:
Question with ID #1
Answer with ID #2
Answer with ID #3
Answer ...
0
votes
1answer
30 views
Favorites api gives wrong results when sorted by added
For example, please compare http://api.stackoverflow.com/0.8/users/111391/favorites?sort=added with ...
0
votes
1answer
32 views
help page format issue: revisionGuid
http://api.stackoverflow.com/0.8/help/method?method=revisions/{id}/{revisionguid}
revisionGuid is inconsistent.
revisionguid seems appropriate (and will remove one special case from my api parser).
1
vote
1answer
33 views
help page format issue: missing parameter
/users/{id}/tags is missing id parameter
fixing this will remove one more special case from my parser.