kytos-ng / maintenance

Kytos Maintenance Window NApp
https://kytos-ng.github.io/api/maintenance.html
0 stars 7 forks source link

API patch call /maintenance/{mw_id} return 200 on success #18

Closed ArturoQuintana closed 3 years ago

ArturoQuintana commented 3 years ago

This call should return 201 as it modifies the maintenance window information. The documentation should be modified to provide the proper information according to the actions.

ajoaoff commented 3 years ago

The return code for updates is 200 (or 204 if there is no body). 201 is used only when a resource is created.