code: def add_channel(self, channel, owner, package=None, version=None, filename=None):
          '''
          Add a channel to the specified files
          
          :param channel: channel to add
          :param owner: The user to add the channel to (all files of all packages for this user)
          :param package: The package to add the channel to (all files in this package)
          :param version: The version to add the channel to (all files in this version of the package)
          :param filename: The exact file to add the channel to
          
          '''
          url = '%s/channels/%s/%s' % (self.domain, owner, channel)
          data, headers = jencode(package=package, version=version, basename=filename)
  
          res = self.session.post(url, data=data, headers=headers)
          self._check_response(res, [201]f add_channel(self, channel, owner, package=None, version=None, filename=None):
          '''
          Add a channel to the specified files
          
          :param channel: channel to add
          :param owner: The user to add the channel to (all files of all packages for this user)
          :param package: The package to add the channel to (all files in this package)
          :param version: The version to add the channel to (all files in this version of the package)
          :param filename: The exact file to add the channel to
          
          '''
          url = '%s/channels/%s/%s' % (self.domain, owner, channel)
          data, headers = jencode(package=package, version=version, basename=filename)
  
          res = self.session.post(url, data=data, headers=headers)
          self._check_response(res, [201])
docs: Add a channel to the specified files
          
          :param channel: channel to add
          :param owner: The user to add the channel to (all files of all packages for this user)
          :param package: The package to add the channel to (all files in this package)
          :param version: The version to add the channel to (all files in this version of the package)
          :param filename: The exact file to add the channel to