Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a filter by following the documentation, but a few things are quite unclear:

  1. How do I create a filter that does not have a base filter?

  2. I'm creating a filter without a base so I can only fetch certain fields, but the responses have no data at all. What am I doing wrong?

  3. I'm trying to include or exclude multiple fields in a filter. What's the delimiter?

share|improve this question

migrated from Jun 14 '13 at 19:22

This question came from our site for professional and enthusiast programmers.

I have experimentally determined that:

  1. The base parameter must be passed a value of none to create a filter without a base.

  2. Fields in the default wrapper object can be filtered; you must include .items in your filter to receive any data from inside it. (The base filter does; this is why filters with a base don't have this problem.)

  3. This is technically a vector parameter; so, as with all vectors in the API, the delimiter is ; (U+0003B SEMICOLON).

share|improve this answer

You must log in to answer this question.