Class EventsJsonController

java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.EventsJsonController

@RestController @CrossOrigin @RequestMapping(value={"/api/v1/events","/api/v1/events/"}, name="EventsJsonController", produces="application/json") public class EventsJsonController extends Object
  • Constructor Details

    • EventsJsonController

      @Autowired public EventsJsonController(WaveformService service)
  • Method Details

    • getEvent

      @GetMapping(name="getEvent", value="/{id}") public Event getEvent(@PathVariable("id") String eventId)
    • getUniqueEventIds

      @GetMapping(name="getUniqueEventIds", value="/unique-ids") public List<String> getUniqueEventIds()