Add API endpoint for matchdetails.