googledrive (version 0.0.0.9000)

drive_endpoints: List Drive endpoints

Description

Returns a list of selected Drive API v3 endpoints, as stored inside the googledrive package. The names of this list (or the id sub-elements) are the nicknames that can be used to specify an endpoint in generate_request(). 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.

Usage

drive_endpoints(i = NULL)

Arguments

i

The name(s) or integer index(ices) of the endpoints to return. Optional. By default, the entire list is returned.

Value

A list containing some or all of the subset of the Drive API v3 endpoints that are used internally by googledrive.

Examples

Run this code
# NOT RUN {
str(drive_endpoints(), max.level = 2)
drive_endpoints("drive.files.delete")
drive_endpoints(4)
# }

Run the code above in your browser using DataLab