Class SpectraRatioJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.SpectraRatioJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/spectra-ratios","/api/v1/spectra-ratios/"},
name="SpectraRatioJsonController",
produces="application/json")
public class SpectraRatioJsonController
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
org.springframework.http.ResponseEntity<?>
org.springframework.http.ResponseEntity<?>
org.springframework.http.ResponseEntity<?>
-
Constructor Details
-
SpectraRatioJsonController
-
-
Method Details
-
getMeasurements
@GetMapping(name="getMeasurements", path={"/all","/all/"}, produces="application/json") public List<SpectraRatioPairDetails> getMeasurements() -
getMeasurementsMetadata
@GetMapping(name="getMeasurementsMetadata", path={"/all-metadata-only","/all-metadata-only/"}, produces="application/json") public List<SpectraRatioPairDetailsMetadata> getMeasurementsMetadata() -
measureSpectraRatioFromWaveforms
@PostMapping(value={"/measure-spectra-ratio-from-waveforms","/measure-spectra-ratio-from-waveforms/"}, name="measureSpectraRatio", produces="application/json") public org.springframework.http.ResponseEntity<?> measureSpectraRatioFromWaveforms(@RequestBody SpectraRatioMeasurementJob job) -
measureSpectraRatioFromRatioData
@PostMapping(value={"/measure-spectra-ratio-from-ratio-data","/measure-spectra-ratio-from-ratio-data/"}, name="measureSpectraRatio", produces="application/json") public org.springframework.http.ResponseEntity<?> measureSpectraRatioFromRatioData(@RequestBody SpectraRatioMeasurementJob job) -
updateSpectraRatio
@PostMapping(value={"/update-ratio","/update-ratio/"}, name="updateSpectraRatio", produces="application/json") public org.springframework.http.ResponseEntity<?> updateSpectraRatio(@RequestBody SpectraRatioPairDetails ratio) -
loadRatioMetadata
@PostMapping(value={"/load-ratios-metadata","/load-ratios-metadata/"}, name="loadRatioMetadata", produces="application/json") public org.springframework.http.ResponseEntity<?> loadRatioMetadata(@RequestBody List<SpectraRatioPairDetailsMetadata> ratios)
-