Added list devices api call