Reformatting of wiki:
* Adding endpoint docs and correcting some typesetting mistakes * Change qs params to match documentation * Splitting up articles to geneate the sidebar links properly' * Bad baseurl issue fixed in previous patch
This commit is contained in:
@@ -18,14 +18,14 @@ pub async fn get_by_time(pool: &Pool, response: &mut Response<Body>, params: Has
|
||||
* @end-time: how long ago do we stop searching
|
||||
* {
|
||||
* "channel_id": 1,
|
||||
* "start-time": unix_now - 24 hours
|
||||
* "end-time": unix_now - 23 hours
|
||||
* "start_time": unix_now - 24 hours
|
||||
* "end_time": unix_now - 23 hours
|
||||
* }
|
||||
*
|
||||
*/
|
||||
let channel_id = qs_param!(params, "channel_id", u64);
|
||||
let start_time = qs_param!(params, "start-time", i64);
|
||||
let end_time = qs_param!(params, "end-time", i64);
|
||||
let start_time = qs_param!(params, "start_time", i64);
|
||||
let end_time = qs_param!(params, "end_time", i64);
|
||||
let limit = qs_param!(params, "limit", u64);
|
||||
|
||||
// TODO: flatten me mommy
|
||||
|
||||
Reference in New Issue
Block a user