Onion repository REST service