Questions tagged [support]
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.
862
questions
2
votes
0
answers
82
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
112
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
23k
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
129
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
350
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
305
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
2k
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
121
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
115
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
349
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
166
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
519
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
260
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
109
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
48
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
53
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
87
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
97
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
592
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
145
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
171
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
127
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
208
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
172
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.
3
votes
3
answers
171
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
3
answers
149
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": 30,...
3
votes
2
answers
103
views
What will be rate-limit of two different applications with two valid API keys from same IP?
What will be the effective rate limit of two different applications with two valid API keys from the same IP address?
Will it be whatever only one of the keys can use? So maximum 10k?
Will rate-limit ...
1
vote
1
answer
75
views
Can we have all possible closed reasons in help page?
Can we have all possible closed_reasons in help page and if possible, closed_reason_id, too?
For example
closed_reason_id=1, closed_reason="exact duplicate",
closed_reason_id=2, closed_reason="off-...
2
votes
3
answers
150
views
display_name isn't always there (should have OpenID name if needed)
usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the 0....
1
vote
1
answer
81
views
Post body is optional field in questions method?
"body": {
"description": "body of this post",
"values": "string",
"optional": true
},
Post body is optional field in questions method? Shouldn't all the posts have body field?
2
votes
1
answer
40
views
Can API stats return real revision number instead of 1234.5678?
Currently it returns like this
"revision": "1.0.1234.5678"
And looks like that number never changed.
So, Can API return real revision number whenever there is an update?
It will be very useful ...
1
vote
1
answer
64
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 ...
1
vote
1
answer
175
views
I can't get a response for /questions/{id} in Chrome Extension
I'm writing a Chrome Extension that queries the API. Using jQuery, I have the following code called from my background page:
$.ajax({
url: 'http://api.stackoverflow.com/0.8/questions/' + id
,...
3
votes
2
answers
422
views
What is the correct way to get the stackoverflow.com URL for an answer via the API?
A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
2
votes
1
answer
57
views
/users/{id} and /users/{id}/timeline - filter parameter?
Both /users/{id} and /users/{id}/timeline say they take a filter parameter for users' names, but it seems to do nothing. Are they not supposed to be there?
15
votes
4
answers
274
views
Prevent that posts tagged with app or library enter Community Wiki mode when the owner edits it 8 times
I've edited my App 8 times and my question has switched automatically to Community Wiki (I'm aware that it's reported in the faq).
The main reason of these many edits is my shaky english, but I can ...
3
votes
2
answers
74
views
Inconsistency in the handling of multiple IDs with a duplicate
There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists.
Duplicate ID is significant
For example, when requesting a timeline of multiple ...
4
votes
1
answer
113
views
Confirmation on sort, order and min/max
I'd like confirmation, if possible, that the following chart of sort types is correct:
sort |orderable|min/max |min/max type
------------------------------------------
activity | yes | ...
6
votes
2
answers
413
views
Odd String Format Result from API Call
I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key).
WebClient stackClient = new WebClient();
...
8
votes
1
answer
447
views
API Key limit 10k is Per IP Address or Globally?
Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key.
When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
2
votes
2
answers
114
views
Slow response times?
I'm working with the API, but I noticed requests are quite slow. Each request seems to take between 8-11 seconds. I timed different requests and the time doesn't seem to differ much between search and ...
7
votes
2
answers
1k
views
Am I accessing the API correctly?
When running the code
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get the error
Failed to load resource
Am I accessing this ...