Any way to specify what fields I want back in my response?

Avatar image for funnyman22
Funnyman22

43

Forum Posts

179

Wiki Points

0

Followers

Reviews: 3

User Lists: 4

#1  Edited By Funnyman22

So I've come to terms with the fact that filters for things other than limit and offset aren't yet implimented, but I'm curious about whether there's a way to specify EXACTLY what fields I want in the reponse.

For example, if I can't  filter a characters List Resource by name, is there any way to just get back ONLY the name of every character returned? That would ensure the XML file size is small and I'd have control over geting only the information I want.

I'm hoping this is already implemented (seems pretty straightforward), and it seems like it wouldn't hammer your DB servers the way filtering by name would... 

At a minimum I think it's a valid feature request for the API.
Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#2  Edited By andy

Very valid request.  We talked about this before launch and decided it was a good feature, but we wanted to get what we had out.  I'll go ahead and add it (and update the docs).  Look for it in a day or two, along with some other updates.

Avatar image for theadmin
TheAdmin

1062

Forum Posts

6686

Wiki Points

0

Followers

Reviews: 5

User Lists: 8

#3  Edited By TheAdmin

Yes, this would be great - specifying that I want just the cover of a game and the link back to giantbomb would make the xml tiny and the functionality great!

Avatar image for funnyman22
Funnyman22

43

Forum Posts

179

Wiki Points

0

Followers

Reviews: 3

User Lists: 4

#4  Edited By Funnyman22

Thanks Andy - you 'da man