Skip to main content
POST
Import provider file

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

provider
string
required

External storage provider identifier, such as onedrive, sharepoint, or google_drive.

file_id
string
required

Provider-specific file or folder identifier.

Body

application/json
project_id
string<uuid>

Optional project ID for importing into project storage.

base_path
string

Optional destination folder path in Veryfront storage.

timestamp_prefix
boolean

When true, prefixes the imported file name with the current timestamp.

Response

Import result with GCS path reference

upload_id
string
required

Veryfront upload ID created for the imported file.

gcs_path
string
required

Destination object path in Veryfront storage.

file_name
string
required

Original provider file name.

content_type
string
required

Imported file content type.

size
number
required

Imported file size in bytes.