add split action to API