added api documentation for request widget