Returns a series' properties.

oc_series_properties(seriesId = "")

Arguments

seriesId

The event id

Value

Returns a series' properties.

Details

This function expects the hostname, username and password to be set as environment variables.

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") series <- oc_list_series() oc_series_properties(series$content$identifier[1])
#> $content #> named list() #> #> $url #> [1] "https://legacy.opencast.org/api/series/a1b6787e-1cfa-49e7-85ce-09d36677b92e/properties" #> #> $response #> Response [https://legacy.opencast.org/api/series/a1b6787e-1cfa-49e7-85ce-09d36677b92e/properties] #> Date: 2019-11-04 11:18 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 2 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"