Mercurial > hg > orthanc
changeset 6054:0a0362c50882
merge
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 20 Mar 2025 18:50:13 +0100 |
| parents | 6dbf5f4a6159 (diff) d508d2348753 (current diff) |
| children | 9691db8cf787 |
| files | |
| diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Tue Mar 18 13:37:18 2025 +0100 +++ b/NEWS Thu Mar 20 18:50:13 2025 +0100 @@ -11,6 +11,7 @@ * All routes accepting a "transcode" url argument or a "Transcode" field in the payload now also accepts a "lossy-quality" url argument or a "LossyQuality" field to define the compression quality factor. If not specified, the "DicomLossyTranscodingQuality" configuration is taken into account. +* Fix OpenAPI documentation for /modalities/../get Maintenance
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Tue Mar 18 13:37:18 2025 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Thu Mar 20 18:50:13 2025 +0100 @@ -1699,8 +1699,8 @@ "negotiation to certain SOPClassUID or to present uncommon SOPClassUID during " "the DICOM negotiation. By default, " "Orhanc will propose the most 120 common SOPClassUIDs.", true) - .SetRequestField(KEY_QUERY, RestApiCallDocumentation::Type_JsonObject, - "A query object identifying all the DICOM resources to be retrieved", true) + .SetRequestField(KEY_LEVEL, RestApiCallDocumentation::Type_String, + "Level of the query (`Patient`, `Study`, `Series` or `Instance`)", true) .SetRequestField(KEY_LOCAL_AET, RestApiCallDocumentation::Type_String, "Local AET that is used for this commands, defaults to `DicomAet` configuration option. " "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false)
