Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update /api/stats endpoint #278

Open
ilmartyrk opened this issue Jan 16, 2023 · 5 comments
Open

Update /api/stats endpoint #278

ilmartyrk opened this issue Jan 16, 2023 · 5 comments
Labels
feature Adding a new feature or function.

Comments

@ilmartyrk
Copy link
Member

Update API stats endpoint to also include deleted topics.

@ilmartyrk ilmartyrk added the feature Adding a new feature or function. label Jan 16, 2023
@ssin1901
Copy link

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

@ilmartyrk ilmartyrk added this to Ready for prioritization (triage) in Citizen OS GitHub issue priorities via automation Mar 21, 2023
@ilmartyrk
Copy link
Member Author

@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.

@ilmartyrk ilmartyrk moved this from Ready for prioritization (triage) to In preparation in Citizen OS GitHub issue priorities Apr 13, 2023
@ssin1901
Copy link

@ilmartyrk

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

  • Discussions + Topics
  • deletedDiscussions + deletedTopics
  • Number of topics reported + breakdown/why topic was reported (if possible)
  • language selected
  • active users (can we get any kind of timestamp)?
  • Number of times Notifications was used + breakdown/which notification was used (if possible)
  • Search terms
  • Arguments + breakdown by arguments/which type of argument was selected (if possible)
  • Breakdown of login by type (if possible)

@ilmartyrk
Copy link
Member Author

ilmartyrk commented May 9, 2023

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

  • Discussions + Topics
  • deletedDiscussions + deletedTopics
  • Number of topics reported + breakdown/why topic was reported (if possible)
  • language selected
  • active users (can we get any kind of timestamp)?
  • Number of times Notifications was used + breakdown/which notification was used (if possible)
  • Search terms
  • Arguments + breakdown by arguments/which type of argument was selected (if possible)
  • Breakdown of login by type (if possible)

@ssin1901
Copy link

ssin1901 commented Aug 2, 2023

@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.

@ilmartyrk ilmartyrk removed this from In preparation in Citizen OS GitHub issue priorities Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding a new feature or function.
Projects
Development

No branches or pull requests

2 participants