Question

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top