This is an internal function of the opencastR package to query the api.

oc_package_query(url = "https://legacy.opencast.org/api/", query = NULL)

Arguments

url

The URL for the api call.

query

A list of query parameters.

Value

The response of the api call.

Examples

oc_package_query()
#> $content #> $content$version #> [1] "v1.2.0" #> #> $content$url #> [1] "http://localhost:8080/api" #> #> #> $url #> [1] "https://legacy.opencast.org/api/" #> #> $response #> Response [https://legacy.opencast.org/api/] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/json #> Size: 57 B #> #> #> attr(,"class") #> [1] "opencast_api"