Two questions on volumes & filtering

Avatar image for perezmu
perezmu

31

Forum Posts

10156

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hi, I have two, I guess basic questions,

1) What is the difference between "Series" and "Volumes"

2) I am trying to filter all Marvel volumes (Marvel publisher id=31). I wonder why this does not work, it returns all volumes without filtering:

http://beta.comicvine.com/api/volumes/?api_key=[...]&field_list=name,id,publisher&filter=publisher:31

Avatar image for cbandes
cbandes

20

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2  Edited By cbandes

I think you have to put the field_list inside your filter

filter=field_list:name,id,publisher;publisher:31 (not sure about that semicolon)

Avatar image for donfelipe
DonFelipe

2373

Forum Posts

129833

Wiki Points

0

Followers

Reviews: 6

User Lists: 8

@perezmu It doesn't work like this because "publisher" is an array consisting of 3 fields (api_detail_url, id, name) hence "publisher:31" is not a valid filter and will be ignored by the API then. In fact, not all fields can be used for filtering and sorting when using the resource "volumes" and other resources; this is documented here.

Not being able to filter and sort volumes (or issues) by publishers and start_date is quite annoying!