collecting all available API versions to a list

and export it making it available for /api/versions