هل ستكون الأصوات/الإجابات متاحة عبر واجهات برمجة تطبيقات discourse؟
أعتقد أن أفضل طريقة للتحقق مما إذا كان شيء ما متاحًا عبر واجهة برمجة التطبيقات (API) إذا لم يكن موثقًا بالفعل على https://docs.discourse.org/ هي اتباع هذا الدليل:
Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api.
Many of the endpoints are properly documented in the discourse_api gem, however some endpoints lack documentation.
To determine how to do something with the JSON API here are some steps you can follow.
Example: recategorize a topic.
Go to a topic and start editing a category:
[image]
Open Chrome dev tools, switch to the Network tab, select XHR filter:
[image]
Perform the op…