Export StorageRedis

Sync export storage

POST

Sync tasks to an Redis export/target storage connection. You will need to provide the export storage ID. You can find this using List export storages.

Sync operations with external databases only go one way. They either create tasks from objects in the database (source/import storage) or push annotations to the output database (export/target storage). Changing something on the database 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

idstringRequired

Response

This endpoint returns an object
project
integer
A unique integer value identifying this project.
id
integerOptional
type
stringOptionalDefaults to redis
synchronizable
booleanOptional
path
stringOptional
Storage prefix (optional)
host
stringOptional
Server Host IP (optional)
port
stringOptional
Server Port (optional)
password
stringOptional
Server Password (optional)
regex_filter
stringOptional
Cloud storage regex for filtering objects
use_blob_urls
booleanOptional
Interpret objects as BLOBs and generate URLs
last_sync
datetimeOptional
Last sync finished time
last_sync_count
integerOptional
Count of tasks synced last time
last_sync_job
stringOptional
Last sync job ID
status
enumOptional
Allowed values: initializedqueuedin_progressfailedcompleted
traceback
stringOptional
Traceback report for the last failed sync
meta
map from strings to anyOptional
Meta and debug information about storage processes
title
stringOptional
Cloud storage title
description
stringOptional
Cloud storage description
created_at
datetimeOptional
Creation time
can_delete_objects
booleanOptional
Deletion from storage enabled
db
integerOptional
Server Database
POST
1curl -X POST http://localhost:8080/api/storages/export/redis/id/sync \
2 -H "Authorization: Token <api_key>"
200Successful
1{
2 "project": 1,
3 "id": 1,
4 "type": "type",
5 "synchronizable": true,
6 "path": "path",
7 "host": "host",
8 "port": "port",
9 "password": "password",
10 "regex_filter": "regex_filter",
11 "use_blob_urls": true,
12 "last_sync": "2024-01-15T09:30:00Z",
13 "last_sync_count": 1,
14 "last_sync_job": "last_sync_job",
15 "status": "initialized",
16 "traceback": "traceback",
17 "meta": {
18 "meta": {
19 "key": "value"
20 }
21 },
22 "title": "title",
23 "description": "description",
24 "created_at": "2024-01-15T09:30:00Z",
25 "can_delete_objects": true,
26 "db": 1
27}