comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 4888:8523078f3f4b

added new configuration to authorize C-Find for worklist independently from other C-Find
author Alain Mazy <am@osimis.io>
date Fri, 18 Feb 2022 15:45:28 +0100
parents 43e613a7756b
children 6eff25f70121
comparison
equal deleted inserted replaced
4887:a29a6bdba9dd 4888:8523078f3f4b
133 "Whether to accept C-ECHO SCU commands issued by the remote modality", false) 133 "Whether to accept C-ECHO SCU commands issued by the remote modality", false)
134 .SetRequestField("AllowStore", RestApiCallDocumentation::Type_Boolean, 134 .SetRequestField("AllowStore", RestApiCallDocumentation::Type_Boolean,
135 "Whether to accept C-STORE SCU commands issued by the remote modality", false) 135 "Whether to accept C-STORE SCU commands issued by the remote modality", false)
136 .SetRequestField("AllowFind", RestApiCallDocumentation::Type_Boolean, 136 .SetRequestField("AllowFind", RestApiCallDocumentation::Type_Boolean,
137 "Whether to accept C-FIND SCU commands issued by the remote modality", false) 137 "Whether to accept C-FIND SCU commands issued by the remote modality", false)
138 .SetRequestField("AllowFindWorklist", RestApiCallDocumentation::Type_Boolean,
139 "Whether to accept C-FIND SCU commands for worklists issued by the remote modality", false)
138 .SetRequestField("AllowMove", RestApiCallDocumentation::Type_Boolean, 140 .SetRequestField("AllowMove", RestApiCallDocumentation::Type_Boolean,
139 "Whether to accept C-MOVE SCU commands issued by the remote modality", false) 141 "Whether to accept C-MOVE SCU commands issued by the remote modality", false)
140 .SetRequestField("AllowGet", RestApiCallDocumentation::Type_Boolean, 142 .SetRequestField("AllowGet", RestApiCallDocumentation::Type_Boolean,
141 "Whether to accept C-GET SCU commands issued by the remote modality", false) 143 "Whether to accept C-GET SCU commands issued by the remote modality", false)
142 .SetRequestField("AllowStorageCommitment", RestApiCallDocumentation::Type_Boolean, 144 .SetRequestField("AllowStorageCommitment", RestApiCallDocumentation::Type_Boolean,
2033 Json::Value sample; 2035 Json::Value sample;
2034 sample["AET"] = "ORTHANCTEST"; 2036 sample["AET"] = "ORTHANCTEST";
2035 sample["AllowEcho"] = true; 2037 sample["AllowEcho"] = true;
2036 sample["AllowEventReport"] = true; 2038 sample["AllowEventReport"] = true;
2037 sample["AllowFind"] = true; 2039 sample["AllowFind"] = true;
2040 sample["AllowFindWorklist"] = true;
2038 sample["AllowGet"] = true; 2041 sample["AllowGet"] = true;
2039 sample["AllowMove"] = true; 2042 sample["AllowMove"] = true;
2040 sample["AllowNAction"] = true; 2043 sample["AllowNAction"] = true;
2041 sample["AllowStore"] = true; 2044 sample["AllowStore"] = true;
2042 sample["AllowTranscoding"] = true; 2045 sample["AllowTranscoding"] = true;