Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I've created a filter based on the "none" filter with include fields for all those I will need for my application. While the filter I created looks fine to me, it doesn't appear to return any results against any of the API endpoints I use: sites, questions, or users.

Since I barely use what is sent back, I would love to get filters working. Am I missing some core concept to getting filters to work?

share|improve this question
    
Try visiting this page and carefully examining the URL used to make the request. –  Nathan Osman Jan 11 '12 at 22:56

1 Answer 1

up vote 1 down vote accepted

You're not returning .items, which contains the objects that have the fields you want back.

When you include it you get !*QjqSxwBvapC)EVC)JW_Vhi*w4jvF.WzEYmxBpMaH, which does return values for /sites, /questions, and /users.

share|improve this answer
    
Well, I feel stupid now. Thank you so much for taking the time to get me going in the right direction. That ought to cut down the data over the wire for my app quite a bit. BTW, I absolutely love this concept in an API. –  patridge Jan 12 '12 at 3:28
    
On a slightly unrelated note, these filter-included URLs don't work with markdown directly (had to shorten them first). I put it on meta, but I am guessing it's by design for some of the funky characters they include. –  patridge Jan 12 '12 at 3:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .