The googledrive package stores a named list of Drive API v3 endpoints (or
"methods", using Google's vocabulary) internally and these functions expose
this data.
drive_endpoint()
returns one endpoint, i.e. it uses [[
.
drive_endpoints()
returns a list of endpoints, i.e. it uses [
.
The names of this list (or the id
sub-elements) are the nicknames that can
be used to specify an endpoint in request_generate()
. For each endpoint, we
store its nickname or id
, the associated HTTP verb, the path
, and details
about the parameters. This list is derived programmatically from the Drive API v3 Discovery Document using
the approach described in the Discovery Documents section
of the gargle vignette Request helper functions.