Print a structured return of the oc_event_list_publications() function.

# S3 method for oc_event_list_publications
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_list_publications() 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_list_publications(events$content$identifier[1]) resp
#> $content #> metadata attachments channel id #> 1 NULL NULL engage-player 920844bf-a8e3-4c39-ab01-0331fed2806d #> 2 NULL NULL oaipmh-default cb86d675-ad86-4da3-b59b-12c0c88e6b8c #> media mediatype #> 1 NULL text/html #> 2 NULL text/xml #> url #> 1 https://legacy.opencast.org/play/71061353-56cc-4249-8b8c-6ae7e4fa694d #> 2 /oaipmh/default?verb=ListMetadataFormats&identifier=71061353-56cc-4249-8b8c-6ae7e4fa694d #> #> $url #> [1] "https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d/publications" #> #> $response #> Response [https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d/publications?sign=FALSE] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 460 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"