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

Discourse Connector - Fetch Data Explorer queries with Discourse API #10

Open
JoseAnaya28 opened this issue Apr 15, 2024 · 3 comments
Open

Comments

@JoseAnaya28
Copy link

For the data we need for comms we need to be able to retrieve the data using data explorer queries according to this: https://meta.discourse.org/t/run-data-explorer-queries-with-the-discourse-api/120063

The goal is ideally to replicate the exact same dashboard as shown here:
image

@JoseAnaya28
Copy link
Author

Identified tables:

  • post_actions
  • posts
  • topics
  • users
  • user_actions
  • user_visits
  • topic_views
  • poll_votes
  • polls
  • poll_options
  • uploads
  • upload_references
  • topic_users
  • groups
  • group_users
  • assignments
  • user_emails
  • categories
  • topic_tags
  • tags

@apentori
Copy link
Collaborator

apentori commented Apr 15, 2024

Posts

Topics

Users

Polls

  • poll_votes ?
  • polls ?
  • poll_options ?

Upload

  • uploads : ?
  • upload_references : ?

Groups

Miscs

@JoseAnaya28
Copy link
Author

topic_views: The objects topics from https://docs.discourse.org/#tag/Topics/operation/listLatestTopics give the view per topic, is that enough ?

Yes, that should be enough

  • pageviews: We can get these from the table application_requests. Needed but I don't see it in API
  • user_visits will be needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants