added a route to the api page
updated api.md