From 4142ac49933c579f266813b96d61ec22e0731d52 Mon Sep 17 00:00:00 2001
From: Jean-Laurent DUZANT <jean-laurent.duzant@xelians.fr>
Date: Fri, 13 Jan 2023 03:03:53 +0100
Subject: [PATCH] FEAT #20284 TIME 0 add new API route
 externalSignatoryBookReturn/{token} -> FastOTPController::getReturnFast()

---
 rest/index.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rest/index.php b/rest/index.php
index 8e12d2431c..f3eb78ae61 100755
--- a/rest/index.php
+++ b/rest/index.php
@@ -100,6 +100,7 @@ $app->put('/documents/{id}/actions/{actionId}', \Document\controllers\DocumentCo
 $app->get('/documents/{id}/workflow', \Workflow\controllers\WorkflowController::class . ':getByDocumentId');
 $app->get('/documents/{id}/workflows/{workflowId}/files/{fileId}', \Workflow\controllers\YousignController::class . ':getByFileId');
 $app->get('/documents/{id}/workflows/{workflowId}/files/{fileId}/fastStatus/{fastStatus}', \Workflow\controllers\FastOTPController::class . ':getReturnFast');
+$app->get('/externalSignatoryBookReturn/{token}', \Workflow\controllers\FastOTPController::class . ':getReturnFast');
 $app->get('/documents/{id}/linkedMailing', \Document\controllers\DocumentController::class . ':getLinkedMailing');
 $app->get('/documents/{id}/thumbnails/{page}', \Document\controllers\DocumentController::class . ':getThumbnailContent');
 $app->put('/documents/{id}/workflows/interrupt', \Workflow\controllers\WorkflowController::class . ':interrupt');
-- 
GitLab