   * `body`     - Filter in json
   """
   def register(index_id, token, uuid, body) do
-    do_percolate(index_id, token, uuid, body)
+    do_register(index_id, token, uuid, body)
   end
 
   @doc """

      |> delete
  end

  defp do_unpercolate(path) do
    del = delete path
    {del.status_code, del.body}
  end

  defp do_percolate(index_id, token, uuid, body) do
    id = "#{token}-#{uuid}"
    percolation = put("/_percolator/#{index_id}_#{Mix.env}/#{id}", body)
    {:ok, body} = JSEX.decode(percolation.body)

  * `uuid`     - Filter's id
  """
  def unregister(index_id, token, id) do
    do_unregister("/_percolator/#{namespace(index_id)}/#{token}-#{id}")
  end

  @doc """
