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'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
add comment

migrated from stackoverflow.com Jun 14 '13 at 19:22

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

1 Answer

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
add comment

You must log in to answer this question.