Push audit logs
Upload audit log entries for hash-chain integrity tracking. Each entry must carry a signature produced by the client.
Request
Method: POST
Path: /api/sync/push/audit-logs
Authentication: Not required
Request Body
Content Type: application/json
Schema: See component schemas below
Responses
200 - Saved
400 - Invalid payload
404 - Tenant not found
500 - Failed to save audit logs
Examples
cURL
curl -X POST \
-H "Content-Type: application/json" \
http://localhost:3000/api/sync/push/audit-logs \
-d '{"example": "data"}'
JavaScript
const response = await fetch('http://localhost:3000/api/sync/push/audit-logs', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
// Request data
}),
});
const data = await response.json();
console.log(data);
This documentation is automatically generated from the OpenAPI specification.