Most Flow API read and write interactions are submodules of
action=query&prop=flowinfo[edit | edit source]
Indicates if Flow is enabled on the specified pages.
Example: get Flow info where "Talk:Sandbox" has Flow enabled, "Main Page" does not, and "Talk:Foo" does not exist.
<api> <query> <pages> <page ns="1" title="Talk:Foo" missing="" /> <page pageid="1423" ns="0" title="Main Page"> <flowinfo> <flow /> </flowinfo> </page> <page pageid="186417" ns="1" title="Talk:Sandbox"> <flowinfo> <flow enabled="" /> </flowinfo> </page> </pages> </query> </api>
action=flow[edit | edit source]
All action=flow requests take the following parameters:
submodule: The specific flow submodule you want to use. See below for docs on each of them
workflow: Id of the workflow to take action upon
page: Page title of the page to take action upon
token: An edit token (see API:Tokens). This is required for all write modules.
render: Include this to have an HTML rendering be returned in the output. Used by the extension's JS modules.
new-topic[edit | edit source]
Creates new topics on the given page or workflow Create a new topic with the subject of "The new topic" and content of "Content of new topic".
<?xml version="1.0"?><api> <flow> <new-topic status="ok"> <result> <topiclist created-topic-id="rwwggvyb8pz4w54x" created-post-id="rwwggvyfx3a2wpa9" /> </result> </new-topic> </flow> </api>
action=flow-parsoid-utils[edit | edit source]
Wrapper for converting code between wikitext and html.