Adding a RESTful API

To add a RESTful API, perform the following steps:

  1. Enable the RESTful API adding function.
  2. Add the API.
  3. Register the blueprint function.
  4. Prepare the configuration file.
  5. Perform compilation. Replace the original OM SDK configuration file restful_extend_interfaces.py and pack the code related to the new API.
Figure 1 Operation flowchart