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.
858
questions
4
votes
1
answer
183
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 ...
4
votes
1
answer
114
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 ...
3
votes
1
answer
98
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
...
3
votes
3
answers
146
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]
------------------------------------------
...
3
votes
3
answers
280
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.
...
3
votes
2
answers
178
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.
...
3
votes
2
answers
102
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.
...
3
votes
3
answers
248
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 ...
3
votes
1
answer
235
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
1
answer
95
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 ...
4
votes
2
answers
424
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 ...
8
votes
0
answers
223
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 (...
5
votes
1
answer
165
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
5
answers
4k
views
Get user data using curb/Curl in Ruby
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
data_obj = ...
4
votes
0
answers
71
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 ...
4
votes
2
answers
147
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. ...
5
votes
2
answers
2k
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
2
answers
301
views
Post questions using API [duplicate]
Can I use the API for posting any question to Stack Overflow? I have a internal SharePoint site and whenever anybody has got any technical question they post it here. I want to post it automatically ...
7
votes
3
answers
321
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.
...which ...
3
votes
3
answers
3k
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
2
answers
99
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
2
answers
256
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
1
answer
544
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
1
answer
53
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 ...
0
votes
2
answers
104
views
SOFU/ SE Reputation Aggregator
Is there an app that aggregates all my SOFU/SE reputation, badges in one single place?
I'm going to love it.
2
votes
1
answer
139
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. mysite.stackexchange....
1
vote
1
answer
61
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 apps ...
12
votes
1
answer
331
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
3
votes
2
answers
146
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
151
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
223
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
46
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
290
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
159
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
94
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
97
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
252
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
718
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
166
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
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
111
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
127
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 ...