add cloud API for external device