updated api.md with Add to Favorites