Print a structured return of the oc_workflow_definition() function.

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

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") resp <- oc_workflow_definition("schedule-and-upload") resp
#> $content #> $content$identifier #> [1] "schedule-and-upload" #> #> $content$description #> [1] "\n A complex workflow, showcasing most of Opencast's features.\n " #> #> $content$title #> [1] "Process upon upload and schedule" #> #> $content$tags #> [1] "schedule" "upload" #> #> #> $url #> [1] "https://legacy.opencast.org/api/workflow-definitions/schedule-and-upload" #> #> $response #> Response [https://legacy.opencast.org/api/workflow-definitions/schedule-and-upload] #> Date: 2019-11-04 11:19 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 194 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"