add basic doc style
add response type for each api
using `type` = 'array' to instead of `isArray`