RESTful API

28 views
Skip to first unread message

김혜진

unread,
Oct 5, 2024, 12:50:10 PM10/5/24
to OpenWISP
Hello, I am a beginner who is just learning Openwisp.

I have a few questions, so please answer them.



1. Can you tell me what management protocol Openwisp is using?

2. I understood that the RESTful API listed in the Openwisp official document does not manage the Openwisp server from a central server, but rather manages the devices listed in Openwisp. Is my understanding correct?

3. The official document says to install Openwisp-config and Openwisp-monitoring when installing Openwisp. Does it work if I only install Openwisp-config? In other words, I am curious about whether a monitoring package is also required to operate Openwisp.




I think the questions I asked may be too basic or maybe they shouldn't be asked. We apologize in advance, and we would appreciate it if you could answer only the parts you can.




Best Regards

Federico Capoano (nemesisdesign)

unread,
Oct 23, 2024, 11:04:09 AM10/23/24
to OpenWISP
Hi,

On Saturday, October 5, 2024 at 12:50:10 PM UTC-4 yks...@naver.com wrote:
... 
1. Can you tell me what management protocol Openwisp is using?

It's not a standard protocol, it's a combination of periodic HTTPS requests, you can find more about this by studying the source code:

I think in the future we may be able to support other standard protocols.
 
2. I understood that the RESTful API listed in the Openwisp official document does not manage the Openwisp server from a central server, but rather manages the devices listed in Openwisp. Is my understanding correct?

The REST API of OpenWISP allows to manage several aspects of OpenWISP, whether related to devices like changing the configuration, sending shell commands or the change the data in the OpenWISP database like adding new users, create configuration templates and so on. 

3. The official document says to install Openwisp-config and Openwisp-monitoring when installing Openwisp. Does it work if I only install Openwisp-config? In other words, I am curious about whether a monitoring package is also required to operate Openwisp.

If you don't need the monitoring you can get rid of it both on the server and on openwrt.

I hope this helps.

Federico
Reply all
Reply to author
Forward
0 new messages