Viewing the WADL representation

From the REST API page, you can access a WADL representation of request and response elements, and their documentation.

About this task

From the REST API page, you can open and save the WADL file that represents the Rule Execution Server REST API and its documentation. This format is an older one that is kept for compatibility. You might find this format useful, for example, to read the documentation of methods and parameters.
If you want to import the WADL code from an external tool, use this type of address:
http(s)://<host>:<port>/<RES Console context>/apiauth/DecisionServer.wadl
For example: http://localhost:9080/res/apiauth/DecisionServer.wadl

Procedure

  1. Sign in to the Rule Execution Server console as an administrator and click the REST API tab to display the REST API page.
  2. Click the View WADL file button.
    You are prompted to open or save the file. The graphical user interface for this action depends on your browser.
  3. Optional: If you want to include the .xsd files in the .wadl file for more usability, edit the URL obtained after clicking View WADL fileby appending ?inline=true at the end.
    The generated WADL code contains xs: entries instead of include href="DecisionServer.wadl/filename.xsd" references.

What to do next

You can open the WADL file in a text editor.