{"algorithm":"reassignment","algorithms_url":"https://alloker.no/api/v1/algorithms","algorithm_info_url":"https://alloker.no/algorithms/reassignment/","description":"You sent a GET request. Try sending a POST with one of the examples below.","examples":[{"data":{"groups":[{"id":"D1","capacity":2,"current":["Ola"]},{"id":"D2","capacity":2,"current":["Kari"]}],"queue":[{"person":"Emil","group":"D1","preference":1},{"person":"Emma","group":"D2","preference":1},{"person":"Ola","group":"D2","preference":1},{"person":"Kari","group":"D1","preference":1}]},"parameters":{"algorithm":"top_trading_cycles","priority":"queue"}},{"data":{"groups":[{"id":"D1","capacity":2,"current":["p1","p2"]},{"id":"D2","capacity":2,"current":["p3"]}],"queue":[{"person":"p1","group":"D2","preference":1},{"person":"p2","group":"D2","preference":1},{"person":"p5","group":"D1","preference":1},{"person":"p4","group":"D2","preference":1},{"person":"p3","group":"D1","preference":1}]},"parameters":{"algorithm":"deferred_acceptance","priority":"assignment_status"}},{"data":{"groups":[{"id":"d1","capacity":2,"current":["p1"]},{"id":"d2","capacity":3,"current":["p2","p3"]},{"id":"d3","capacity":2,"current":["p4"]}],"queue":[{"person":"p4","group":"d1","preference":1},{"person":"p6","group":"d1","preference":1},{"person":"p5","group":"d3","preference":3},{"person":"p4","group":"d2","preference":2},{"person":"p5","group":"d1","preference":1},{"person":"p5","group":"d2","preference":2},{"person":"p7","group":"d1","preference":1},{"person":"p1","group":"d2","preference":1}]},"parameters":{"algorithm":"top_trading_cycles","priority":"queue"}}]}