First is the API endpoint, second is used in the route. I'll add a comment.