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] "706543e3-c731-41de-b6c7-ed28c90b3635" #> #> $content$creator #> [1] "Opencast Project Administrator" #> #> $content$opt_out #> [1] FALSE #> #> $content$created #> [1] "2020-03-19T01:03: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/706543e3-c731-41de-b6c7-ed28c90b3635" #> #> $response #> Response [https://legacy.opencast.org/api/series/706543e3-c731-41de-b6c7-ed28c90b3635] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 364 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"