Added REST API method to list devices.  Needs tests.