Updated api to check for article type as an option