Search Z inventory.
Request
POST https://{hostname}:{port}
/cli/zInventory/search
Accept: {contentType}
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
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
if includeInactive is true. Otherwise, only one component
and one environemnt may be specified."],
"components": ["Component name or id. Only one of
applications, environments, or components may be specified
if includeInactive is true. Otherwise, only one component
and one environemnt may be specified."],
"environments": ["Environment name or id. Only one of
applications, environments, or components may be specified
if includeInactive is true. Otherwise, only one component
and one environemnt may be specified."],
"fileNameGlob": "File names to search for. Either this
or versionNameGlob must be specified if includeInactive is
true. 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 if includeInactive
is true. Only one of fileNameGlob or versionNameGlob may
be specified when filtering by applications, environments
or components."
}
Related CLI command: searchZInventoryEntries.