oc_event | R Documentation |
Returns a single event.
oc_event( eventId = "", sign = FALSE, withacl = FALSE, withmetadata = FALSE, withscheduling = FALSE, withpublications = FALSE )
eventId |
The event id |
sign |
Whether public distribution urls should be signed. |
withacl |
Whether the acl metadata should be included in the response. |
withmetadata |
Whether the metadata catalogs should be included in the response. |
withscheduling |
Whether the scheduling information should be included in the response. |
withpublications |
Whether the publication ids and urls should be included in the response. |
This function expects the hostname, username and password to be set as environment variables.
Returns a single event.
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") events <- oc_list_events() oc_event(events$content$identifier[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.