     end
     reply = case reply do
       {:ok, res} ->
+        res = res.data
+          |> Map.drop(["changes", "prev", "rule"])
+          |> Map.put("status", res.status)
         {:ok, json_reply} = Poison.encode(res)
         {:ok, reply} = :cowboy_req.reply(200, [
             {"content-type", "application/json"}

          )
        reply
      {:error, res} ->
        {:ok, json_reply} = Poison.encode(res)
        {:ok, reply} = :cowboy_req.reply(404, [
            {"content-type", "application/json"}

    # Do trigger
    {uuid, _} = :cowboy_req.binding(:uuid, req)
    {qsvals, _} = :cowboy_req.qs_vals(req)
    qsvals = %{
      "id" => uuid,
      "data" => Map.new(qsvals)
    }

    trigger_data = try do
      Serverboards.RulesV2.Rule.trigger_type(uuid)
