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.
2
votes
1answer
137 views
Which nested objects and arrays are optional?
I am handcrafting a JSON Schema for the API, and there is some meta missing from the nested 'returns' objects and arrays.
The relevant information I need is:
if it is an array, can it be undefined ...
1
vote
1answer
182 views
api.stackoverflow.com down?
I am currently getting errors when trying to access the stack overflow api. I have tried others (superuser and serverfault) and they seem to work. Is this by design or did the api unintentionally go ...
2
votes
1answer
87 views
stackapps favicon inconsistent rendering
A lot of us are using the favicon in our apps as it is a quite convenient size.
It seems that IE does not like the stackapps favicon palette and renders the background black.
While I do cache the ...
1
vote
2answers
112 views
How to access the text of the page returned using curl?
This is what curl http://api.stackoverflow.com/1.0/users/113124/favorites returns
...
2
votes
2answers
64 views
How can I see the next page of favorites using the SO API?
http://api.stackoverflow.com/1.0/users/113124/favorites
only shows me 30 favourites. How can I see the rest?
2
votes
2answers
153 views
SOAPI data fails on WP7
Im trying to simply get all of the recent questions using Windows Phone 7.
But I keep getting an ObjectDisposedException
My Code is not complicated:
public void BeginGetAllRecentQuestions()
{
...
3
votes
2answers
487 views
Silverlight download JSON from API fails
I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish.
Here is my code:
public void ...
1
vote
1answer
87 views
Are there any hi-res versions of SO logo that we can use in our apps?
I'd really like either multiple sizes (from icon up) or hi-res or best of all a vector version. I want my app to look as good as possible and I'm sure SO would want to be well represented.
3
votes
1answer
159 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": {
...
6
votes
3answers
576 views
How do I find a user based upon email hash?
I'm looking for specific guidance on how to locate a user on SO by email address. I'll use this information to work with the API and determine how many points they have on the site.
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?
3
votes
1answer
101 views
4
votes
2answers
354 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)?
2
votes
1answer
69 views
What exactly is the 'user' on a post_timeline?
What exactly is the 'user' on a post_timeline?
I am assuming that it is the user responsible for the action, if not the user, but I cannot be sure as the JSON structure used to document the results ...
2
votes
1answer
135 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
93 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
81 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.
4
votes
0answers
177 views
Announcement: StackExchange API Development Wiki
RIP August 24, 2010 - April 26, 2013
Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is ...
2
votes
3answers
285 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
97 views
how do i fetch questions one by one
I want to fetch all questions one by one ( starting from the latest )
How would i do that ? I cannot go off of question id ( because they dont seem sequential )
May be i can use page or pagesize ...
2
votes
1answer
124 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 ...
2
votes
1answer
100 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 ...
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
120 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
197 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
147 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
88 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
3answers
178 views
How to monitor API version and site state
I want to make an application in which the used API will automatically be updated when a newer version is released. What is the procedure to check if a newer version is available or not?
How can I ...
2
votes
1answer
194 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 ...
2
votes
1answer
85 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
186 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 ...
6
votes
0answers
98 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 ...
2
votes
1answer
110 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 ...
0
votes
4answers
768 views
Get user data using curb in Ruby
Hello,
I am trying to get user data in my Rails app.
I am doing this:
url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext"
curl = Curl::Easy.new(url_so)
curl.perform
...
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 ...
3
votes
2answers
86 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. ...
4
votes
2answers
652 views
API compliant request throttle implementations
Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling.
This post is meant to be a repo ...
0
votes
0answers
42 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 ...
1
vote
2answers
153 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 ...
7
votes
3answers
302 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.
...
1
vote
3answers
439 views
Possible Gzip or data format problems when trying to read JSON.
This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
2
votes
2answers
84 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 ...
3
votes
2answers
182 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
294 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?
1
vote
1answer
45 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
90 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. ...
1
vote
1answer
47 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
100 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
125 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
31 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
...