diff --git a/docs/api.md b/docs/api.md index 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.py index 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 field WHEN: - API to edit tags is called THEN: