Sync import storage

POST

Sync tasks from a GCS import storage connection. You will need to provide the import storage ID. You can find this using List import storages.

Sync operations with external buckets only go one way. They either create tasks from objects in the bucket (source/import storage) or push annotations to the output bucket (export/target storage). Changing something on the bucket side doesn’t guarantee consistency in results.

Before proceeding, you should review How sync operations work - Source storage to ensure that your data remains secure and private.

Path parameters

idintegerRequired

Storage ID

Response

This endpoint returns an object.
projectinteger

A unique integer value identifying this project.

idintegerOptional
typestringOptionalDefaults to gcs
synchronizablebooleanOptional
presignbooleanOptional
bucketstringOptional

GCS bucket name

prefixstringOptional

GCS bucket prefix

regex_filterstringOptional

Cloud storage regex for filtering objects

use_blob_urlsbooleanOptional

Interpret objects as BLOBs and generate URLs

google_application_credentialsstringOptional

The content of GOOGLE_APPLICATION_CREDENTIALS json file

google_project_idstringOptional

Google project ID

last_syncdatetimeOptional

Last sync finished time

last_sync_countintegerOptional

Count of tasks synced last time

last_sync_jobstringOptional

Last sync job ID

statusenumOptional
Allowed values: initializedqueuedin_progressfailedcompleted
tracebackstringOptional

Traceback report for the last failed sync

metamap from strings to anyOptional

Meta and debug information about storage processes

titlestringOptional

Cloud storage title

descriptionstringOptional

Cloud storage description

created_atdatetimeOptional

Creation time

presign_ttlintegerOptional

Presigned URLs TTL (in minutes)