Dear Discourse Team,
I was looking for the API to add certain Categories to user’s Watching/Tracking list, however I could get only ‘SQL/Launcher’ based insertion ideas from here.
My purpose is that, we have 50K+ users, who will be assigned to different groups based on their subscription in our non Discourse platform and in the forum we will have different Categories named similar as Group name to make it more meaningful. When a user is created, by default user has 0 notification settings, and they can opt for Category notification from our non Discourse platform.
Or have to install this plugin in order to achieve my purpose.
Then I looked at the network requests happening here,
On saving the form its doing a PUT method call to
with following parameters,
muted_category_ids:-1 watched_category_ids:-1 tracked_category_ids:-1 watched_first_post_category_ids:-1
Then I’ve tried the same with API key & API Username, and it worked as expected, I could make a user add/remove watching a group through the API call, with category ID(s); which I got through categories list API. With this option, a user can subscribe to any Categories of his/her choice!!
My worry or question is, as it is not documented at the moment, will this feature get removed in future? Or will this be documented in the API docs?
Sorry, if I have duplicated it, couldn’t get a resource with the searches I did. Thank you!