citizenos / citizenos-api

Citizen OS API application - https://api.citizenos.com/
Other
31 stars 8 forks source link

Update /api/stats endpoint #278

Open ilmartyrk opened 1 year ago

ilmartyrk commented 1 year ago

Update API stats endpoint to also include deleted topics.

ssin1901 commented 1 year ago

What other endpoints are connected to the Users stats other than active and deleted users?

ilmartyrk commented 1 year ago

@ssin1901 Do you need any other statistics that should be included in this endpoint, this endpoint is currently meant for displaying data on the webpage.

ssin1901 commented 1 year ago

@ilmartyrk

Can we collect the following endpoints? We can discuss this on Slack

ilmartyrk commented 1 year ago

So to clarify these requests are actually related to our statistics file not API endpoint at least for now

ssin1901 commented 1 year ago

@ilmartyrk we agreed that we show topics where deletedAt is NULL but title is not NULL. However, then the stats point on our website should be showing 2821 and not 3851 for discussions.