بوت Slack مع إحصائيات مسؤول Discourse

مرحبًا بالجميع! نبحث عن بعض التوجيه فيما يتعلق بعملية التطوير لدينا.

ما الذي نريد بناؤه؟

سوف يقوم روبوت Slack باستخراج بيانات مثل (المستخدمون الجدد، المواضيع المنشورة، الحلول المُنشأة، الإعجابات الممنوحة، إلخ) من لوحة التحكم الإدارية في Discourse، ونشرها يوميًا أو أسبوعيًا عبر روبوت Slack في أحد القنوات الموجودة لدينا على Slack.

السؤال

هل قام أي شخص ببناء شيء مشابه من قبل؟ نقدر جدًا أي نصائح أو توجيهات!

إعجابَين (2)

I haven’t seem to find any API endpoints in Discourse API to be able to fetch that data

You can fetch all the report data (well, any data in Discourse) via the API. Check out

For the report data, you can just add .json to the URL. For example /admin/reports/topics.json?end_date=2020-01-26&start_date=2019-12-26 will get you all the data for the topics report.

3 إعجابات

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.