oc_version: Query Opencast api versions

View source: R/oc_version.R

oc_versionR Documentation

Query Opencast api versions

Description

Returns a list of available version as well as the default version.

Usage

oc_version()

Details

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

Value

A list containing the available api versions

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

oc_version()

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