Drive > Files > External import

List eligible drives

List all drives eligible for import for the given third party application supporting OAuth2

get/2/drive/{drive_id}/imports/oauth/drives

Path parameters

drive_idinteger required

Drive identifier

Query parameters

access_token_idinteger

ID of the authentication token for the application

application'dropbox' | 'onedrive' required

Supported service or third-party service identifier for external import.<note><strong>dropbox</strong>: Import from Dropbox.</note><note><strong>onedrive</strong>: Import from Microsoft OneDrive.</note>

Example:dropbox
auth_codestring

Authentication code of the application

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.