ESB API
Martini ships with a built-in REST API that you can use to remotely administer and maintain your Martini instances. The API includes many functions that allows maintenance of things such as:
- Martini packages
- Martini endpoints
- Users and groups
- Database connections
- Instance configuration properties
- JMS destinations (as well as the ability to send messages to them)
- Monitor rules
- Throttling rules
- Reports
- Tracker
- HTTP sessions
The API also includes support for system functions such as:
- Shutdown or restart of a Martini instance
- Retrieval of JVM thread information
- Retrieval of Martini logs
- Maintenance of the Martini instance loggers
The REST API is also exposed as a Swagger document (accessible at the URL
<martini-home>/esbapi/swagger.json
), meaning you can test the API in API Explorer, or
generate Gloop client services from it. The Swagger file also contains documentation for
each operation in case you need more information on a particular operation or API.
.
Use API Explorer
TORO recommends learning more about the details of Martini's REST API via the API Explorer.
This API is only accessible when you have logged in to Martini using your
TORO Marketplace account, or when authenticated using a Martini user that
belongs to the ESBAPIAdminGroup
group. If this group doesn't already exist, you can
create the group and add your desired user account to it.