diff --git a/src/main/java/ola/hd/longtermstorage/controller/ImportController.java b/src/main/java/ola/hd/longtermstorage/controller/ImportController.java index 23abce0..4023501 100644 --- a/src/main/java/ola/hd/longtermstorage/controller/ImportController.java +++ b/src/main/java/ola/hd/longtermstorage/controller/ImportController.java @@ -91,8 +91,12 @@ public ImportController( TrackingRepository trackingRepository, PidService pidSe @ApiResponse(code = 415, message = "The request is not a multipart request.", response = ResponseMessage.class) }) @ApiImplicitParams(value = { - @ApiImplicitParam(dataType = "__file", name = "file", value = "The file to be imported.", required = true, paramType = "form"), - @ApiImplicitParam(dataType = "string", name = "prev", value = "The PID of the previous version", paramType = "form") + @ApiImplicitParam(dataType = "__file", name = "file", value = "The file to be imported", required = true, paramType = "form"), + @ApiImplicitParam(dataType = "string", name = "prev", value = "The PID of the previous version", paramType = "form"), + @ApiImplicitParam(dataType = "string", name = "fulltextfilegrp", value = "Name of filegroup containing the fulltexts", paramType = "form"), + @ApiImplicitParam(dataType = "string", name = "imagefilegrp", value = "Name of filegroup containing the images", paramType = "form"), + @ApiImplicitParam(dataType = "string", name = "fulltextftype", value = "Type of fulltexts, e.g. PAGEXML_1", paramType = "form"), + @ApiImplicitParam(dataType = "boolean", name = "isgt", value = "Set to true to flag the data as Ground Truth, used for search filtering", paramType = "form"), }) @ResponseStatus(value = HttpStatus.ACCEPTED) @PostMapping(value = "/bag", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.MULTIPART_FORM_DATA_VALUE) @@ -155,4 +159,4 @@ public ResponseEntity handleIllegalArgumentException(IllegalArgumentException return ResponseEntity.badRequest() .body(new ResponseMessage(status, message, uri)); } -} \ No newline at end of file +}