Add get detail of a resource to API; remove the dependency of the domain in the view...