سؤال حول حافلة الأحداث في Discourse

أعتذر إذا كان هذا ليس المكان الصحيح، لكن هل يقوم Discourse بإطلاق حدث عند طلب ملف JSON الخاص بالملف الشخصي عبر HTTP؟
على سبيل المثال: https://meta.discourse.org/u/Marcy.json.

No it does not, you would have to write a plugin to intercept that info.

I’d like to but I’m unsure where to start. I want to change information on the JSON file before it’s displayed to the client.

That would mean you want to amend the serializer, look at plugins such as discourse assign or discourse solved that make serializer changes.

Thanks for the tip, I found this which I assume makes the {Username}.json file?
https://github.com/discourse/discourse/blob/master/app/serializers/user_serializer.rb

Is there any Discourse Ruby API on what events exist, etc? As I don’t know how I’d make changes to it before being displayed as I wanna change the email field before it’s displayed.