Mathoid currently exposes only one endpoint - POST / - which transforms the given TeX and returns all of the enabled formats. With its imminent integration with RESTBase (cf T102030 and T105975), it would be preferable to have a route that allows the client to specify the sought format and return only that. That can be as easy as creating the route /:format in Mathoid, checking the format and returning the render while setting the appropriate Content-Type header.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Create separate endpoints for formats | mediawiki/services/mathoid | master | +143 -51 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | Physikerwelt | T87390 Math extension should not use a wmflabs.org address as default $wgMathMathMLUrl | |||
Resolved | • mobrovac | T102030 Document and hook up public mathoid end point in RB | |||
Resolved | Physikerwelt | T106509 Create separate endpoints for formats |
Event Timeline
Comment Actions
Change 226291 had a related patch set uploaded (by Physikerwelt):
Create separate endpoints for formats