API endpoint for getting article topics