add event command & restapi