dealing with v1 in urls of api