Refresh playlist

playlist_refresh(playlist, conn = NULL)

Arguments

playlist

structure, create or get it using create_playlist or get_playlist

conn

gor connection structure, create it using platform_connect

Value

a list with the playlist object

Examples

if (FALSE) {
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
name <- "testPL"
pl <- create_playlist(name, conn)
pl <- playlist_refresh(pl, conn)
}