Resource URIs

Resource URIs represent Rule Execution Server resources.

For Rule Execution Server, REST resources are RuleApps, rulesets, XOM libraries, and XOM resources. REST resources are identified by a unique URI. REST resource URIs have the following format:
http://host:port/resContext/apiauth/v1/resource?query
The parameters are defined as follows:
http://host:port/resContext
The host address and port of the Rule Execution Server console endpoint.
For example, http://localhost:9080/res
/apiauth
The REST API context root. The apiauth parameter specifies the basic preemptive HTTP authentication method.
/v1

The version number of the REST API. The current version is v1. If subsequent versions are released, the version will be incremented accordingly but the changes will remain compatible with any code that implements the current /v1 version.

resource
The hierarchical part of the resource identification. The resource placeholder points to a specific resource that is expressed as a path.

Example: /ruleapps/myRuleApp/1.0/myRuleset/1.0

query
The nonhierarchical part of the resource identification. Typically, this part of the resource identification consists of parameters that are passed to the method implementation.

Example: ?parts=name|version|properties&orderby=name