code: def kindpath(self, kind):
          
          if kind == 'tcp':
              return UrlEncoded('tcp/raw', skip_encode=True)
          elif kind == 'splunktcp':
              return UrlEncoded('tcp/cooked', skip_encode=True)
          else:
              return UrlEncoded(kind, skip_encode=True)
docs: Returns a path to the resources for a given input kind.
  
          :param `kind`: The kind of input:
  
              - "ad": Active Directory
  
              - "monitor": Files and directories
  
              - "registry": Windows Registry
  
              - "script": Scripts
  
              - "splunktcp": TCP, processed
  
              - "tcp": TCP, unprocessed
  
              - "udp": UDP
  
              - "win-event-log-collections": Windows event log
  
              - "win-perfmon": Performance monitoring
  
              - "win-wmi-collections": WMI
  
          :type kind: ``string``
  
          :return: The relative endpoint path.
          :rtype: ``string``