This service provides a simple web service. It is WIP, and it will be enhanced in the future. Currently, you can use it with the RestAPI plugin.
The webservice can be configured in its config/services/webservice.yaml file:
DEFAULT:
listen: 0.0.0.0 # the interface to bind the internal webserver to
port: 9876 # the port the webservice is listening on
debug: false # Enable /openapi.json, /docs and /redoc endpoints to test the API (default: false)Note
To access the API documentation, you can enable debug and access the documentation with these links: http://localhost:9876/docs http://localhost:9876/redoc Please refer to the OpenAPI specification for more information.
Warning
Do NOT enable debug for normal operations, especially if you expose the port to the outside world.
Important
It is advisable to use a reverse proxy like nginx and maybe SSL encryption to secure the webservice.