def get(self, request, format=None): # list supported API versions current = reverse('api:api_v1_root_view', args=[]) data = dict( description='GALAXY REST API', current_version='v1', available_versions=dict(v1=current), server_version=version.get_package_version('galaxy'), version_name=version.get_version_name(), team_members=version.get_team_members(), ) return Response(data)
def get(self, request, format=None): # list supported API versions data = dict( description='GALAXY REST API', current_version='v1', available_versions=dict( v1="v1/", v2="v2/", ), server_version=version.get_package_version('galaxy'), version_name=version.get_version_name(), team_members=version.get_team_members(), ) return Response(data)