mmallis87 / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

Searching type=channel with videoEmbeddable = true returns 400 #308

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
GET 
https://www.googleapis.com/youtube/v3/search?part=id&maxResults=50&q=%23beyonc%C
3%A9&type=channel&videoEmbeddable=true&key={YOUR_API_KEY}

returns 400 Bad Request invalidSearchFilter

When I omit videoEmbeddable=true, channel UCoPQ_TWm8JZ5nJv4a5BzSWA is returned, 
but that channel does not contain embeddable videos at all.

I understand the videoEmbeddable=true parameter is meant for videos, but that 
means when searching for channels first, lots of (Vevo) channels are returned, 
which do not contain a single embeddable video.

Suggestion: Allow the videoEmbeddable=true parameter when searching for 
type=channel and do not return any channels which do not contain at least one 
embeddable video.

As it is now, to ensure a channel contains at least one embeddable video, I 
need to make a second request.

Original issue reported on code.google.com by oliver.h...@gmail.com on 4 May 2015 at 12:28