Step #2 - define your api