Returns a single workflow definition.

oc_workflow_definition(workflowDefinitionId = "")

Arguments

workflowDefinitionId

The workflow definition id

Value

Returns a single workflow definition.

Details

This function expects the hostname, username and password to be set as environment variables.

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") oc_workflow_definition("schedule-and-upload")
#> $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:18 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 194 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"