some documentation for the api route helper