Returns a single series.

oc_series(seriesId = "")

Arguments

seriesId

The series id

Value

Returns a single series.

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(series$content$identifier[1])
#> $content #> $content$identifier #> [1] "a1b6787e-1cfa-49e7-85ce-09d36677b92e" #> #> $content$creator #> [1] "System User" #> #> $content$opt_out #> [1] FALSE #> #> $content$created #> [1] "2019-11-04T01:05:00Z" #> #> $content$subjects #> list() #> #> $content$description #> [1] "" #> #> $content$language #> [1] "" #> #> $content$title #> [1] "Blender Foundation Productions" #> #> $content$license #> [1] "" #> #> $content$organization #> [1] "mh_default_org" #> #> $content$organizers #> list() #> #> $content$publishers #> [1] "Blender Foundation" #> #> $content$contributors #> list() #> #> $content$rightsholder #> [1] "" #> #> #> $url #> [1] "https://legacy.opencast.org/api/series/a1b6787e-1cfa-49e7-85ce-09d36677b92e" #> #> $response #> Response [https://legacy.opencast.org/api/series/a1b6787e-1cfa-49e7-85ce-09d36677b92e] #> Date: 2019-11-04 11:18 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 345 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"