oc_list_agents: Query Opencast list of capture agent

Description Usage Arguments Details Value Examples

View source: R/oc_list_agents.R

Description

Returns a list of agents.

Usage

1
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.

Details

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

Value

A list containing the capture agents

Examples

1
2
3
4
5
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

oc_list_agents()

opencastR documentation built on March 19, 2020, 5:12 p.m.