A question about how the API returns questions.

learn more… | top users | synonyms

23
votes
1answer
374 views

Duplicate Question Suggestion Boxes

Screenshot About Duplicate Question Suggestion Boxes is a UserScript for any Stack Exchange site that makes it extremely simple to check for duplicate questions for a post. In the left side ...
8
votes
2answers
128 views

Filter SE questions by votes, views and rep

(Chrome only) v1.2    Find good questions to answer. The script will filter questions in real time, in all Stack Exchange sites questions pages, hiding them by score, ...
7
votes
1answer
147 views

Are apps created from the CC data dump ok to add?

I've created a few apps in the past using the CC data dumps that I can't move over to the API at this point. It seems like the stackapps site is meant to be the place to find apps for Stack Exchange ...
7
votes
0answers
517 views

List of example questions

Since it's hard to find examples of questions with various attributes, maybe we can turn this into a reference? Here's the problem: I want to try out the locked_date attribute in one of my apps, but ...
6
votes
1answer
204 views

Why these questions do not have a title?

Hitting the following /questions route: http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1 the endpoint returns this JSON data: { "total": 1, "page": 1, "pagesize": 1, ...
6
votes
0answers
157 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
5
votes
1answer
95 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 ...
5
votes
1answer
37 views

Using OR with featured questions

My question is similar to: Getting questions that have a specific tag or tags? What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following: ...
5
votes
1answer
78 views

The tagged parameter does not work with multiple tags

Take these two API calls: http://api.stackoverflow.com/0.8/questions?tagged=php;rant http://api.stackoverflow.com/0.8/questions/tagged/php;rant A couple of problems: Shouldn't they return the ...
5
votes
0answers
229 views

Format a list of questions

The following quickie command line application formats a list of questions obtained from search results. Requirements: Perl, JSON Usage: Retrieve a list of questions from the API (from the ...
4
votes
0answers
29 views

API response doesn't indicate the nature of a rejected question POST

I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data. When I do this on ...
3
votes
1answer
87 views

Are we going to get a Protected Date field in Question responses?

Now that questions can be marked protected, will this info be available via the API?
3
votes
1answer
28 views

How can I access all questions asked by an arbitrary user?

Within the web app for courses I organize, I'd like students to be able to provide their Stack Overflow username, so that we can pull in their most recent and unanswered questions. This information is ...
3
votes
1answer
95 views

Problem getting a users questions within a date range

I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
3
votes
0answers
55 views

Looking for an application which alerts about new questions under a particular topic

I've installed StackApplet, but it only tracks the reputation of a particular user. Is there an application which tracks new questions under a particular topic, and notifies (in system tray) when ...
3
votes
1answer
42 views

Elections nominations posts not showing up in API

I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...
3
votes
0answers
252 views

Newest unaswered by tags

Screenshot About Often, when I was looking for questions to answer on StackOverflow, I would go through newest unanswered questions and look for those that had one of my favorite tags. The “my ...
2
votes
1answer
233 views

Retrieving list of c# questions

I am trying to retrieve list of c# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#". But I get JSON response related to c questions. Response : { "total": ...
2
votes
1answer
1k views

Get questions content from StackOverflow API

I need to get the question content from StackOverflow site. I already built the functions that parse the HTML for a question, and return me the question content. But, I found that there is an API, ...
2
votes
1answer
26 views

Getting display name of the site on which question is located

When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
2
votes
2answers
62 views

How to set the width of an image in the body of a question?

I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or ...
2
votes
1answer
31 views

Error retrieving question using a filter that includes question.notice

I have created a filter to include the question.notice field. It seems to be OK as returned by https://api.stackexchange.com/2.1/filters/-9xc1l%2Au-JEsf_Q Then if I want to fetch this question using ...
2
votes
1answer
114 views

How to check if a given question is changed

What is the fastest way to check if a question is changed using the API calls? For my purpose (a cache), a question is considered changed if: A new comment is added to the question or to any of its ...
2
votes
1answer
184 views

Add 'linked' question data to the API

SE sites show linked questions on the right column. It would be great to add an array of ids to the question response called 'linked'. Example Linked Question
2
votes
1answer
58 views

Oddity with migration data from questions

Take a look at this question on SuperUser. Apparently, it was migrated from ServerFault, and was originally asked by user 3d1l. However, now look at the API result: ...
2
votes
3answers
106 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 ...
2
votes
0answers
19 views

Sorting and filtering is broken on /questions

Sorting error When querying /questions and sort them by creation in descending order, the creation_date drops very rapidly. I was looking for questions in the [php] tag on Stack Overflow. There are ...
2
votes
0answers
104 views

OverflowMonthly

Screenshot / Code Snippet About OverflowMonthly is a monthly collection of the most popular questions on the Stack Exchange Network,published as ebooks(pdf and kindle format). People can now ...
2
votes
0answers
35 views

How should I understand “timeline_type”: “votes” record in question timeline?

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 ...
1
vote
1answer
129 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 ...
1
vote
1answer
133 views

Question's title attribute is not HTML encoded

Question's title attribute is not HTML encoded. Examples: http://api.stackoverflow.com/0.8/questions/456815?body=true&answers=true title: "Problems with HTML <marquee> tag" ...
1
vote
1answer
114 views

Non-verbatim search strings in py-stackexchange

Hello, I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u ...
1
vote
1answer
101 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
1
vote
2answers
53 views

Unanswered questions API does not work

The /questions/unanswered API returns the full list of questions (same as /questions).
1
vote
1answer
18 views

`last_editor` is missing but `last_edit_date` is present?

Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner? Example: stackapps.com/a/3891/ PS: This issue ...
1
vote
1answer
45 views

desktop alert with notificatons whenever a favourite tagged question will be asked

I am using Firefox browser and Ubuntu13.04. I am looking for an app,which will create a desktop alert with sounds,whenever any question included with my listed tags in my favourite list will be asked ...
1
vote
1answer
27 views

Questions returned by /questions/{ids}/related do not contain link properties

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
1
vote
1answer
19 views

Can I get the FAQ ordering via the API?

StackExchange sites have a feature to order by FAQ, e.g.: Screenshot This is in fact an ordering by the number of related questions and often produces very nice results. Can you get that ordering ...
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 ...
1
vote
0answers
65 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
1answer
32 views

I could POST a question but it does not have a `question_id` and it does not show up in my account

I could successfully create a question for my StackApp and I got this response (NSDictionary output): { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
0answers
42 views

Why is there a difference between “questions” and “search” in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: ...
1
vote
0answers
174 views

Real time questions for any Stack Exchange site

Screenshot / Code Snippet About This script provides real time updates and filtering of active questions for all SE sites. Shows active questions in real time Filter by favorite tags Filter ...
1
vote
1answer
37 views

Looking for Bookmarklet to Create a Question

I want to build a small bookmarklet which can take the selected text and send it to Stack Overflow to create a new post containing the selected text. Also get a unique id or something that helps to ...
1
vote
1answer
19 views

Sort ranges on /questions/unanswered is broken

The following API request should return all unanswered questions with a score of at least 30: http://api.stackapps.com/1.1/questions/unanswered?sort=votes&min=30 However, the response ...
0
votes
1answer
34 views

Are the “body”, “comments” and “answers” parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
0
votes
1answer
83 views

Questions with accepted answers

I know that you could technically loop through the answers returned when you ask for /questions/{id} to see if an answer has been accepted, but it would be AWESOME if there was a top level boolean ...
0
votes
2answers
63 views

Ajax get questions by tags ERROR

i'm trying getting questions by tags. this is my simple code and i'm running this from my http://localhost: <script type="text/javascript"> $(function(){ $.ajax({ ...
0
votes
1answer
35 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
0
votes
1answer
72 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...