add api/v2 and change ignore file