Skip to content

Commit 8be338a

Browse files
authored
Merge pull request #78 from SPINEProject/postman-api-schema
Add deletefolder option to import
2 parents 501a507 + f1a0551 commit 8be338a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

schemas/import.schema.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@
665665
},
666666
"filterDicoms": {
667667
"$ref": "#/definitions/filterDicoms"
668+
},
669+
"deleteFolderAfterUpload": {
670+
"type": "boolean"
668671
}
669672
},
670673
"allOf": [
@@ -684,7 +687,8 @@
684687
"anonymize",
685688
"lutId",
686689
"exhaustiveLut",
687-
"filterDicoms"
690+
"filterDicoms",
691+
"deleteFolderAfterUpload"
688692
]
689693
},
690694
"postImportLutExhaustiveNoAnon": {
@@ -867,14 +871,18 @@
867871
},
868872
"filterDicoms": {
869873
"$ref": "#/definitions/filterDicoms"
874+
},
875+
"deleteFolderAfterUpload": {
876+
"type": "boolean"
870877
}
871878
},
872879
"required": [
873880
"dicomPath",
874881
"anonymization",
875882
"lut",
876883
"exhaustiveLut",
877-
"filterDicoms"
884+
"filterDicoms",
885+
"deleteFolderAfterUpload"
878886
],
879887
"additionalProperties": false,
880888
"oneOf": [

0 commit comments

Comments
 (0)