update interface
This commit is contained in:
parent
15fec7167c
commit
44e057d2ee
|
@ -14,10 +14,11 @@ import org.springframework.web.bind.annotation.*;
|
|||
public interface FileTransformerController {
|
||||
|
||||
|
||||
@PostMapping("/export/dmp/{variant}")
|
||||
FileEnvelopeModel exportDmp(@RequestBody DmpModel dmpDepositModel, @PathVariable("variant") String variant) throws Exception;
|
||||
@PostMapping("/export/dmp")
|
||||
FileEnvelopeModel exportDmp(@RequestBody DmpModel dmpDepositModel, @RequestParam(value = "format",required = false)String format) throws Exception ;
|
||||
|
||||
@PostMapping("/export/description")
|
||||
FileEnvelopeModel exportDescription(@RequestBody DescriptionModel descriptionModel, @RequestParam(value = "format",required = false)String format, @RequestParam(value = "descriptionId",required = false) String descriptionId) throws Exception;
|
||||
FileEnvelopeModel exportDescription(@RequestBody DescriptionModel descriptionModel, @RequestParam(value = "format",required = false)String format) throws Exception;
|
||||
|
||||
@PostMapping("/import/dmp")
|
||||
DmpModel importFileToDmp(@RequestBody FileEnvelopeModel fileEnvelope);
|
||||
|
|
Loading…
Reference in New Issue