Import a component process from a file

This command imports a component process from a JSON or YAML file format.

Request

POST https://{hostname}:{port}
    /cli/componentProcess/import?{parameters}
Accept: {contentType}
Content-Type: {contentType}
Table 1. Request parameters
Parameter Type Required Description
component string true Name or ID of the component
processUpgradeType string false Supported values are, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, FAIL_IF_EXISTS, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS.
Table 2. Header parameters
Parameter Type Required Description
Content-Type
  • application/json
  • application/yaml
true
Accept
  • application/json
  • application/yaml
true

Related CLI command: importComponentProcess.