Added device list query, list_all method for list resources