Set the routes constraints for the api
Finished versioning