In order to replace certain /api/rest_v1 endpoints, we need to have something in MediaWiki that generates a compatible responser. The MediaWiki REST API error format does not match RESTbase. So the easiest approach seemed to be to add a compatibility mode, triggered using the x-restbase-compat header. This can be set via the gateway when rerouting the request. Bug: T374136 Change-Id: I73934940d367be52941bd27861c248ab5bcfb5d2 |
||
|---|---|---|
| .. | ||
| action | ||
| data/Transform | ||
| REST | ||
| .api-testing-quibble.json | ||
| .eslintrc.json | ||