Post libraryv1beta1 :exportdocumentsandfolders
Exports documents and folders to another library. In COPY or MOVE mode, documents and folders can be exported directly into an existing folder of the destination library by specifying targetFolderId. Without targetFolderId, an Export folder is created or the destination library’s root folder is used, depending on the target classes’ folder structure.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Scopes
View your email address
View your email address
Path Parameters
The ID of the library
Body
The timezone id to format the name of the export folder. Formatted as a IANA Time Zone Database Name (ie: 'Europe/Paris', see: http://www.iana.org/time-zones).
The list of documents (by ID) to export from the library (can be empty if the list of folders is not)
The G Suite domain
The list of folders (by ID) to export from the library (can be empty if the list of documents is not)
The mode of export of the documents and folders. The possible values are: 'COPY' (the documents and folders will be copied), 'MOVE' (the documents and folders will be moved)
MOVE, COPY The security code
The ID of the target document class
The ID of an existing folder of the target library to export the documents and folders into, instead of creating an Export folder (requires a target library)
The ID of the library in which the documents and folders will be exported (can be empty if the user email is not)
The email of the user in whose Drive the documents and folders will be exported (can be empty if the target library is not)