Import StorageRedis

Validate import storage

POST
Validate a specific Redis import storage connection. This is useful to ensure that the storage configuration settings are correct and operational before attempting to import data.

Request

This endpoint expects an object.
id
integerOptional
Storage ID. If set, storage with specified ID will be updated
regex_filter
stringOptional
Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.
use_blob_urls
booleanOptional
Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
title
stringOptional
Storage title
description
stringOptional
Storage description
project
integerOptional
Project ID
path
stringOptional
Storage prefix (optional)
host
stringOptional
Server Host IP (optional)
port
stringOptional
Server Port (optional)
password
stringOptional
Server Password (optional)
POST
1curl -X POST http://localhost:8080/api/storages/redis/validate \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{}'