diff --git a/HISTORY.rst b/HISTORY.rst index 549d023641..8e486a8dca 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -167,6 +167,8 @@ - Add setting migrations for the common, converter, documents, file metadata, and document signatures app. - Add document type change API endpoint. +- Change OCR API submit URL from documents/{pk}/submit + to documents/{pk}/ocr/submit. 3.2.10 (2019-XX-XX) =================== diff --git a/mayan/apps/ocr/urls.py b/mayan/apps/ocr/urls.py index 3d2d9b0b25..1bdee11914 100644 --- a/mayan/apps/ocr/urls.py +++ b/mayan/apps/ocr/urls.py @@ -64,7 +64,7 @@ urlpatterns = [ api_urls = [ url( - regex=r'^documents/(?P\d+)/submit/$', + regex=r'^documents/(?P\d+)/ocr/submit/$', view=APIDocumentOCRView.as_view(), name='document-ocr-submit-view' ), url(