web icon indicating copy to clipboard operation
web copied to clipboard

What kind of data should i have put??

Open gwontaeyong opened this issue 6 years ago • 2 comments

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 avatar Jul 07 '18 09:07 gwontaeyong

and 'time'

gwontaeyong avatar Jul 07 '18 09:07 gwontaeyong

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

ytzelf avatar Feb 12 '19 11:02 ytzelf