From 0564bd23f2c270c389455082ef53be8d7f8a6219 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 4 Aug 2023 15:41:35 +0200 Subject: feat: Add delete task API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl (cherry picked from commit fca1c309a025e34cc5d635766796d9e5b4f9386b) Signed-off-by: Julien Veyssier --- core/routes.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/routes.php') diff --git a/core/routes.php b/core/routes.php index 90578ee6f0d..ad8638e0b1e 100644 --- a/core/routes.php +++ b/core/routes.php @@ -149,6 +149,7 @@ $application->registerRoutes($this, [ ['root' => '/textprocessing', 'name' => 'TextProcessingApi#taskTypes', 'url' => '/tasktypes', 'verb' => 'GET'], ['root' => '/textprocessing', 'name' => 'TextProcessingApi#schedule', 'url' => '/schedule', 'verb' => 'POST'], ['root' => '/textprocessing', 'name' => 'TextProcessingApi#getTask', 'url' => '/task/{id}', 'verb' => 'GET'], + ['root' => '/textprocessing', 'name' => 'TextProcessingApi#deleteTask', 'url' => '/task/{id}', 'verb' => 'DELETE'], ['root' => '/textprocessing', 'name' => 'TextProcessingApi#listTasksByApp', 'url' => '/tasks/app/{appId}', 'verb' => 'GET'], ], ]); -- cgit v1.2.3