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 com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • sectionsearch

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