RESTWS-369: Allow to expose resources for different API

https://tickets.openmrs.org/browse/RESTWS-369