device plugin api calls