Add stubs for rest API in client only