Information needed for Flow Thanks API: reorder
← Older revision
Revision as of 22:59, 8 February 2014
Line 24:
Line 24:
== Information needed for Flow Thanks API ==
== Information needed for Flow Thanks API ==
* PostRevision ID (post-id)
* PostRevision ID (post-id)
−
* Workflow ID (workflow)
−
* Page title (title)
* User ID of the original author (recipient; $origUserId in PostRevision)
* User ID of the original author (recipient; $origUserId in PostRevision)
+
* Workflow ID (workflow)
* Title of the topic (topic-title)
* Title of the topic (topic-title)
−
* <del>User object for the user sending Thanks</del> ApiBase (through ContextSource) gives this to us for free
+
* Page title (title)
* Edit token (token; mw.user.tokens.values.editToken)
* Edit token (token; mw.user.tokens.values.editToken)
+
* <del>User object for the user sending Thanks</del> ApiBase (through ContextSource) gives this to us for free
Sample API request from Thanks:
Sample API request from Thanks: