Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/JobsRegistry.h @ 5364:b5f2122a1334
Added a route to delete completed jobs from history: DELETE /jobs/{id}
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 20 Jul 2023 10:51:34 +0200 |
parents | b5c502bcaf99 |
children | 48b8dae6dc77 |
comparison
equal
deleted
inserted
replaced
5362:78aad3916da4 | 5364:b5f2122a1334 |
---|---|
145 void ListJobs(std::set<std::string>& target); | 145 void ListJobs(std::set<std::string>& target); |
146 | 146 |
147 bool GetJobInfo(JobInfo& target, | 147 bool GetJobInfo(JobInfo& target, |
148 const std::string& id); | 148 const std::string& id); |
149 | 149 |
150 bool DeleteJobInfo(const std::string& id); | |
151 | |
150 bool GetJobOutput(std::string& output, | 152 bool GetJobOutput(std::string& output, |
151 MimeType& mime, | 153 MimeType& mime, |
152 std::string& filename, | 154 std::string& filename, |
153 const std::string& job, | 155 const std::string& job, |
154 const std::string& key); | 156 const std::string& key); |