make sure we only respond to list api and detail
api result.