Questions about the creation, manipulation, and usage of Filters - which were introduced in v2.0 of the API.

learn more… | top users | synonyms

2
votes
0answers
22 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
0
votes
1answer
15 views

How can I create a filter from scratch using filter/create?

I want to create a filter from scratch to get just the information I can use: error_id quota_remaining api_site_parameter The first two are part of the wrapper and the last is part of .items, so I ...
0
votes
1answer
40 views

API returns the last activity date even if asked not to

Using the /questions method, I tried to get upvote and downvote counts, along with question Ids. This is the request I sent: ...
3
votes
1answer
62 views

How to strip out certain fields from the Stack Exchange API, JSON response?

I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path: /2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow But it is ...
2
votes
1answer
84 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
1
vote
1answer
157 views

How to get Question/Answer body in the API response using filters?

I am looking through the API documentation and i am confused how to make a call with filters. I am specifically looking for get the question /answer body back. Is it possible. Could not find any ...
1
vote
1answer
25 views

Answer up/down vote count not being returned in filter

As the picture shows, the up_vote_count and down_vote_count answer properties are selected but not returned. What gives?
2
votes
1answer
30 views

question_id missing from migration_info for this question.

Consider the following API request: http://api.stackexchange.com/2.0/questions/3064?site=stackapps This question was migrated from Stack Apps to Stack Overflow. However, the migrated_to field is ...
3
votes
1answer
45 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
2
votes
1answer
63 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, ...
0
votes
1answer
31 views

How do I get a filter to let through the fields I specify?

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 ...
5
votes
1answer
52 views

filter=total is returning 0?

I'm running a very simple (and contrived) call of: http://api.stackexchange.com/2.0/users/115730?site=stackoverflow&filter=total I'm expecting a response of: {"total":1} But am getting a ...
2
votes
0answers
33 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
1
vote
2answers
40 views

How about a regex filter in the tags API?

The tags API has a "filter" parameter but it only matches the exact substring in the parameter in the tags. On Travel we have one kind of tags, IATA airport codes (SYD for Sydney, SFO for San ...
4
votes
1answer
131 views

Certain users aren't showing up in /users when filter is applied

NB: The filter parameter in v1.x of the API had a different meaning to the filter parameter in v2.0 Consider the following query: http://api.stackoverflow.com/1.1/users?filter=jon%20skeet ...
3
votes
2answers
101 views

Can I filter Users by reputation or up_vote_count using the API?

Howdy, Is it possible to do API calls that pull back all users with, say, > 10,000 reputation? Or up_vote_count, etc. The advanced search page implies that we should use third-party search engines. ...
2
votes
1answer
119 views

How to mimic search behavior of Stack sites?

I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this? Filter by tags if all words (how exactly is this detected?) in the query are tags. ...
1
vote
1answer
89 views

Filter support for regex or wildcards

Filter would be significantly more useful it it supported Regex or wildcards. Ideally under a different parameter. Wildcard could be with the * or the %. This would allow for "starts-with" or ...