A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

3
votes
1answer
122 views

What timezone is used in the API?

When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds? To get the current time to pass as ...
2
votes
2answers
196 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
1
vote
1answer
46 views

questions/id is sometimes missing an owner?

Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
2
votes
1answer
99 views

what is the url for a *.stackexchange site's api?

from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website what would be the url for the api for one of these ? e.g. ...
3
votes
2answers
347 views

What is the throttle interval or threshold?

Resolution: I have confirmed that a constant interval of 170 ms will run without error. // 30 per 5 sec = 6 per sec = interval 166.6 ms Soapi.RequestQueue.setInterval(170); ...
5
votes
0answers
82 views

Version 1.0 of the API seems to be here!

It looks like v1.0 of the API is here now! I waited a few minutes for an official announcement, but none came - so here it is! Thanks a million to the team for putting this together!
1
vote
1answer
56 views

Pro Webmasters Meta API not working.

Try this: http://api.meta.webmasters.stackexchange.com/0.9/questions?type=jsontext I can't get it to work, even though it's listed in StackAuth.
5
votes
2answers
256 views

Why does the API lack any POST methods?

Why aren't any POST methods available? Being able to post new questions and answers would be very interesting.
6
votes
1answer
139 views

In the timeline the ability to know what events belong to what question

Take this example: http://api.stackoverflow.com/0.9/questions/3165492;3182016/timeline Would it not make sense to have the question_id as a parameter on each timeline object? It makes the timeline ...
14
votes
2answers
623 views

Why does the API lack (proper) HTTP cache control headers?

I've just read Kevins answer to Do I need API key to use StackAuth API? and been quite surprised that the API doesn't seem to facilitate proper HTTP caching already: You really shouldn't be ...
3
votes
1answer
115 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 ...
2
votes
2answers
128 views

StackApps API is down.

It seems to not be responding to any request. * at least according to downforeveryoneorjustme.com Update: seems like all the SE sites are down :(
4
votes
3answers
266 views

Getting started: What kind of thing can we do with the SE-API that we can't do with the SE Data Explorer?

I want to know if my slender grasp of the latter will help me learn about the former.
2
votes
1answer
257 views

Strange encoding for JSON output

I'm trying to create an R API. Here's some basic code for processing JSON: library(rjson) fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F)) As I look into this, the output of ...
7
votes
1answer
649 views

How to see which users upvoted a question?

I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
7
votes
1answer
159 views

The API v0.9 2010.06.24.002 as seen by SOAPI

Stack Overflow API as seen by the SOAPI parser and code generator: With the API freeze, changes to the vast API should slow to a trickle, making manual maintenance possible. At this milestone, I have ...
0
votes
1answer
276 views

What's the best way to mashup a social network with StackOverflow?

I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
0
votes
2answers
76 views

Scratch Pad Wiki Question

This q is for use by anyone who needs to modify, add or delete an answer or to modify the q to update the last_activity field. Leave this description, but otherwise have at it.
1
vote
0answers
214 views

Are the Open Data Protocol (OData) endpoints considered to be part of the API? [closed]

The official introduction of the phantastic Stack Exchange Data Explorer (SEDE) made me wonder how the implied Open Data Protocol (OData) endpoints relate to the API? Obviously there is great overlap ...
0
votes
1answer
54 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 ...
5
votes
0answers
79 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
2
votes
1answer
45 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 ...
3
votes
1answer
1k views

SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight

I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding') Should we expect, in the 1.0 ...
2
votes
2answers
91 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, ...
8
votes
0answers
587 views

SOAPI-REST: Complete Stack Overflow API specification in machine readable format

SOAPI-REST Services At four hour intervals, SOAPI-WATCH parses the complete Stack Overflow API documentation and generates a complete object graph representing the API including all routes, ...
5
votes
1answer
130 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 ...
1
vote
1answer
89 views

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 ...
5
votes
3answers
167 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
2answers
56 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 ...
1
vote
3answers
159 views

What is the best way to provide support for an unknowable number of StackExchange sites?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
3answers
138 views

API not returning anything near the actual website

The API /questions page is not returning anything like the list of questions on the actual SO site. This is the first question of the 0.8/questions { "total": 705769, "page": 1, "pagesize": ...
2
votes
1answer
96 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.
1
vote
1answer
69 views

/users/{id}/tags - broken

looks like touching the id parameter description broke the internet. http://api.stackoverflow.com/0.8/users/242897/tags should/was working 6/1/2010 -1:11AM - working
2
votes
1answer
122 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
1answer
71 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
82 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
1answer
55 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
2answers
83 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
1answer
35 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
3answers
86 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 ...