query all subjects from API