Print a structured return of the oc_workflow_instance() function.

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

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") workflow_instances <- oc_list_workflow_instances() resp <- oc_workflow_instance(workflow_instances$content$identifier[1]) resp
#> $content #> $content$workflow_definition_identifier #> [1] "fast" #> #> $content$identifier #> [1] 524 #> #> $content$creator #> [1] "Opencast Project Administrator" #> #> $content$description #> [1] "\n A minimal workflow that transcodes the media into distribution formats, then\n sends the resulting distribution files, along with their associated metadata,\n to the distribution channels.\n " #> #> $content$state #> [1] "succeeded" #> #> $content$title #> [1] "Fast Testing Workflow" #> #> $content$event_identifier #> [1] "2c028936-6610-4ea2-af4e-bc88eb6ee50a" #> #> #> $url #> [1] "https://legacy.opencast.org/api/workflows/524" #> #> $response #> Response [https://legacy.opencast.org/api/workflows/524] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 432 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"