Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 4892:6eff25f70121 openssl-3.x
integration mainline->openssl-3.x
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 20 Feb 2022 11:14:34 +0100 |
parents | 2e71a08eea15 8523078f3f4b |
children | c014ab79fca5 |
comparison
equal
deleted
inserted
replaced
4869:e1944053cbef | 4892:6eff25f70121 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017-2021 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2022 Osimis S.A., Belgium |
6 * Copyright (C) 2021-2021 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | 6 * Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
7 * | 7 * |
8 * This program is free software: you can redistribute it and/or | 8 * This program is free software: you can redistribute it and/or |
9 * modify it under the terms of the GNU General Public License as | 9 * modify it under the terms of the GNU General Public License as |
10 * published by the Free Software Foundation, either version 3 of the | 10 * published by the Free Software Foundation, either version 3 of the |
11 * License, or (at your option) any later version. | 11 * License, or (at your option) any later version. |
121 "Whether to accept C-ECHO SCU commands issued by the remote modality", false) | 121 "Whether to accept C-ECHO SCU commands issued by the remote modality", false) |
122 .SetRequestField("AllowStore", RestApiCallDocumentation::Type_Boolean, | 122 .SetRequestField("AllowStore", RestApiCallDocumentation::Type_Boolean, |
123 "Whether to accept C-STORE SCU commands issued by the remote modality", false) | 123 "Whether to accept C-STORE SCU commands issued by the remote modality", false) |
124 .SetRequestField("AllowFind", RestApiCallDocumentation::Type_Boolean, | 124 .SetRequestField("AllowFind", RestApiCallDocumentation::Type_Boolean, |
125 "Whether to accept C-FIND SCU commands issued by the remote modality", false) | 125 "Whether to accept C-FIND SCU commands issued by the remote modality", false) |
126 .SetRequestField("AllowFindWorklist", RestApiCallDocumentation::Type_Boolean, | |
127 "Whether to accept C-FIND SCU commands for worklists issued by the remote modality", false) | |
126 .SetRequestField("AllowMove", RestApiCallDocumentation::Type_Boolean, | 128 .SetRequestField("AllowMove", RestApiCallDocumentation::Type_Boolean, |
127 "Whether to accept C-MOVE SCU commands issued by the remote modality", false) | 129 "Whether to accept C-MOVE SCU commands issued by the remote modality", false) |
128 .SetRequestField("AllowGet", RestApiCallDocumentation::Type_Boolean, | 130 .SetRequestField("AllowGet", RestApiCallDocumentation::Type_Boolean, |
129 "Whether to accept C-GET SCU commands issued by the remote modality", false) | 131 "Whether to accept C-GET SCU commands issued by the remote modality", false) |
130 .SetRequestField("AllowStorageCommitment", RestApiCallDocumentation::Type_Boolean, | 132 .SetRequestField("AllowStorageCommitment", RestApiCallDocumentation::Type_Boolean, |
2021 Json::Value sample; | 2023 Json::Value sample; |
2022 sample["AET"] = "ORTHANCTEST"; | 2024 sample["AET"] = "ORTHANCTEST"; |
2023 sample["AllowEcho"] = true; | 2025 sample["AllowEcho"] = true; |
2024 sample["AllowEventReport"] = true; | 2026 sample["AllowEventReport"] = true; |
2025 sample["AllowFind"] = true; | 2027 sample["AllowFind"] = true; |
2028 sample["AllowFindWorklist"] = true; | |
2026 sample["AllowGet"] = true; | 2029 sample["AllowGet"] = true; |
2027 sample["AllowMove"] = true; | 2030 sample["AllowMove"] = true; |
2028 sample["AllowNAction"] = true; | 2031 sample["AllowNAction"] = true; |
2029 sample["AllowStore"] = true; | 2032 sample["AllowStore"] = true; |
2030 sample["AllowTranscoding"] = true; | 2033 sample["AllowTranscoding"] = true; |