sample api documentation