craftbeerpi4-pione/docs_src/source/webapis.rst
2019-01-28 00:00:05 +01:00

26 lines
587 B
ReStructuredText

REST API
========
The REST API is document by using Swagger.IO.
After startup of the server the API documentation is available under:
::
http://<SERVER_IP>:<PORT>/api/doc
.. swaggerv2doc:: http://0.0.0.0:8080/api/doc/swagger.json
WebSocket API
=============
WebSocket client can be connected to the following endpoint:
::
http://<SERVER_IP>:<PORT>/ws
I recommend to use Dark WebSocket Terminal for testing. At the moment the WebSocket API is just pushing data.
.. note::
Currently Security is not enabled. That means you need no password to connect to th Web APIs