Promote REST api to v1

Change v0 in URLs and package names to v1.