changeset 753:11ca20599c75

added missing documentation of option "KeepSource" in modify/anonymize
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Aug 2021 10:54:19 +0200
parents 9b8fb1b37638
children 1e6ead2a9901
files OpenAPI/orthanc-openapi.json
diffstat 1 files changed, 47 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/OpenAPI/orthanc-openapi.json	Sun Aug 15 13:36:07 2021 +0200
+++ b/OpenAPI/orthanc-openapi.json	Mon Aug 16 10:54:19 2021 +0200
@@ -416,6 +416,10 @@
                               "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
                               "type" : "boolean"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "PrivateCreator" : {
                               "description" : "The private creator to be used for private tags in `Replace`",
                               "type" : "string"
@@ -2402,6 +2406,10 @@
                               },
                               "type" : "array"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "PrivateCreator" : {
                               "description" : "The private creator to be used for private tags in `Replace`",
                               "type" : "string"
@@ -3257,9 +3265,9 @@
                         "schema" : {
                            "description" : "JSON array containing either the jobs identifiers, or detailed information about the reported jobs (if `expand` argument is provided)",
                            "example" : [
-                              "3b2b5734-2181-468c-9fda-e800ff2647da",
-                              "3f656515-d105-4ef5-a6b5-3ac2384181e3",
-                              "43ccf2db-74fe-457e-8537-dca845087574",
+                              "0190e616-f520-4128-98f1-ab681bd4633a",
+                              "0a43a06e-f53a-45e5-8a2e-ce9702f81247",
+                              "4ee11497-4381-4979-b999-d96b9566bef1",
                               "..."
                            ]
                         }
@@ -4557,6 +4565,10 @@
                               "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
                               "type" : "boolean"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -6086,6 +6098,10 @@
                               },
                               "type" : "array"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -8028,6 +8044,10 @@
                               "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
                               "type" : "boolean"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -9392,6 +9412,10 @@
                               },
                               "type" : "array"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -10430,6 +10454,10 @@
                               "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
                               "type" : "boolean"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -12049,6 +12077,10 @@
                               },
                               "type" : "array"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -12839,7 +12871,7 @@
                               "Name" : "Orthanc Demo",
                               "PluginsEnabled" : true,
                               "StorageAreaPlugin" : null,
-                              "Version" : "1.9.5"
+                              "Version" : "1.9.6"
                            },
                            "properties" : {
                               "ApiVersion" : {
@@ -13047,6 +13079,10 @@
                               "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
                               "type" : "boolean"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -13219,6 +13255,10 @@
                               },
                               "type" : "array"
                            },
+                           "KeepSource" : {
+                              "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
+                              "type" : "boolean"
+                           },
                            "Permissive" : {
                               "description" : "If `true`, ignore errors during the individual steps of the job.",
                               "type" : "boolean"
@@ -14271,7 +14311,7 @@
                "200" : {
                   "content" : {
                      "text/plain" : {
-                        "example" : "orthanc_count_instances 2552 1626863153049\northanc_count_patients 8 1626863153049\northanc_count_series 26 1626863153049\northanc_count_studies 8 1626863153049\northanc_dicom_cache_count 83 1626857936800\northanc_dicom_cache_size 61.942482 1626857936800\northanc_disk_size_mb 1018.65021 1626863153049\northanc_jobs_completed 10 1626863153049\northanc_jobs_failed 1 1626863153049\northanc_jobs_pending 0 1626863153049\northanc_jobs_running 0 1626863153049\northanc_jobs_success 9 1626863153049\northanc_rest_api_active_requests 1 1626863153049\northanc_rest_api_duration_ms 385 1626863148654\northanc_storage_read_duration_ms 21 1626863148365\northanc_uncompressed_size_mb 1018.65021 1626863153049\n"
+                        "example" : "orthanc_count_instances 2552 1629103886979\northanc_count_patients 8 1629103886979\northanc_count_series 26 1629103886979\northanc_count_studies 8 1629103886979\northanc_dicom_cache_count 231 1629098711537\northanc_dicom_cache_size 114.333038 1629098711537\northanc_disk_size_mb 1018.65021 1629103886979\northanc_jobs_completed 10 1629103886979\northanc_jobs_failed 4 1629103886979\northanc_jobs_pending 0 1629103886979\northanc_jobs_running 0 1629103886979\northanc_jobs_success 6 1629103886979\northanc_rest_api_active_requests 1 1629103886977\northanc_rest_api_duration_ms 1790 1629103882403\northanc_storage_read_duration_ms 52 1629103881241\northanc_uncompressed_size_mb 1018.65021 1629103886979\n"
                      }
                   },
                   "description" : ""
@@ -14290,7 +14330,7 @@
                "200" : {
                   "content" : {
                      "text/plain" : {
-                        "example" : "20210721T102553",
+                        "example" : "20210816T085127",
                         "schema" : {
                            "description" : "The UTC time"
                         }
@@ -14312,7 +14352,7 @@
                "200" : {
                   "content" : {
                      "text/plain" : {
-                        "example" : "20210721T102553",
+                        "example" : "20210816T085127",
                         "schema" : {
                            "description" : "The local time"
                         }