Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancRestApi/OrthancRestApi.h @ 4697:569d9ef165b1
Added "short", "simplify" and/or "full" options to control the format of DICOM tags wherever possible
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Jun 2021 16:08:35 +0200 |
parents | d9473bd5ed43 |
children | f0038043fb97 7053502fbf97 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestApi.h Thu Jun 17 15:47:21 2021 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestApi.h Fri Jun 18 16:08:35 2021 +0200 @@ -144,5 +144,17 @@ static void DocumentSubmitGenericJob(RestApiPostCall& call); static void DocumentSubmitCommandsJob(RestApiPostCall& call); + + static DicomToJsonFormat GetDicomFormat(const RestApiGetCall& call, + DicomToJsonFormat defaultFormat); + + static DicomToJsonFormat GetDicomFormat(const Json::Value& body, + DicomToJsonFormat defaultFormat); + + static void DocumentDicomFormat(RestApiGetCall& call, + DicomToJsonFormat defaultFormat); + + static void DocumentDicomFormat(RestApiPostCall& call, + DicomToJsonFormat defaultFormat); }; }