Add api call for version endpoint