Get list of wiki editors

(Bolarinwa Balogun) #1

I’m working on a plugin that notifies editors of a wiki post when that post has been edited. I was wondering how to get the list of editors of a wiki post so that I can send them a notification when the wiki post has been edited.

Thank you.

(Jay Pfaffman) #2

It’s something like this:

From there you can find:

first_revision: 2,
previous_revision: 3,
current_revision: 4,
next_revision: null,
last_revision: 4,
current_version: 4,
version_count: 4,

and then get things like this:

(Bolarinwa Balogun) #3

Thank you. How did you get the json files?

(Jay Pfaffman) #4

Something like this: How to reverse engineer the Discourse API