oauth2 use getParameter
add simple and version api documentation
fix test