fsoc knowledge get
Fetch a knowledge object or a list of knowledge objects from the Knowledge Store.
Synopsis
Fetch a knowledge object from the Knowledge Store using set of properties which can uniquely identify it.
fsoc knowledge get [flags]
Examples
# Get knowledge object at different layers
fsoc knowledge get --type=extensibility:solution --object-id=agent --layer-type=TENANT
fsoc knowledge get --type=extensibility:solution --object-id=extensibility --layer-type=SOLUTION --layer-id=extensibility
fsoc knowledge get --type=extensibility:solution --object-id=extensibility --layer-type=LOCALUSER
# Get object with a composite ID (note the quotes to escape shell special characters)
fsoc knowledge get --type=fso:module --object-id="fso:/moduleId=optimize;/enriches=cco" --layer-type=SOLUTION --layer-id=fso
# Get list of objects filtering by a data field
fsoc knowledge get --type=extensibility:solution --layer-type=TENANT --filter="data.isSystem eq true"
fsoc knowledge get --type=preferences:theme --layer-type=TENANT --filter="data.backgroundColor eq \"green\""
Options
--fields string Specific fields to fetch when getting knowledge objects. By default, all fields are returned unless otherwise specified. Please specify fields as a csv string.
--filter string Filter condition in SCIM filter format for getting knowledge objects
-h, --help help for get
--layer-id string Layer ID of the related knowledge object to fetch
--layer-type layerType Layer type at which the knowledge object exists. Valid values: "SOLUTION", "ACCOUNT", "GLOBALUSER", "TENANT", "LOCALUSER"
--object-id string Object ID of the knowledge object to fetch
--type string Fully qualified type name of knowledge object. The fully qualified type name follows the format solutionName:typeName (e.g. extensibility:solution)
Options Inherited From Parent Commands
--config string config file (default is ~/.fsoc). May be .yaml or .json
--curl log curl equivalent for platform API calls (implies --verbose)
--log string set a location and name for the fsoc log file (default "/tmp/fsoc.log")
--no-version-check skip the daily check for new versions of fsoc
-o, --output string output format (auto, table, detail, json, yaml) (default "auto")
--profile string access profile (default is current or "default")
-v, --verbose enable detailed output
See Also
- fsoc knowledge - Perform Knowledge Store operations