org.kie.server.api.commands package in your jBPM instance.
In the KIE Server REST API, you use the org.kie.server.api.commands commands as the request body for POST requests to http://SERVER:PORT/kie-server/services/rest/server/config. For more information about using the KIE Server REST API, see KIE Server REST API for KIE containers and business assets.
In the KIE Server Java client API, you use the corresponding method in the parent KieServicesClient Java client as an embedded API request in your Java application. All KIE Server commands are executed by methods provided in the Java client API, so you do not need to embed the actual KIE Server commands in your Java application. For more information about using the KIE Server Java client API, see KIE Server Java client API for KIE containers and business assets.
Sample KIE Server and KIE container commands
The following are sample KIE Server commands that you can use with the KIE Server REST API or Java client API for server-related or container-related operations in KIE Server:GetServerInfoCommandGetServerStateCommandCreateContainerCommandGetContainerInfoCommandListContainersCommandCallContainerCommandDisposeContainerCommandGetScannerInfoCommandUpdateScannerCommandUpdateReleaseIdCommand
org.kie.server.api.commands package in your jBPM instance.
You can run KIE Server commands individually or together as a batch REST API request or batch Java API request:
Batch REST API request to create, call, and dispose a KIE container (JSON)
Batch Java API request to retrieve, dispose, and re-create a KIE container
KieServicesClient Java client for the KIE Server Java client API.
GetServerInfoCommand
Returns information about this KIE Server instance.
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Avoid using a KIE scanner with business processes. Using a KIE scanner with processes can lead to unforeseen updates that can then cause errors in long-running processes when changes are not compatible with running process instances.
Example REST request body (JSON)
Example Java client method
Example server response (JSON)
Example REST request body (JSON)
Example Java client method
Example server response (JSON)