# HG changeset patch # User Alain Mazy # Date 1742492989 -3600 # Node ID 6dbf5f4a6159d27d22639e0467672dd6378b8f19 # Parent 4ee84545fcbef957656ed134dc3cf65b8d4d7552 fix /modalities/../get documentation diff -r 4ee84545fcbe -r 6dbf5f4a6159 NEWS --- a/NEWS Mon Mar 17 17:01:40 2025 +0100 +++ b/NEWS Thu Mar 20 18:49:49 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 diff -r 4ee84545fcbe -r 6dbf5f4a6159 OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Mon Mar 17 17:01:40 2025 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Thu Mar 20 18:49:49 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)