define api interface
define api interface