Skip to main content
POST
/
library
/
v1beta1
/
{libId}
/
exportDocumentsAndFolders
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/library/v1beta1/{libId}/exportDocumentsAndFolders \
  --header 'Authorization: Bearer <token>'
{
  "documentIdMap": {},
  "folderId": "<string>",
  "jobId": "<string>",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libId
string
required

The ID of the library

Query Parameters

mode
enum<string>
Available options:
MOVE,
COPY
documentIds
string[]

The list of documents (by ID) to export from the library (can be empty if the list of folders is not)

folderIds
string[]

The list of folders (by ID) to export from the library (can be empty if the list of documents is not)

userEmail
string

The email of the user in whose Drive the documents and folders will be exported (can be empty if the target library is not)

targetLibraryId
string

The ID of the library in which the documents and folders will be exported (can be empty if the user email is not)

clientTimeZoneId
string

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).

securityCode
string

The security code

domain
string

The G Suite domain

targetClassId
string

The ID of the target document class

Response

200 - application/json

A ApiExportResult response

documentIdMap
object
folderId
string
jobId
string
kind
string