oc_version_default: Query Opencast default api versions

View source: R/oc_version_default.R

oc_version_defaultR Documentation

Query Opencast default api versions

Description

Returns a list containing the default api version.

Usage

oc_version_default()

Details

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

Value

A list containing the default api version.

Examples

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

oc_version_default()

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