adding new api tutorial