lib/mutx/routes.rb in mutx-0.1.40 vs lib/mutx/routes.rb in mutx-0.1.42
- old
+ new
@@ -608,9 +608,14 @@
on "api/results/:id/status" do |result_id|
output = Mutx::API::Result.status(result_id)
res.write output.to_json
end
+ on "api/results/:id/output" do |result_id|
+ output = Mutx::API::Result.output(result_id)
+ res.write output.to_json
+ end
+
on "api/results/:id" do |result_id|
res.write(Mutx::API::Result.info(result_id).to_json)
end
on "api/results/:id/reset" do |result_id|
\ No newline at end of file