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: application/json

Parameter Type Required Description
agent string true Name or ID of the agent
Parameter Type Required Description
Accept application/json true  

Related CLI command: getPreferredJavaPackageForAgent.

Parent topic: javaPackage resource