POST/api/public/widget/rating
Ziyarətçinin söhbətə verdiyi sadə bəyənmə/bəyənməmə qiymətləndirməsini qeyd edir.
Auth & Absicherung
Widget-Embed-Token (Header X-Widget-Token) + Origin-Freigabeliste
Idempotent: Ja
Parameter
widget_code(body, string, erforderlich)session_id(body, string, erforderlich)visitor_id(body, string, erforderlich)helpful(body, boolean, erforderlich)Beispiel-Request
{"widget_code":"...","session_id":"...","visitor_id":"...","helpful":true}Beispiel-Response
{"ok":true}Fehlercodes
400 VISITOR_REQUIRED — visitor_id yoxdur.400 HELPFUL_REQUIRED — helpful çatışmır.Live-Test-Nachweis
Uğur (200) və mənfi hallar (400, hər birində məcburi sahə çatışmır) canlı yoxlanılıb.