Search Z inventory.

Request

POST https://{hostname}:{port}
    /cli/zInventory/search
Accept: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "applications": ["Application name or id. Only one of 
  applications, environments, or components may be 
  specified."],
  "components": ["Component name or id. Only one of 
  applications, environments, or components may be 
  specified."],
  "environments": ["Environment name or id. Only one of 
  applications, environments, or components may be 
  specified."],
  "fileNameGlob": "File names to search for. Either this 
  or versionNameGlob must be specified. Only one of 
  fileNameGlob or versionNameGlob may be specified when 
  filtering by applications, environments or components.",
  "includeInactive": "Boolean: default false. Whether or 
  not to include inactive entries in the results.",
  "versionNameGlob": "Version names to search for. Either 
  this or fileNameGlob must be specified. Only one of 
  fileNameGlob or versionNameGlob may be specified when 
  filtering by applications, environments or components."
}

Related CLI command: searchZInventoryEntries.