parameters: (self, request, format=None)
return_statement: return Response(data)
docstring: List supported API versions
docstring_summary: List supported API versions
docstring_tokens: List supported API versions
function: def get(self, request, format=None):
          '''List supported API versions'''
  
          v2 = reverse('api:api_v2_root_view', kwargs={'version': 'v2'})
          data = OrderedDict()
          data['description'] = _('AWX REST API')
          data['current_version'] = v2
          data['available_versions'] = dict(v2=v2)
          data['oauth2'] = drf_reverse('api:oauth_authorization_root_view')
          data['custom_logo'] = settings.CUSTOM_LOGO
          data['custom_login_info'] = settings.CUSTOM_LOGIN_INFO
          data['login_redirect_override'] = settings.LOGIN_REDIRECT_OVERRIDE
          return Response(data)
function_tokens: def get ( self , request , format = None ) : v2 = reverse ( 'api:api_v2_root_view' , kwargs = { 'version' : 'v2' } ) data = OrderedDict ( ) data [ 'description' ] = _ ( 'AWX REST API' ) data [ 'current_version' ] = v2 data [ 'available_versions' ] = dict ( v2 = v2 ) data [ 'oauth2' ] = drf_reverse ( 'api:oauth_authorization_root_view' ) data [ 'custom_logo' ] = settings . CUSTOM_LOGO data [ 'custom_login_info' ] = settings . CUSTOM_LOGIN_INFO data [ 'login_redirect_override' ] = settings . LOGIN_REDIRECT_OVERRIDE return Response ( data )