Page MenuHomePhabricator

GET /:domain/v3/page/:format/:title/:revision?
Open, Needs TriagePublic

Description

Endpoint to get the HTML version of an existing title or revision.

Definition here: https://www.mediawiki.org/wiki/Parsoid/API#GET

:domain defines the project, e.g. en.wikipedia.org. :format is one of html or pagebundle, where pagebundle format is defined in the API docs. https://www.mediawiki.org/wiki/Parsoid/API#Common_path_parameters_across_all_requests

Event Timeline

Tgr claimed this task.Jun 11 2019, 3:34 PM

Change 518682 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/services/parsoid@master] Add REST API endpoints for wt->html

https://gerrit.wikimedia.org/r/518682

Change 518682 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Add REST API endpoints for wt->html

https://gerrit.wikimedia.org/r/518682

RI involvement has officially ended in June. The code is functional but not production quality, I'll try to find the time to fix it up at some point but can't make any promises.