builds appropriate query strings and performs requests against the supplied RSPM instance

return_endpoint(instance, endpoint, params = list())

Arguments

instance

An RSPM instance object created with instance()

endpoint

The API endpoint to query

params

Optional list of query parameters