Add basic rest endpoint