Closed jonase closed 5 years ago
Currently the information on the /stats endpoint is reset each time the process restarts.
/stats
Current improvement suggestion:
/stats/<org-id>?eventTypes=<list,of,event,types>&since=<timestamp>&before=<timestamp>
The response could look something like
{"stats": {"orgId": "akvoflow-123", "dataPointCreated": 9123, "dataPointUpdated": 12112}}
Currently the information on the
/stats
endpoint is reset each time the process restarts.Current improvement suggestion:
/stats/<org-id>?eventTypes=<list,of,event,types>&since=<timestamp>&before=<timestamp>
The response could look something like