def restart(id, name = '', service = 'facebook')
      fail BadParametersError, 'id is required' if id.empty?
      fail BadParametersError, 'service is required' if service.empty?

      params = { id: id }
      params.merge!(name: name) unless name.empty?

      DataSift.request(:PUT, build_path(service, 'pylon/start', @config), @config, params)
    end
def restart(id, name = '', service = 'facebook')
      fail BadParametersError, 'id is required' if id.empty?
      fail BadParametersError, 'service is required' if service.empty?

      params = { id: id }
      params.merge!(name: name) unless name.empty?

      DataSift.request(:PUT, build_path(service, 'pylon/start', @config), @config, params)
    end
Restart an existing PYLON recording by making an /pylon/start API call with a recording ID

 @param id [String] CSDL you wish to begin (or resume) recording
 @param name [String] Give your recording a name. Required when starting a
   new recording
 @param service [String] The PYLON service to make this API call against
 @return [Object] API reponse object