-
Notifications
You must be signed in to change notification settings - Fork 807
Description
Refactor
Component(s) to be refactored
/api/island-mode
Tasks
- Rename to
/api/island/mode
(0d) @ilija-lazoroski - Change
POST
toPUT
(0d) @ilija-lazoroski - Use
HTTPStatus
enum for return codes (0d) @ilija-lazoroski- See if you can just return the status with no body
- Use 204 instead of 200 for
PUT
- Get rid of
['mode']
inapi/island/mode
and all uses. (0.25d) @ilija-lazoroski- Add
IslandMode
toresources/__init__.py
and shorten all imports
- Add