The V1
is not necessary, but it does provide a mechanism for releasing a new version of your API (backward compatibility). You would create a new endpoint and declare it in webapi.xml
with V2
in the URL. The V1
URL would be left in this file so APIs can request data from either.