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 32c0dba1-97d9-4c23-b993-0b15831ac094 #> 2 NULL NULL oaipmh-default 876a709f-e47b-4fc6-8b30-e13f27dab3a7 #> media mediatype #> 1 NULL text/html #> 2 NULL text/xml #> url #> 1 https://legacy.opencast.org/play/91708b2e-285e-4f08-855d-2ad882c42002 #> 2 /oaipmh/default?verb=ListMetadataFormats&identifier=91708b2e-285e-4f08-855d-2ad882c42002 #> #> $url #> [1] "https://legacy.opencast.org/api/events/91708b2e-285e-4f08-855d-2ad882c42002/publications" #> #> $response #> Response [https://legacy.opencast.org/api/events/91708b2e-285e-4f08-855d-2ad882c42002/publications?sign=FALSE] #> Date: 2019-11-04 11:19 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 460 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"