Transaction REST API
- Allows job requests to be queued for processing, thereby increasing the number of requests that Akula can handle simultaneously.
- Acts as a guarantee that the request is only processed once, allowing responses to be picked up later if mobile connectivity is lost during processing.
A Client submits a "transaction id" when making the request. The "transaction id" is used to look up the status of the request process, and get its result when completed.
This section covers the following topics:
Public REST API
A sample public REST API for a transaction is shown below:
Management REST API
Managing transactions requires a management REST API similar to the example shown below:
Transactional requests and responses are stored in the Akula database.