https://bugzilla.wikimedia.org/show_bug.cgi?id=56621

       Web browser: ---
            Bug ID: 56621
           Summary: Properly document the web API interface
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Web API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to