kytos / maintenance

Kytos Maintenance Window NApp
0 stars 12 forks source link

Erroneous Documentation for the maintenance REST API Documentation #25

Closed dgarc330 closed 3 years ago

dgarc330 commented 3 years ago

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.