Learn R Programming

opencastR (version 0.1.3)

oc_event_list_publications: Query Opencast for a specific events publications

Description

Returns an event's list of publications.

Usage

oc_event_list_publications(eventId = "", sign = FALSE)

Arguments

eventId

The event id

sign

Whether public distribution urls should be signed.

Value

Returns an event's list of publications.

Details

This function expects the hostname, username and password to be set as environment variables.

Examples

Run this code
# NOT RUN {
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

events <- oc_list_events()

oc_event_list_publications(events$content$identifier[1])
# }

Run the code above in your browser using DataLab