Programmatically Operating on the Grid using REST
Use this procedure to programmatically operate on a grid. The ability to programmatically act upon a grid depends on the fact that the ION Grid exposes a number of status documents and operations using REST. The REST-enabled APIs are easy to call programmatically and may be used in various scripting scenarios that operate on the grid or on individual parts of it, for example, applications or nodes).
The REST services are defined by a WADL file in the same way that web services are defined in a WSDL file. (For more information on WADL, see http://www.w3.org/Submission/wadl/ and https://wikis.oracle.com/display/Jersey/WADL.)
The WADL file describes the set of operations that is exposed and the schema of the data that is passed as requests and returned as responses (the inclusion of types and schemas is defined as extended wadl in the Jersey documentation link above). The WADL file is typically imported into some external tooling that will generate code (in different languages) that makes it easy to implement calls to the exposed REST services.
The REST services are accessed via any of the HTTP(S) ports that are defined in the grid routers. The WADL file is also accessible via any of those ports.