documentaion added for sample api