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):

RESTBase can also be configured in.