Print a structured return of the oc_info_me() function.

# S3 method for oc_info_me
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_info_me() function.

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") resp <- oc_info_me() resp
#> $content #> $content$provider #> [1] "opencast" #> #> $content$name #> [1] "Opencast Project Administrator" #> #> $content$userrole #> [1] "ROLE_USER_ADMIN" #> #> $content$email #> [1] "admin@localhost" #> #> $content$username #> [1] "admin" #> #> #> $url #> [1] "https://legacy.opencast.org/api/info/me" #> #> $response #> Response [https://legacy.opencast.org/api/info/me] #> Date: 2019-11-04 11:19 #> Status: 200 #> Content-Type: application/json #> Size: 137 B #> #> #> attr(,"class") #> [1] "opencast_api"