restlet api dependency in server