A big motivation behind the [Virtual Rest Service RFC](https://www.mediawiki.org/wiki/Requests_for_comment/PHP_Virtual_REST_Service) was to provide a generic and universal interface for the interaction with local or remote services from PHP code. So far, we have only partially achieved this goal. The VRS code is in code, but each consumer still needs to set up their own VRS service.
To actually achieve the degree of generality and abstraction we aimed for, we should centrally configure a general VRS object, and make it available to any core code or extension code, perhaps from RequestContext. The URL structure would ideally mirror that of our external APIs at /api/, without the current per-service prefixes like /restbase/.