comparison OrthancFramework/Sources/JobsEngine/JobsRegistry.h @ 5310:b5c502bcaf99

added a route to DELETE /jobs/../archive
author Alain Mazy <am@osimis.io>
date Mon, 12 Jun 2023 18:42:06 +0200
parents 0ea402b4d901
children b5f2122a1334
comparison
equal deleted inserted replaced
5309:fb231da5c0f1 5310:b5c502bcaf99
151 MimeType& mime, 151 MimeType& mime,
152 std::string& filename, 152 std::string& filename,
153 const std::string& job, 153 const std::string& job,
154 const std::string& key); 154 const std::string& key);
155 155
156 bool DeleteJobOutput(const std::string& job,
157 const std::string& key);
158
156 void Serialize(Json::Value& target); 159 void Serialize(Json::Value& target);
157 160
158 void Submit(std::string& id, 161 void Submit(std::string& id,
159 IJob* job, // Takes ownership 162 IJob* job, // Takes ownership
160 int priority); 163 int priority);