Update import storage

PATCH

Update a specific local import storage connection. You will need to provide the import storage ID. You can find this using List import storages.

For more information about working with external storage, see Sync data from external storage.

Path parameters

idintegerRequired

A unique integer value identifying this local files import storage.

Request

This endpoint expects an object.
titlestringOptional

Storage title

descriptionstringOptional

Storage description

projectintegerOptional

Project ID

pathstringOptional

Path to local directory

regex_filterstringOptional

Regex for filtering objects

use_blob_urlsbooleanOptionalDefaults to false

Interpret objects as BLOBs and generate URLs. For example, if your directory 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.

Response

titlestringOptional

Storage title

descriptionstringOptional

Storage description

projectintegerOptional

Project ID

pathstringOptional

Path to local directory

regex_filterstringOptional

Regex for filtering objects

use_blob_urlsbooleanOptionalDefaults to false

Interpret objects as BLOBs and generate URLs. For example, if your directory 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.

Built with