kerberos-io / web

(DEPRECATED) An open source GUI to configure the machinery and to view events that were detected by the machinery.
https://www.kerberos.io
225 stars 70 forks source link

What kind of data should i have put?? #129

Open gwontaeyong opened 6 years ago

gwontaeyong commented 6 years ago

I'm trying to using api you provided . So i'm searching about api and i found many api . but i don't know what value should i have put.

    Route::get('images/perhour/{days?}', 'ImageController@getImagesPerHour');
    Route::get('images/perday/{days?}', 'ImageController@getImagesPerDay');
    Route::get('images/perweekday/{days?}', 'ImageController@getAverageImagesPerWeekDay');
    Route::get('images/{date}/hours', 'ImageController@getImagesPerHourForDay');
    Route::get('images/{date}/{take?}/{page?}', 'ImageController@getImages');
    Route::get('images/{date}/{take?}/{page?}/{time?}', 'ImageController@getImagesFromStartTime');

In this api i can put some value like 'days', 'date', 'take', 'page'

May be date is the data like '07-07-2018' but i don't know about other datas.

gwontaeyong commented 6 years ago

and 'time'

ytzelf commented 5 years ago

I have the same question on the following line; what would be a simple way to test (on the demo website for instance). Non parameterized gets work like a charm but this is key to developping a good looking multicamera interface imho.

Route::put('configure', array('uses' => 'SettingsController@changeProperties'));

What would be the url ? The below works well https://demo.kerberos.io/api/v1/name