Manual:$wgVirtualRestConfig

Details
Register REST services in the subarray, and change the default values in the subarray.

The main example is Parsoid, which should be configured using this parameter since MediaWiki 1.25 (see also Extension:VisualEditor). When upgrading from MediaWiki 1.25 to 1.26, the  value must be renamed   (the latter can be added with the same value as the former for a smooth transition).

RESTBase can also be registered in this parameter.