Learn R Programming

opencastR (version 0.1.3)

oc_list_agents: Query Opencast list of capture agent

Description

Returns a list of agents.

Usage

oc_list_agents(limit = 0, offset = 0)

Arguments

limit

The maximum number of results to return for a single request.

offset

The index of the first result to return.

Value

A list containing the capture agents

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")

oc_list_agents()
# }

Run the code above in your browser using DataLab