oc_event_list_publications: Query Opencast for a specific events publications

View source: R/oc_event_list_publications.R

oc_event_list_publicationsR Documentation

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.

Details

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

Value

Returns an event's list of publications.

Examples

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])

ebbertd/opencastR documentation built on March 23, 2022, 10:11 p.m.