"filter" param broken when using the "video_type" param too

Avatar image for ussbutte
ussbutte

37

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By ussbutte

It seems that when you try to use "video_type" and "filter" parameters in the query string at the same time, the "filter" is ignored, as seen in this example:

http://www.giantbomb.com/api/videos?filter=name%3APersona&video_type=5&api_key=XXX&format=json

However, using "video_type" as a filter instead does work, like so:

http://www.giantbomb.com/api/videos?filter=name%3APersona%2Cvideo_type%3A5&api_key=XXX&format=json

(Maybe this would be better in Bug Reporting, but this is specific to the API so here seemed better.)

Avatar image for frobie
frobie

268

Forum Posts

262594

Wiki Points

0

Followers

Reviews: 0

User Lists: 4

#2 frobie  Staff

@ussbutte: I'll fix that today. But, you should move towards just using it in filter. The separate video_type filter will be removed in the future.

Avatar image for ussbutte
ussbutte

37

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By ussbutte

@frobie: Great, thanks for the quick response! I've updated everything to use the "filter" param now, so I should be safe in the future too.