lib/cellect/server/api/sets.rb in cellect-server-0.1.3 vs lib/cellect/server/api/sets.rb in cellect-server-1.0.0

- old
+ new

@@ -10,11 +10,11 @@ # user_id: integer, optional # group_id: integer, optional get do workflow.sample selector_params end - + # PUT /workflows/:workflow_id/add # # Adds a subject to a workflow or updates the priority # Accepts params # subject_id: integer @@ -22,10 +22,10 @@ # priority: float, required if prioritized put :add do workflow.add update_params nil end - + # PUT /workflows/:workflow_id/remove # # Removes a subject from a workflow # Accepts params # subject_id: integer