Details
-
Improvement
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
Description
+This is currently not working .. YC does NOT receive update notifications after editing content in ezstudio+
YC should receive a notification (YooChooseNotifier) about local eZ content updates to keep in the recommendation service in sync with eZ content
The currently used target URL is: https://yaml-configured-server-endpoint/api/v4/publisher/ez/[mandator]/notification
it should be switched to the same endpoint like the full content export: https://yaml-configured-server-endpoint/api/[mandator]/items
What about authentication? In the FULL import you send us login and password together with URIs. Will you do the same in UPDATE?
Additionally the contentTypeId and lang values should be added to the json, the transaction value can be null or follow the format of the full export (e.g. 20170104084311232)
{ "transaction" : null, "events" : [ { "action" : "UPDATE", "uri": "<ez-installation-endpoint>/api/ezp/v2/content/objects/123456" } ] }
{ "transaction" : null, "events" : [ { "action" : "UPDATE", "uri": "<ez-installation-endpoint>/api/ezp/v2/content/objects/123456", "contentTypeId" : 16, "lang" : "eng-GB" } ] }