Class UCSBSectionsController

java.lang.Object
edu.ucsb.cs156.courses.controllers.UCSBSectionsController

@RestController @RequestMapping("/api/sections") public class UCSBSectionsController extends Object
  • Constructor Details

    • UCSBSectionsController

      public UCSBSectionsController()
  • 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
    • sectionsearch

      @GetMapping(value="/sectionsearch", produces="application/json") public org.springframework.http.ResponseEntity<String> sectionsearch(@RequestParam String qtr, @RequestParam String enrollCode) throws Exception
      Throws:
      Exception