comparison OrthancServer/ServerContext.h @ 1700:f5ddbd9239dd

New URIs for attachments: ".../compress", ".../uncompress" and ".../is-compressed"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2015 17:20:26 +0200
parents eb8fbcf008b5
children 06addfcd1d4c
comparison
equal deleted inserted replaced
1699:8ca0e89798b2 1700:f5ddbd9239dd
182 182
183 StoreStatus Store(std::string& resultPublicId, 183 StoreStatus Store(std::string& resultPublicId,
184 DicomInstanceToStore& dicom); 184 DicomInstanceToStore& dicom);
185 185
186 void AnswerAttachment(RestApiOutput& output, 186 void AnswerAttachment(RestApiOutput& output,
187 const std::string& instancePublicId, 187 const std::string& resourceId,
188 FileContentType content); 188 FileContentType content);
189
190 void ChangeAttachmentCompression(const std::string& resourceId,
191 FileContentType attachmentType,
192 CompressionType compression);
189 193
190 void ReadJson(Json::Value& result, 194 void ReadJson(Json::Value& result,
191 const std::string& instancePublicId); 195 const std::string& instancePublicId);
192 196
193 // TODO CACHING MECHANISM AT THIS POINT 197 // TODO CACHING MECHANISM AT THIS POINT