device api documentation work