Add entries to Z inventory.

Request

POST https://{hostname}:{port}
    /cli/zInventory
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:
{
  "application": "Name or Id of the application.",
  "component": "Name or Id of the component.",
  "deploy-time": "Time in milliseconds.",
  "environment": "Name or Id of the environment.",
  "resources": [{
    "deploy-type": "Type of deployment for this resource.",
    "inputs": "Inputs",
    "name": "Filename of the entry.",
    "operation-type": "Type of operation for this entry. e.
  g. 'Deploy' or 'Delete'.",
    "target": "Target",
    "target-type": "Type of the target for this resource."
  }],
  "version": "Name or Id of the version."
}

Related CLI command: addZInventoryEntries.