intsoft's picture
Esclarecer limites da avaliação e validar notas vazias
11ca5a6 verified
Raw History Blame Contribute Delete
1.21 kB
window.COMENTA_CONFIG = {
"title": "Webhooks assinados (HMAC) & API REST",
"description": "Avaliação funcional: Assina e verifica HMAC-SHA256 dos bytes exatos de um JSON usando Web Crypto.",
"limitation": "Assina e verifica HMAC-SHA256 dos bytes exatos de um JSON usando Web Crypto. Gera exemplo REST e plano de retry; não hospeda API REST de integração, não entrega eventos e não faz requisições. Use apenas chave fictícia.",
"fields": [
{
"id": "payload",
"label": "Payload JSON fictício (bytes exatos serão assinados)",
"value": "{\"event\":\"conversation.resolved\",\"id\":\"exemplo-01\"}",
"json": true
},
{
"id": "key",
"label": "Chave fictícia de teste (NUNCA use credencial real)",
"value": "chave-ficticia-para-teste",
"type": "input",
"password": true
},
{
"id": "signature",
"label": "Assinatura recebida, opcional (64 hex ou sha256=...)",
"value": "",
"type": "input"
},
{
"id": "attempts",
"label": "Quantidade de tentativas no plano (1 a 8)",
"value": "4",
"type": "input"
}
],
"fn": "webhook",
"slug": "comenta-webhooks-hmac"
};