@aere/cloud 1.2.0: auditLog({day, offset, limit})
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
3ff4bb4a9a
commit
c08858710a
@ -87,6 +87,13 @@ export class AereCloud {
|
||||
}
|
||||
readinessReport(domain) { return this._req('GET', `/pq/readiness/${encodeURIComponent(domain)}`, { auth: false }); }
|
||||
|
||||
// audit log of every keyed request of this account for one UTC day (append-only, paged), with the day file's sha256
|
||||
auditLog({ day, offset = 0, limit = 1000 } = {}) {
|
||||
const q = new URLSearchParams({ offset: String(offset), limit: String(limit) });
|
||||
if (day) q.set('day', day);
|
||||
return this._req('GET', `/account/audit?${q}`);
|
||||
}
|
||||
|
||||
// ---- webhooks ----
|
||||
listWebhooks() { return this._req('GET', '/webhooks'); }
|
||||
createWebhook(spec) { return this._req('POST', '/webhooks', { body: spec }); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user