Metrics only if we are connected on local center or standalone.
GET {{baseUrl}}/dashboard/protocols/counts
Metrics and top centers if we are connected on global center filter by enrolled local center in params Warning: this endpoint is cached. This means that the returned data is not necessarily the latest. The cache is automatically updated, but can also be updated at will thanks to POST /dashboard/{widget_id}/refresh. More over, we can notify we are using this data with POST /dashboard/ping, and then increase its refresh priority.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
centerId | string | enrolled local center id for which we want the metrics | |
limit | string | number of centers sent in payload |