The endpoint for maintenance should be ‘http://localhost:8181/api/kytos/maintenance/{mw_id}’. However, in the documentation, it is said to be ‘http://localhost:8181/api/kytos/maintenance_window/{mw_id}’.
The information found in the Kytos logs supports this:
Mar 10 19:56:09 18d7d38a4769 kytos.core.controller:INFO controller:812: Loading NApp kytos/maintenance
Mar 10 19:56:09 18d7d38a4769 kytos.core.api_server:INFO api_server:385: Started /api/kytos/maintenance/ - POST
Therefore, the documentation should be updated whenever possible in order to be accurate.
The endpoint for maintenance should be ‘http://localhost:8181/api/kytos/maintenance/{mw_id}’. However, in the documentation, it is said to be ‘http://localhost:8181/api/kytos/maintenance_window/{mw_id}’. The information found in the Kytos logs supports this: Mar 10 19:56:09 18d7d38a4769 kytos.core.controller:INFO controller:812: Loading NApp kytos/maintenance Mar 10 19:56:09 18d7d38a4769 kytos.core.api_server:INFO api_server:385: Started /api/kytos/maintenance/ - POST
Therefore, the documentation should be updated whenever possible in order to be accurate.