A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Documentation: correct modify_tags param requirement
shamoonfc68f55d1a08
diff --git a/docs/api.md b/docs/api.mdindex ac9bac912..327c3220c 100644--- a/docs/api.md+++ b/docs/api.md@@ -444,7 +444,7 @@ The following methods are supported:- `remove_tag`- Requires `parameters`: `{ "tag": TAG_ID }`- `modify_tags`- - Requires `parameters`: `{ "add_tags": [LIST_OF_TAG_IDS] }` and / or `{ "remove_tags": [LIST_OF_TAG_IDS] }`+ - Requires `parameters`: `{ "add_tags": [LIST_OF_TAG_IDS] }` and `{ "remove_tags": [LIST_OF_TAG_IDS] }`- `delete`- No `parameters` required- `reprocess`diff --git a/src/documents/tests/test_api_bulk_edit.py b/src/documents/tests/test_api_bulk_edit.pyindex 28c6de336..bcbe5922d 100644--- a/src/documents/tests/test_api_bulk_edit.py+++ b/src/documents/tests/test_api_bulk_edit.py@@ -211,7 +211,7 @@ class TestBulkEditAPI(DirectoriesMixin, APITestCase):def test_api_modify_tags_not_provided(self, m):"""GIVEN:- - API data to modify tags is missing modify_tags field+ - API data to modify tags is missing remove_tags fieldWHEN:- API to edit tags is calledTHEN: