You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.

learn more… | top users | synonyms

3
votes
1answer
174 views

/search method, returning the body of the questions

Probably this is a documentation fault. For the search method, the parameter list doesn't say anything about an optional body, but looking at the Returns description shows: "body": { ...
1
vote
2answers
99 views

Can the API return info re “new replies” icon?

I would like to be able to query the status of the "new mail" icon that shows whether there is new comments or favorites activity. Is this possible?
5
votes
2answers
391 views

Is there a Stack Exchange icon available?

StackAuth /sites route provides all the site's icons except for the one of the Stack Exchange master site. Could you please provide it in some way (a static SVG would be good)?
4
votes
1answer
106 views
2
votes
1answer
139 views

are clientaccesspolicy.xml and crossdomain.xml excluded from throttling

These files are requested by the user agent as needed and the programmer has no knowledge or control over these requests. The abuse potential connected with these files is nil(?) It seems that it ...
1
vote
1answer
94 views

api performance slow

this query takes ~30 seconds. Seems abnormal to me http://api.stackapps.com/1.0/users/14/questions?pagesize=100&answers=true&body=true&comments=true&page=1
2
votes
1answer
87 views

Maximum tag name length?

Does this exist? Or it is again just the "suggested size" with no hard limits? Im trying to figure out how to best store them in a database.
2
votes
3answers
289 views

-430 rep - why?

I just lost 430 rep. from 6777 earlier today to 6347. This seems to be localized to my account only. Why?
2
votes
1answer
127 views

Why have recent dev-tip posts been forced into community wiki without explanation despite ongoing community self-regulation?

Preface Please note that this question is neither about community wiki nor reputation, rather about acceptable moderation, (to stress that I've made it community wiki in itself). Therefore I need to ...
3
votes
2answers
101 views

Can I filter Users by reputation or up_vote_count using the API?

Howdy, Is it possible to do API calls that pull back all users with, say, > 10,000 reputation? Or up_vote_count, etc. The advanced search page implies that we should use third-party search engines. ...
1
vote
1answer
87 views

How to generate a list of users ranked by bug report submissions.

The use case is to generate a list of bug report submissions, grouped by User, of the following counts in descending order: bug bug + status-completed bug + status-deferred bug + status-bydesign ...
2
votes
3answers
124 views

How to generate a list of users ranked by activity (question or answer count).

The use case is to generate a list of users ordered by activity, i.e. question_count or answer_count. e.g. total_(questions|answers) display_name [user_id] ...
2
votes
3answers
215 views

How to calculate a list of users ranked by question favorite count totals.

The API provides methods to sort and filter individual questions by favorite count. In order to calculate the question favorite count totals per User, some grouping and set operations are required. ...
2
votes
2answers
157 views

How to calculate a list of users ranked by question score (votes sum) totals.

The API provides methods to sort and filter individual questions by score. In order to calculate the question score (votes sum) totals per User, some grouping and set operations are required. e.g. ...
2
votes
2answers
91 views

How to calculate a list of users ranked by question view count totals.

The API provides methods to sort and filter individual questions by view count. In order to calculate the question view count totals per User, some grouping and set operations are required. e.g. ...
2
votes
1answer
101 views

How to retrieve notifications for a given user.

There seems to be a few of these "dev-tips" so I'll share a problem I have. To notify a user of comments directed to them, we use the users/{id}/mentioned method. However, notifying a user of ...
2
votes
1answer
198 views

What are the mechanics of private API beta badge/reputation rewards?

Update: George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...
7
votes
3answers
304 views

When does the judging take place?

I am planning to work some more on my apps tomorrow and get some last minute changes implemented. However, I notice that: The API Contest winners will be picked the first week of August. ...
2
votes
1answer
88 views

What constitutes 'active participation' in the private API beta?

In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
3
votes
2answers
243 views

Is Stack API blocking Yahoo YQL services?

I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups. Unfortunately, it ...
7
votes
0answers
117 views

suggest add favicon.ico to api endpoints

It will reduce 404 entries in your logs and in our browser based fiddler results. Cheap, easy, fast. GET /favicon.ico HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 ...
4
votes
1answer
124 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 ...
3
votes
0answers
63 views

recommended buffer size for markdown fields is conservative

I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000. So I redefined to nvarchar(max), pulled all users in the stack ...
0
votes
0answers
44 views

api domain object unique keys

For those who wish to maintain object graphs or to persist api domain objects authoritative documentation of the field(s) that define a unique key for the object would be of value. Some are obvious ...
5
votes
2answers
212 views

Url length limits have been increased

There's been some grumbling in the past about the unreliability of really ludicrously long URLs sent to the API. We've always considered this suboptimal, but the underlying technical constraints ...
1
vote
2answers
184 views

Post questions using API [duplicate]

Possible Duplicate: Is there an api to post questions without using the websites interface? Can I use the API for posting any question to StackOverflow? I have a internal sharepoint site ...
2
votes
2answers
85 views

Will I be able to update the (optional) application icon after registering an application?

The Register Your Application form allows for the (optional) submission of an application icon. Presumably this can be updated after registration via Manage API keys? I'd be surprised if not, of ...
2
votes
2answers
200 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
386 views

Copying CSS from stackoverflow for use in an app?

Is it ok / legal / allowed to copy some of the styles from stackoverflow / serverfault / etc. for use in a stack app?
3
votes
3answers
157 views

Negative voting questions?

I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO. I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
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
100 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. ...
5
votes
0answers
138 views

How to get the count of a query efficiently

To get the count of a query without returning results, simply specify pagesize=0. http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0 { "total": 1161, "page": 1, ...
1
vote
1answer
48 views

How will the popularity of hosted apps be determined?

In the contest blog post: We will look at the number of requests for your API key. Was your application used by a lot of people? Or at least a reasonable amount? How does this work for ...
3
votes
2answers
119 views

URL Format: Special Characters

I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C". Code Poet's SOAPI javascript formats the route thusly: ...
1
vote
5answers
128 views

Using meta.stackoverflow.com as a support channel for a stackapp?

Is it okay to recommend using meta.stackoverflow.com as a support channel for stackapp I've written. For example, say I had been the person who wrote StackPrinter, on the bottom of the home page ...
2
votes
0answers
33 views

/users/questions with content is very latent

I am seeing response times of up to 30 seconds for a page of 100 questions. http://api.stackapps.com/1.0/users/14/questions?answers=true&body=true&comments=true&page=1&pagesize=100 ...
4
votes
2answers
229 views

When does a rate-limit day start and end?

After reading the docs/faqs, I couldn't help but wonder... What exactly is a day? When does it start? When does it end? What timezone are you using? In other words, when my app runs out of ...
0
votes
0answers
65 views

What time are rate-limits reset? [duplicate]

Possible Duplicate: When does a day start and end? In the interest of properly scheduling cron events towards the end of the rate-limit 'day' in order not to starve out interactive users it ...
1
vote
1answer
102 views

Announcing Apps to the Public

I believe this has been discussed before but I can't find the question/answer so I'll ask it officially here: Now that v1.0 is released, it's OK to announce our apps to the general public, correct? ...
5
votes
1answer
94 views

Getting questions with multiple tags

http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but http://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And ...
3
votes
2answers
362 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); ...
4
votes
2answers
216 views

rate-limit per endpoint per IP VS. server apps in hosted environments

I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites. As I understand the rate-limit as it stands, every site on ...
0
votes
1answer
39 views

how/when is rep_change updated?

I am trying to determine the most efficient way to keep a user's rep_change history updated and need some guidance. Here are a few assumptions that I am inferring from the available information: ...
0
votes
0answers
398 views

Issue with using Fiddler as a Proxy

I'm starting to add built-in support for StackOver to the OWASP O2 Platform, and just noticed that there is an issue with using the C# API with Fiddler. It seems that the problem happens when Fiddler ...
3
votes
2answers
338 views

The API Key does not work

I have registered an app at http://stackapps.com/apps/register, got a Key right away after I have submitted. But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
3answers
148 views

Injecting HTML Into A Stackexchange Site

I am writing an application that injects some HTML into the page. I was wondering what the policy is for this. Is it ok or generally frowned upon?
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 ...
0
votes
1answer
49 views

Fetch questions from offset?

I want to fetch questions from a certain offset. Not a minimum creation date, just an offset index, independent of the sort and order I'm using. How can I do this? Is it possible at all? ...
4
votes
1answer
74 views

What is the rational behind the chosen /sites styling info?

I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information. "styling": { "link_color": { ...