Class PeakVelocityJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.PeakVelocityJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/peak-velocity-measurements","/api/v1/peak-velocity-measurements/"},
name="PeakVelocityJsonController",
produces="application/json")
public class PeakVelocityJsonController
extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PeakVelocityJsonController
-
-
Method Details
-
getMeasurements
@GetMapping(name="getMeasurements", path={"/all","/all/"}) public List<PeakVelocityMeasurement> getMeasurements() -
getMeasurementsMetadataOnly
@GetMapping(name="getMeasurementsMetadataOnly", path={"/metadata/all","/metadata/all/"}) public List<PeakVelocityMeasurementMetadata> getMeasurementsMetadataOnly() -
getByWaveformIdMetadataOnly
@GetMapping(name="getMeasurementsMetadataOnly", path="/metadata/by-id/{id}") public PeakVelocityMeasurementMetadata getByWaveformIdMetadataOnly(@PathVariable(name="id",required=true) Long id) -
getService
-
setService
-