Learn R Programming

opencastR (version 0.1.3)

oc_workflow_instance: Query Opencast for a specific workflow instance

Description

Returns a single workflow instance.

Usage

oc_workflow_instance(workflowInstanceId = 0)

Arguments

workflowInstanceId

The workflow instance id

Value

Returns a single workflow instance.

Details

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

Examples

Run this code
# NOT RUN {
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

workflow_instances <- oc_list_workflow_instances()

oc_workflow_instance(workflow_instances$content$identifier[1])
# }

Run the code above in your browser using DataLab