All Questions
Tagged with stack-exchange or support
880 questions
3
votes
2
answers
150
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:
http://api....
1
vote
5
answers
158
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
0
answers
35
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
...
6
votes
2
answers
230
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
1
answer
108
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?
...
0
votes
1
answer
47
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:
the ...
4
votes
2
answers
326
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 ...
5
votes
3
answers
164
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?
0
votes
1
answer
54
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?
Page/...
4
votes
2
answers
2k
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);
Soapi....
5
votes
1
answer
100
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": {
...
2
votes
1
answer
101
views
Stack Exchange site layout question
I noticed that the new SE sites all have the same layout and the same image. When will these things be changed? I don't want to support these sites in my application, StackTop, until I know the icon ...
1
vote
1
answer
106
views
How to control vote count for individual user?
How do I find if user has already voted for a particular question/answer?
2
votes
2
answers
261
views
Do I need API key to use StackAuth API?
StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request.
At this stage I am passing my API key just ...
3
votes
0
answers
108
views
How the apps-libraries will be judged for the contest?
Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
15
votes
4
answers
726
views
Version 1.0 released 9th of July
For a lot of us, that would be next Friday.
At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release.
There are no expected interface changes ...
3
votes
1
answer
137
views
How to mimic search behavior of Stack sites?
I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this?
Filter by tags if all words (how exactly is this detected?) in the query are tags.
...
6
votes
0
answers
177
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,
"...
2
votes
0
answers
83
views
Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?
I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags:
They seem to simply filter down ...
3
votes
1
answer
116
views
Eligibility for the competition?
I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
19
votes
2
answers
25k
views
Why Content-Encoding gzip rather than Transfer-Encoding gzip
The API responses are returned in gzipped format. But by using Content-Encoding gzip, the burden of unzipping is on the user of the API. On the other hand if the server uses Transfer-Encoding gzip, ...
3
votes
1
answer
136
views
when/if/how/why do non-trilogy Stack Exchange sites aquire/provide API access
So I am looking at http://mathoverflow.net, trying to blow some cobwebs out of the dark corners of my brain that used to house some not-insignificant abilities and found myself wondering about API ...
4
votes
1
answer
357
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 ...
2
votes
1
answer
322
views
Best way to calculate total badge count in Javascript?
I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries).
At first I naively added up the badge counts individually, but some user's have no badges....
11
votes
1
answer
3k
views
Should we add a "this site is not affiliated to Stack Overflow.." disclaimer to our website app?
I've checked legal section but it does not say anything specific of this aspect apart from:
Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
2
votes
2
answers
73
views
Why do some ranges have so many values?
Why do some ranges have so many values? For example:
[0, 2,147,483,647]
0
votes
1
answer
78
views
What characters won't be in question->body?
This might seem kinda strange, but what printable ASCII characters am I guaranteed not to find in the body member of a question / answer?
2
votes
3
answers
126
views
Ideas for dealing with this pagination problem?
Okay, here is the problem:
Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on?
Any suggestions ...
9
votes
1
answer
1k
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 ...
0
votes
2
answers
116
views
Would the following image be allowed?
In the guidelines for using the SE logos, it says:
Do not distort or alter our logo in any way
Does the following logo do that?
0
votes
1
answer
352
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 ...
9
votes
1
answer
167
views
Where did the "apps" tab disappear?
I may just be missing something, but there used to be an "apps" tab on the main page, which showed you a (sorted by vote) list of all the apps and libraries.
I can't find it anymore. Where did it ...
5
votes
0
answers
541
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
6
votes
4
answers
264
views
My App unintentionally DoSed api, and my IP got blocked across all the sites, now what should I do?
I put a program in cron to run every 5 minutes, and that program loop 5 times and read each api site 12 seconds interval.
But last night (12 hours ago), I noticed that my program broke and there was ...
7
votes
0
answers
119
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
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 ...
1
vote
0
answers
54
views
OBSOLETE - How should I understand "timeline_type": "votes" record in question timeline? [closed]
Take a look at the partial results of this query:
{
"timeline_type": "votes",
"post_id": 2544061,
"creation_date": 1269993600,
"owner": {
// omitted for brevity
},
"action": "7 ...
3
votes
1
answer
2k
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 ...
1
vote
0
answers
71
views
What's the default fromdate for the /users/{id}/reputation route?
I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0
votes
1
answer
89
views
Can I change my user profile using the API?
It seems the API just allow me to retrive public information, but... is it possible to change, for instance, my "about_me" information using the API?
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,
"...
6
votes
1
answer
664
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
1
answer
151
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 ...
21
votes
5
answers
1k
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 ...
12
votes
1
answer
177
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). I'...
2
votes
1
answer
5k
views
jQuery Ajax calls return null
When I enter the API URLs into my browser they work, but when I try from jQuery they just return null. When I open the HTML below, all I get is an alert that says null, despite the fact that Firebug ...
6
votes
1
answer
128
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 ...
7
votes
1
answer
1k
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
3
answers
222
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 ...
3
votes
4
answers
176
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.