Create mount and umount commands that allow for a RESTful API.
Here's the deal, right now we just have a hacked together mount command on the CLI just to get things going. However, what we really want is mount and umount commands.
The MountHandler should be a RESTful endpoint:
GET /mounts -- list the mounts
POST /mounts -- add a new mount
GET /mount/uuid -- detail about a mount
PUT /mount/uuid -- update a mount
DELETE /mount/uuid -- umount
That way this command is usable from the Web API as well.
Create mount and umount commands that allow for a RESTful API.
Here's the deal, right now we just have a hacked together mount command on the CLI just to get things going. However, what we really want is
mount
andumount
commands.The
MountHandler
should be a RESTful endpoint:That way this command is usable from the Web API as well.