0

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?

1
  • Try visiting this page and carefully examining the URL used to make the request. Commented Jan 11, 2012 at 22:56

1 Answer 1

1

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.

2
  • 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
    Commented Jan 12, 2012 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
    Commented Jan 12, 2012 at 3:32

You must log in to answer this question.

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