Create a lists with device name and id?

And from the web API playground like here Developer Web API Playground - Notes of geeky oneliners

Created one for you.