Print a structured return of the oc_event() function.

# S3 method for oc_event
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_event() function.

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") events <- oc_list_events() resp <- oc_event(events$content$identifier[1]) resp
#> $content #> $content$identifier #> [1] "71061353-56cc-4249-8b8c-6ae7e4fa694d" #> #> $content$creator #> [1] "Opencast Project Administrator" #> #> $content$presenter #> [1] "Durian Open Movie Team" #> #> $content$created #> [1] "2020-03-19T01:04:00Z" #> #> $content$is_part_of #> [1] "706543e3-c731-41de-b6c7-ed28c90b3635" #> #> $content$subjects #> list() #> #> $content$start #> [1] "2020-03-19T01:04:06Z" #> #> $content$description #> [1] "Trailer for the Sintel open movie project" #> #> $content$language #> [1] "" #> #> $content$source #> [1] "" #> #> $content$title #> [1] "Sintel Trailer" #> #> $content$processing_state #> [1] "SUCCEEDED" #> #> $content$license #> [1] "" #> #> $content$archive_version #> [1] 1 #> #> $content$contributor #> list() #> #> $content$series #> [1] "Blender Foundation Productions" #> #> $content$has_previews #> [1] TRUE #> #> $content$location #> [1] "" #> #> $content$rightsholder #> [1] "" #> #> $content$publication_status #> [1] "internal" "engage-player" "oaipmh-default" #> #> $content$status #> [1] "EVENTS.EVENTS.STATUS.PROCESSED" #> #> #> $url #> [1] "https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d" #> #> $response #> Response [https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d?sign=FALSE&withacl=FALSE&withmetadata=FALSE&withscheduling=FALSE] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 658 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"