Get the preferred Java package compatible with an agent.

This command gets the preferred Java package compatible with the platform of an agent. If no such package is currently defined, then no content is returned.

Request

GET https://{hostname}:{port}
    /cli/javaPackage/getPreferredJavaPackageForAgent?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
agent string true Name or ID of the agent
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: getPreferredJavaPackageForAgent.