When I saw that the api has a call find_all_playlists I was assuming it would do just that; find the playlists. Sadly this call also gets every bit of information of every video inside the playlists.

Is there a way to just request all playlists and get a response like this:

{ "items": [
    {
        "id": 1721334541001,
        "name" : "playlist 1"
    },
    {
        "id": 1721334541002,
        "name" : "playlist 2"
    }
  ]
}

Hope someone has a solution for this.

Regards
- Drazen

有帮助吗?

解决方案

You can specify the fields to be returned with the playlist_fields parameter.

http://api.brightcove.com/services/library?command=find_all_playlists&token=TOKEN&playlist_fields=id,name
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top