detail rest view