@apteva/integrations 0.3.33 → 0.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apps/omnikit-cms.json +72 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
|
|
5
5
|
"author": "Apteva <hello@apteva.com>",
|
|
6
6
|
"license": "Elastic-2.0",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"name": "update_content_entry",
|
|
222
|
-
"description": "Update
|
|
222
|
+
"description": "Update a content entry's fields. Now does a DEEP MERGE on the data object — only provided fields are changed, others are preserved.\n\nExample: { \"data\": { \"title\": \"New Title\" } } updates only the title. The content, excerpt, and all other fields stay untouched.\n\nFor surgical text edits within a large field (e.g., fixing a typo in a 5000-word article), use patch-content-field instead — it supports find/replace, append, prepend without resending the full content.",
|
|
223
223
|
"method": "PUT",
|
|
224
224
|
"path": "/cms/entries/{id}",
|
|
225
225
|
"input_schema": {
|
|
@@ -849,6 +849,77 @@
|
|
|
849
849
|
"version_number"
|
|
850
850
|
]
|
|
851
851
|
}
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "patch_content_field",
|
|
855
|
+
"description": "Surgically edit a specific field within a content entry without resending the entire content. Ideal for large articles.\n\nOperations (applied in order):\n- set: Replace the entire field value\n- find_replace: Find and replace text (all occurrences). { \"op\": \"find_replace\", \"find\": \"old\", \"replace\": \"new\" }\n- regex_replace: Regex find/replace. { \"op\": \"regex_replace\", \"pattern\": \"\\bfoo\\b\", \"replace\": \"bar\", \"flags\": \"gi\" }\n- append: Add text to end. { \"op\": \"append\", \"value\": \"\\n\\nNew paragraph.\" }\n- prepend: Add text to start. { \"op\": \"prepend\", \"value\": \"Note: Updated.\\n\\n\" }\n\nCreates a version before patching. If entry is published, automatically sets to draft.",
|
|
856
|
+
"method": "POST",
|
|
857
|
+
"path": "/cms/entries/{id}/patch",
|
|
858
|
+
"input_schema": {
|
|
859
|
+
"type": "object",
|
|
860
|
+
"properties": {
|
|
861
|
+
"id": {
|
|
862
|
+
"type": "string",
|
|
863
|
+
"description": "Content entry ID (UUID)"
|
|
864
|
+
},
|
|
865
|
+
"field": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"description": "Name of the field to patch (e.g., 'content', 'title', 'excerpt')"
|
|
868
|
+
},
|
|
869
|
+
"operations": {
|
|
870
|
+
"type": "array",
|
|
871
|
+
"description": "Array of patch operations to apply in order",
|
|
872
|
+
"items": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"op": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"enum": [
|
|
878
|
+
"set",
|
|
879
|
+
"find_replace",
|
|
880
|
+
"regex_replace",
|
|
881
|
+
"append",
|
|
882
|
+
"prepend"
|
|
883
|
+
],
|
|
884
|
+
"description": "Operation type"
|
|
885
|
+
},
|
|
886
|
+
"value": {
|
|
887
|
+
"type": "string",
|
|
888
|
+
"description": "Value for set/append/prepend operations"
|
|
889
|
+
},
|
|
890
|
+
"find": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"description": "Text to find (for find_replace)"
|
|
893
|
+
},
|
|
894
|
+
"replace": {
|
|
895
|
+
"type": "string",
|
|
896
|
+
"description": "Replacement text (for find_replace and regex_replace)"
|
|
897
|
+
},
|
|
898
|
+
"pattern": {
|
|
899
|
+
"type": "string",
|
|
900
|
+
"description": "Regex pattern (for regex_replace)"
|
|
901
|
+
},
|
|
902
|
+
"flags": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"description": "Regex flags (for regex_replace, default: 'g')"
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"required": [
|
|
908
|
+
"op"
|
|
909
|
+
]
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"change_description": {
|
|
913
|
+
"type": "string",
|
|
914
|
+
"description": "Description of the change (stored in version history)"
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"required": [
|
|
918
|
+
"id",
|
|
919
|
+
"field",
|
|
920
|
+
"operations"
|
|
921
|
+
]
|
|
922
|
+
}
|
|
852
923
|
}
|
|
853
924
|
],
|
|
854
925
|
"webhooks": {
|