Get the preferred Java packages compatible with agents in bulk.
This command gets the preferred Java packages compatible with the platforms of a set of agents. If no such package is currently defined for an agent, then no content is returned for the respective sub-request. Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.
Request
POST https://{hostname}:{port}
/cli/javaPackage/bulkGetPreferredJavaPackageForAgent
Accept: application/json
Content-Type: application/json
Parameter | Type | Required | Description |
---|---|---|---|
Content-Type | application/json |
true | |
Accept | application/json |
true |
This command takes a JSON request string or file. Use the following template for
the request:
{
"README": "See entity attribute for the template
description expected by this endpoint.",
"entity": [{"agent": "Name or ID of the agent"}]
}
Related CLI command: bulkGetPreferredJavaPackageForAgent.