added  rest  interfact  doco  and fixed  links