Pulsarr

Get notification statistics

GET
/v1/stats/notifications

Retrieve notification statistics for a specified time period

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Query Parameters

days?integer
Range0 <= value <= 9007199254740991
Default30

Response Body

Default Response

application/json
  1. response

Notification totals broken down by type, channel and user

total_notifications*number
by_type*array<>
by_channel*array<>
by_user*array<>
Example Request
curl -X GET 'http://localhost:3003/v1/stats/notifications'
Example Response
{  "total_notifications": 0,  "by_type": [    {      "type": "string",      "count": 0    }  ],  "by_channel": [    {      "channel": "string",      "count": 0    }  ],  "by_user": [    {      "user_name": "string",      "count": 0    }  ]}