Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 5636:6ad8e2afd4fb
added missing LocalAet & Timeout documentation
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 22 May 2024 15:39:05 +0200 |
parents | 48b8dae6dc77 |
children | 7043e646fc0d |
comparison
equal
deleted
inserted
replaced
5635:0e16e677fe64 | 5636:6ad8e2afd4fb |
---|---|
113 .SetRequestField("Port", RestApiCallDocumentation::Type_Number, | 113 .SetRequestField("Port", RestApiCallDocumentation::Type_Number, |
114 "TCP port of the remote DICOM modality", true) | 114 "TCP port of the remote DICOM modality", true) |
115 .SetRequestField("Manufacturer", RestApiCallDocumentation::Type_String, "Manufacturer of the remote DICOM " | 115 .SetRequestField("Manufacturer", RestApiCallDocumentation::Type_String, "Manufacturer of the remote DICOM " |
116 "modality (check configuration option `DicomModalities` for possible values", false) | 116 "modality (check configuration option `DicomModalities` for possible values", false) |
117 .SetRequestField("UseDicomTls", RestApiCallDocumentation::Type_Boolean, "Whether to use DICOM TLS " | 117 .SetRequestField("UseDicomTls", RestApiCallDocumentation::Type_Boolean, "Whether to use DICOM TLS " |
118 "in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)", false); | 118 "in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)", false) |
119 .SetRequestField("LocalAet", RestApiCallDocumentation::Type_String, "Whether to override the default DicomAet " | |
120 "in the SCU connection initiated by Orthanc to this modality", false) | |
121 .SetRequestField("Timeout", RestApiCallDocumentation::Type_Number, "Whether to override the default DicomScuTimeout " | |
122 "in the SCU connection initiated by Orthanc to this modality", false); | |
119 | 123 |
120 if (includePermissions) | 124 if (includePermissions) |
121 { | 125 { |
122 call.GetDocumentation() | 126 call.GetDocumentation() |
123 .SetRequestField("AllowEcho", RestApiCallDocumentation::Type_Boolean, | 127 .SetRequestField("AllowEcho", RestApiCallDocumentation::Type_Boolean, |