device api [gh-pages]