Skip to content

mdsp sdi-ontologies Command

Syntax:

mdsp sdi-ontologies

Help:

mdsp sdi-ontologies --help

Alternative form:

mc sdi-ontologies

(The CLI was using mc as default command name in older versions)

Description

manage ontologies for SDI *

Usage

Parameter list:

Usage: mdsp sdi-ontologies|sdo [options]

manage ontologies for SDI *

Options:
 -m, --mode [list|infer|update|template|info|delete] list | infer | update | template | info | delete (default: "list")
 -d, --ontology ontology file with definition for --mode infer or update command
 -i, --ontologyid the ontology id for --mode info, update or delete command
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples

Here are some examples of how to use the mdsp sdi-ontologies command:

 Examples:

 mdsp sdi-ontologies --mode list list all sdi ontologies
 mdsp sdi-ontologies --mode template create template file
 mdsp sdi-ontologies --mode infer --ontology infer sdi ontology
 mdsp sdi-ontologies --mode info --ontologyid get sdi ontology info
 mdsp sdi-ontologies --mode delete --ontologyid delete sdi ontology

See Insights Hub API documentation for more information about Insights Hub APIs.