powered by
Returns key characteristics of the API such as the server name and the default version.
oc_api()
A list containing the default api version and server url.
This function expects the hostname, username and password to be set as environment variables.
# NOT RUN { Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") oc_api() # }
Run the code above in your browser using DataLab