added api documentation for response widget