MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / getSystemEvents

Method getSystemEvents

frontend/src/api.js:3654–3669  ·  view source on GitHub ↗
(limit = 100, offset = 0, eventType = null)

Source from the content-addressed store, hash-verified

3652 }
3653
3654 static async getSystemEvents(limit = 100, offset = 0, eventType = null) {
3655 try {
3656 const params = new URLSearchParams();
3657 params.append('limit', limit);
3658 params.append('offset', offset);
3659 if (eventType) {
3660 params.append('event_type', eventType);
3661 }
3662 const response = await request(
3663 `${host}/api/core/system-events/?${params.toString()}`
3664 );
3665 return response;
3666 } catch (e) {
3667 errorNotification('Failed to retrieve system events', e);
3668 }
3669 }
3670
3671 // ─────────────────────────────
3672 // System Notifications

Callers 1

getSystemEventsFunction · 0.80

Calls 2

requestFunction · 0.85
errorNotificationFunction · 0.85

Tested by

no test coverage detected