Print a structured return of the oc_version() function.

# S3 method for oc_version
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_version() function.

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") resp <- oc_version() resp
#> $content #> $content$default #> [1] "v1.2.0" #> #> $content$versions #> [1] "v1.0.0" "v1.1.0" #> #> #> $url #> [1] "https://legacy.opencast.org/api/version" #> #> $response #> Response [https://legacy.opencast.org/api/version] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/json #> Size: 51 B #> #> #> attr(,"class") #> [1] "opencast_api"