Add version to API endpoint