Returns an event's access policy.

oc_event_acl(eventId = "")

Arguments

eventId

The event id

Value

Returns an event's access policy.

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") events <- oc_list_events() oc_event_acl(events$content$identifier[1])
#> $content #> list() #> #> $url #> [1] "https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d/acl" #> #> $response #> Response [https://legacy.opencast.org/api/events/71061353-56cc-4249-8b8c-6ae7e4fa694d/acl] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 2 B #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"