added / and /version to api