oc_event_metadata: Query Opencast for a specific events metadata

View source: R/oc_event_metadata.R

oc_event_metadataR Documentation

Query Opencast for a specific events metadata

Description

Returns the event's metadata of the specified type.

Usage

oc_event_metadata(eventId = "", type = "")

Arguments

eventId

The event id

type

The type of metadata to get

Details

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

Value

Returns the event's metadata of the specified type.

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_metadata(events$content$identifier[1])

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