We need to be able to configure the whole request from RESTBase to Parsoid in order to provide a Host header when Parsoid API would live in Mediawiki. In order to achieve that we need to provide a full request template in the configuration instead of just the parsoid host.
|Resolved||ssastry||T229015 Tracking: Direct live production traffic at Parsoid/PHP|
|Resolved||EvanProdromou||T221158 Parsoid REST API in PHP|
|Resolved||EvanProdromou||T221173 Resolve domains in path of endpoints for Parsoid REST API|
|Resolved||Pchelolo||T224487 Make RESTBase take full request template for Parsoid requests|
IIRC, the current stage is to have Parsoid/PHP implement the same internal endpoints that are implemented by Parsoid/JS so it can be tested as a drop-in replacement. As Parsoid/JS is currently "behind" RESTBase, Parsoid/PHP will be too.
Once we've gotten Parsoid/PHP to the point where we can end the parallel maintenance of Parsoid/JS, we can start changing things further.