Stream: cds hooks
Topic: Hook-response
Tejay Cardon (Mar 27 2019 at 14:41):
looking through the hooks spec, I don't see any way for a hook client to inform the hook service when a user applies a suggestion. Is this something that has been discussed? I would see great value in some enumeration of suggestion responses (applied, acknowledged, hidden, rejected) and a webhook or other means for the client to inform the provider of the disposition of their suggestions.
Dennis Patterson (Mar 27 2019 at 16:59):
There was an analytics endpoint which was removed (https://github.com/cds-hooks/docs/pull/382) in the May 2018 ballot because I heard there weren't CDS services actually making use of that endpoint to do anything. If you see validity in adding it (or similar) back, you could log a GitHub issue to start that conversation
Tejay Cardon (Mar 27 2019 at 20:51):
Thanks @Dennis Patterson . I'll look into it. We certainly have some very strong use cases.
Anshu Nigam (Jun 05 2019 at 02:53):
As analytics endpoint has been removed. Is there alternative has been provided?
Anshu Nigam (Jun 05 2019 at 02:56):
When some action is taken on suggestion, how to notify CDS service which one? as analytics endpoint has been removed.
Isaac Vetter (Jun 06 2019 at 17:02):
Hey @Anshu Nigam , there is not currently an alternative method to notify the CDS service of the results of its guidance. In practice, my understanding is that this is typically done periodically, through some type of reporting instead of in realtime. We are hoping to pick up this feature and refine it and gain some implementation experience as part of a future release of CDS Hooks.
Last updated: Apr 12 2022 at 19:14 UTC