Class EnvelopeJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.envelope.application.web.EnvelopeJsonController
@RestController
@CrossOrigin
@RequestMapping(value={"/api/v1/envelopes/create","/api/v1/envelopes/create/"},
name="EnvelopeJsonController",
produces="application/json")
public class EnvelopeJsonController
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
createBatch
(Long sessionId, @Valid EnvelopeJob job, org.springframework.validation.BindingResult bindResult) org.springframework.http.ResponseEntity<?>
createBatchStacks
(Long sessionId, @Valid EnvelopeJob job, org.springframework.validation.BindingResult bindResult)
-
Constructor Details
-
EnvelopeJsonController
-
-
Method Details
-
createBatch
@PostMapping(value="/batch/{sessionId}", name="createBatch") public org.springframework.http.ResponseEntity<?> createBatch(@PathVariable Long sessionId, @Valid @RequestBody @Valid EnvelopeJob job, org.springframework.validation.BindingResult bindResult) -
createBatchStacks
@PostMapping(value="/batch-stacks-only/{sessionId}", name="createBatchStacks") public org.springframework.http.ResponseEntity<?> createBatchStacks(@PathVariable Long sessionId, @Valid @RequestBody @Valid EnvelopeJob job, org.springframework.validation.BindingResult bindResult)
-