📊 Galappxy Audit API
Testing Dashboard
v1.0 - Audit Endpoints
⚙️ Configuración
Base URL:
Digest
POST
/services/audit/v1/audit/digest/
{ "payload": { "context": { "service_name": "test-app", "request_token": "test-token-123", "id_branch": 1, "id_company": 1 }, "audit": { "event_key": "test.event", "event_type": "test", "description": "Test event from dashboard" }, "sql_logs": [ { "sql": "SELECT * FROM STUDENT WHERE id = ?", "params": [123], "ok": true, "ms": 45, "rowCount": 1 } ] } }
🚀 Probar Endpoint
Login Attempt
POST
/services/audit/v1/audit/login-attempt/
{ "payload": { "identifier": "user@example.com", "identifier_type": "email", "id_company": 1, "ip": "192.168.1.100", "user_agent": "Mozilla/5.0 (Test Browser)", "success": true, "failure_reason": null } }
🚀 Probar Endpoint
API Request Log
POST
/services/audit/v1/api/request/
{ "payload": { "id_api_key": 1, "id_permission": 10, "endpoint": "/v1/students", "method": "GET", "ip_address": "203.0.113.42", "user_agent": "ClientApp/1.0", "status_code": 200, "response_time_ms": 145, "error_code": null, "rate_limit_remaining": 29 } }
🚀 Probar Endpoint
Webhook Delivery
POST
/services/audit/v1/webhook/delivery/
{ "payload": { "id_webhook": 1, "event_type": "student.created", "payload_json": { "id": 456, "name": "Juan Pérez", "email": "juan@example.com" }, "http_status": 200, "response_time_ms": 234, "error_message": null, "attempts": 1, "next_retry_at": null, "delivered_at": "2026-02-16 03:00:00" } }
🚀 Probar Endpoint
📥 Respuesta del Servidor
Selecciona un endpoint y haz clic en "Probar Endpoint"...