Class UCSBCurriculumController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.UCSBCurriculumController
@RestController
@RequestMapping("/api/public")
public class UCSBCurriculumController
extends ApiController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> basicsearch
(String qtr, String dept, String level) org.springframework.http.ResponseEntity
<String> finalsInfo
(String quarterYYYYQ, String enrollCd) Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException
-
Constructor Details
-
UCSBCurriculumController
public UCSBCurriculumController()
-
-
Method Details
-
basicsearch
@GetMapping(value="/basicsearch", produces="application/json") public org.springframework.http.ResponseEntity<String> basicsearch(@RequestParam String qtr, @RequestParam String dept, @RequestParam String level) throws Exception - Throws:
Exception
-
finalsInfo
@GetMapping(value="/finalsInfo", produces="application/json") public org.springframework.http.ResponseEntity<String> finalsInfo(@RequestParam String quarterYYYYQ, @RequestParam String enrollCd) throws Exception - Throws:
Exception
-