Added list devices api call

This commit is contained in:
laf
2014-09-16 22:19:28 +01:00
parent dabe45a257
commit b8df0596a9
2 changed files with 48 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ $app->group('/api', function() use ($app) {
});
});
});
$app->group('/list', function() use ($app) {
$app->get('/devices(/:order)(/:type)(/)', 'authToken', 'list_devices');//api/v1/list/devices (order can be any device column) (types = all, ignored, up, down, disabled)
});
});
});