From a819539ad6876c6133f4ca66165e46919e9e702b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:01:31 -0800 Subject: [PATCH] Update docs --- docs/api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api.md b/docs/api.md index c5f20edd1..92032cde0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -473,6 +473,11 @@ The following methods are supported: - Requires `parameters`: - `"pages": [..]` The list should be a list of integers e.g. `"[2,3,4]"` - The delete_pages operation only accepts a single document. +- `modify_custom_fields` + - Requires `parameters`: + - `"add_custom_fields": [{ CUSTOM_FIELD_ID: VALUE }]`: array of custom field id:value pairs to add to the document, can also be a list of custom field IDs + to add with empty values. + - `"remove_custom_fields": [CUSTOM_FIELD_ID]`: custom field ids to remove from the document. ### Objects