Returns a single group.

oc_group(groupId = "")

Arguments

groupId

The group id

Value

Returns a single group.

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_group("MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS")
#> $content #> $content$identifier #> [1] "MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS" #> #> $content$role #> [1] "ROLE_GROUP_MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS" #> #> $content$organization #> [1] "mh_default_org" #> #> $content$roles #> [1] "ROLE_API_EVENTS_METADATA_VIEW,ROLE_API_SERIES_DELETE,ROLE_API_GROUPS_CREATE,ROLE_API_EVENTS_MEDIA_VIEW,ROLE_API_SERIES_VIEW,ROLE_API_SERIES_METADATA_VIEW,ROLE_API_WORKFLOW_INSTANCE_EDIT,ROLE_API_SERIES_METADATA_EDIT,ROLE_API_WORKFLOW_INSTANCE_DELETE,ROLE_API_SERIES_ACL_VIEW,ROLE_API_WORKFLOW_INSTANCE_VIEW,ROLE_API_EVENTS_CREATE,ROLE_API_SERIES_PROPERTIES_EDIT,ROLE_API_WORKFLOW_INSTANCE_CREATE,ROLE_API_SERIES_CREATE,ROLE_API_GROUPS_DELETE,ROLE_API_EVENTS_ACL_EDIT,ROLE_API_SERIES_EDIT,ROLE_API_EVENTS_METADATA_EDIT,ROLE_API_EVENTS_METADATA_DELETE,ROLE_API_EVENTS_ACL_DELETE,ROLE_API_EVENTS_VIEW,ROLE_API_GROUPS_VIEW,ROLE_API_EVENTS_SCHEDULING_EDIT,ROLE_API_EVENTS_DELETE,ROLE_API_SECURITY_EDIT,ROLE_API,ROLE_API_CAPTURE_AGENTS_VIEW,ROLE_API_SERIES_ACL_EDIT,ROLE_API_SERIES_PROPERTIES_VIEW,ROLE_API_EVENTS_PUBLICATIONS_VIEW,ROLE_API_EVENTS_SCHEDULING_VIEW,ROLE_SUDO,ROLE_API_SERIES_METADATA_DELETE,ROLE_API_WORKFLOW_DEFINITION_VIEW,ROLE_API_EVENTS_EDIT,ROLE_API_EVENTS_ACL_VIEW,ROLE_API_GROUPS_EDIT" #> #> $content$members #> [1] "" #> #> $content$name #> [1] "Opencast Project External Applications" #> #> $content$description #> [1] "External application users of 'Opencast Project'" #> #> #> $url #> [1] "https://legacy.opencast.org/api/groups/MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS" #> #> $response #> Response [https://legacy.opencast.org/api/groups/MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS] #> Date: 2019-11-04 11:18 #> Status: 200 #> Content-Type: application/v1.2.0+json #> Size: 1.28 kB #> <BINARY BODY> #> #> attr(,"class") #> [1] "opencast_api"