Media Server 24.1

# ImportVisualClusteringDatabase

Imports a visual clustering database that was exported using the action ExportVisualClusteringDatabase.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name to give to the imported database. If you do not set this parameter, Media Server uses the same name as the database that was exported. | No
`dbdata` | The data to import. Files must be uploaded as multipart/form-data. For more information about sending data to Media Server, see Send Actions to Media Server. | Set this or `dbpath`
`dbpath` | The path to the data file to import. Specify an absolute path, or a path relative to the Media Server executable file. | Set this or `dbdata`
`includesourcedata` | A Boolean value (default true) that specifies whether to import the source data. You can run visual clustering without the source data, but future enhancements to visual clustering might require retraining and this is not possible without the source data. | No

## Example

The following example imports a visual clustering database from the file `BroadcastClips.dat` in the current directory:

    curl http://host:14000/action=ImportVisualClusteringDatabase -F dbdata=@BroadcastClips.dat

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token. You can use this token with the QueueInfo action to retrieve the status of your request.

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.1

Topic Title: ImportVisualClusteringDatabase