diff 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
line wrap: on
line diff
--- a/OrthancFramework/Sources/JobsEngine/JobsRegistry.h	Thu Jul 13 19:33:10 2023 +0200
+++ b/OrthancFramework/Sources/JobsEngine/JobsRegistry.h	Thu Jul 20 10:51:34 2023 +0200
@@ -147,6 +147,8 @@
     bool GetJobInfo(JobInfo& target,
                     const std::string& id);
 
+    bool DeleteJobInfo(const std::string& id);
+
     bool GetJobOutput(std::string& output,
                       MimeType& mime,
                       std::string& filename,