Closed equal-l2 closed 3 years ago
closes #23
クエリパラメータpageを受け取ってページネーションできるようにしました。
page
返ってくるJSONは以下のような形式です:
{ "page": 2, "next_page": "http://localhost:3000/v1/access_logs?page=3", "prev_page": "http://localhost:3000/v1/access_logs?page=1", "total_page": 15, "data": [ { "user_id": 1, "entered_at": "2021-02-23T16:57:39.000Z", "exited_at": "2021-02-23T17:32:50.000Z" } // データ…… ] }
@equal-l2 テスティングしておきます。自分の作業が終わったらすぐやりたいと思います。
@equal-l2 自分もテストしてみます
@h-takeyeah mergeの方よろしくお願いします。
遅くなってすみません.マージしておきます
closes #23
クエリパラメータ
page
を受け取ってページネーションできるようにしました。返ってくるJSONは以下のような形式です: