# HG changeset patch # User Sebastien Jodogne # Date 1734366320 -3600 # Node ID 7f0145ff63f3aa22da03bc70db48551035c3e821 # Parent 6530bc38782f724faa6f18892c73546d94926681 fix documentation of /tools/find diff -r 6530bc38782f -r 7f0145ff63f3 OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp Mon Dec 16 17:04:35 2024 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp Mon Dec 16 17:25:20 2024 +0100 @@ -711,7 +711,7 @@ "(new in Orthanc 1.12.5 - overrides `expand`)", false); call.GetDocumentation().SetHttpGetArgument(GET_EXPAND, RestApiCallDocumentation::Type_String, - "If present, retrieve detailed information about the individual resources", false); + "If present, retrieve detailed information about the individual resources, not only their Orthanc identifiers", false); } else if (call.GetMethod() == HttpMethod_Post) @@ -724,7 +724,7 @@ "(new in Orthanc 1.12.5)", false); call.GetDocumentation().SetRequestField(POST_EXPAND, RestApiCallDocumentation::Type_Boolean, - "If present, retrieve detailed information about the individual resources", false); + "If set to \"true\", retrieve detailed information about the individual resources, not only their Orthanc identifiers", false); } else { diff -r 6530bc38782f -r 7f0145ff63f3 OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Mon Dec 16 17:04:35 2024 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Mon Dec 16 17:25:20 2024 +0100 @@ -3127,8 +3127,6 @@ .SetDescription("This URI can be used to perform a search on the content of the local Orthanc server, " "in a way that is similar to querying remote DICOM modalities using C-FIND SCU: " "https://orthanc.uclouvain.be/book/users/rest.html#performing-finds-within-orthanc") - .SetRequestField(KEY_EXPAND, RestApiCallDocumentation::Type_Boolean, - "Also retrieve the content of the matching resources, not only their Orthanc identifiers", false) .SetRequestField(KEY_LIMIT, RestApiCallDocumentation::Type_Number, "Limit the number of reported resources", false) .SetRequestField(KEY_SINCE, RestApiCallDocumentation::Type_Number,