Page MenuHomePhabricator

Properly document the web API interface
Closed, ResolvedPublic

Description

The web API was cleaned up in https://gerrit.wikimedia.org/r/#/c/91321/. We should document this both on the landing page at / and https://www.mediawiki.org/wiki/Parsoid.

GET /prefix/page -- works just as it does now. No wikitext passed in.
POST /prefix/{page} -- with page optional.

  • if "wt" is provided, convert wt2html. "body" flag to return just the body
  • if "html" is provided, convert html2wt ("content" works too for bc)

Version: unspecified
Severity: enhancement

Details

Reference
bz56621

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:40 AM
bzimport set Reference to bz56621.

Lowering prio to normal, as this is pretty much done.

marcoil added a project: Parsoid.
marcoil set Security to None.