Skip to main content
GET
/
driveImport
/
v1
/
imports
/
{importId}
/
files
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/driveImport/v1/imports/{importId}/files \
  --header 'Authorization: Bearer <token>'
{
  "cursor": "<string>",
  "importFiles": [
    {
      "fileId": "<string>",
      "kind": "<string>",
      "lastModifiedAt": 123,
      "link": "<string>",
      "mimeType": "<string>",
      "numberOfTries": 123,
      "owner": {
        "email": "<string>",
        "kind": "<string>",
        "name": "<string>",
        "nonGoogle": true,
        "thumbnailPictureUrl": "<string>"
      },
      "state": "<string>",
      "title": "<string>"
    }
  ],
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

importId
string
required

The ID of an import job

Query Parameters

limit
integer<int32>
default:20

The maximum number of import files per page. (Default: 20)

modifiedAfter
integer<int64>

The timestamp (milliseconds) from which an import was last modified (to filter the list).

failedOnly
boolean
default:false

Whether to filter on the failed import only (Default: false, i.e. all results).

cursor
string

The token for continuing a previous list request on the next page. This should be set to the value of 'cursor' from the previous response.

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiImportFileList response

cursor
string
importFiles
object[]
kind
string