Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /user/get_userstats #15

Open
martinleopold opened this issue Sep 22, 2016 · 2 comments
Open

Fix /user/get_userstats #15

martinleopold opened this issue Sep 22, 2016 · 2 comments
Assignees
Labels

Comments

@martinleopold
Copy link
Member

martinleopold commented Sep 22, 2016

Stats don't seem to work right... Uploads and downloads are almost always 0, but I have uploaded much more than that.

I just want for every user:

  • uploads
  • downloads
  • last login timestamp
  • user creation timestamp

Best to just join this with #13.

EDIT: Ok, I think we decided to save every access of the user (which is not that bad an idea, actually). So how about we do the following:

  • /admin/user_list gives simple stats as written above in addition to normal userdata
  • /admin/user_stats gives full stats (every upload/download action)
@martinleopold
Copy link
Member Author

This is what I currently get:

{
  "status": "success",
  "message": "Get user statistics.",
  "data": {
    "userstats": [
      {
        "id": 50,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3MzI1MywiZXhwIjoxNDc0Mzc2ODUzLCJuYmYiOjE0NzQzNzMyNTMsImp0aSI6Ijg3NTk2OGU1YjAzMzZlYjg5Y2JiNGE1MWM4YmY1NDk3In0.zwRfG_flU6qMU1hXIQq-rLq-slGcCXN7PcM5xyhYcNU",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:07:33",
        "updated_at": "2016-09-20 14:07:33"
      },
      {
        "id": 51,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3Mzk1MCwiZXhwIjoxNDc0Mzc3NTUwLCJuYmYiOjE0NzQzNzM5NTAsImp0aSI6ImRmNDc1ODJhOTE2OGRjNTczZDYzOTZjMDlmMjVjMWU1In0.Oey6kDLtlsb_7jWvpcgF4YVo_rjhNT8-WgNX31IoyCo",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:19:10",
        "updated_at": "2016-09-20 14:19:10"
      },
      {
        "id": 52,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NDI0NywiZXhwIjoxNDc0Mzc3ODQ3LCJuYmYiOjE0NzQzNzQyNDcsImp0aSI6ImUxYjM3YzNlNTUxZjcyMmQ0Y2M4NTJmNWNjNGJmNTRmIn0.QDSB1LS2iEg_oW0hBqwZYHuKTAWzX6TwuKYMptgkuPw",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:24:07",
        "updated_at": "2016-09-20 14:24:07"
      },
      {
        "id": 53,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NDk5NSwiZXhwIjoxNDc0Mzc4NTk1LCJuYmYiOjE0NzQzNzQ5OTUsImp0aSI6IjlmNzI4NGQ1YmNjNTRhNDRkMTRlOGIwZDE5OTI5YjExIn0.0Fh9HjsAM0kU0yfYLXKp0iCC1_aBVdk5axa5cHNn5TM",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:36:35",
        "updated_at": "2016-09-20 14:36:35"
      },
      {
        "id": 54,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NTA0MywiZXhwIjoxNDc0Mzc4NjQzLCJuYmYiOjE0NzQzNzUwNDMsImp0aSI6ImYxNTk3YzFlMDRlMmQxNTc5YWJhNGYwOTA2YmYxOGVjIn0.f8QAA2sqii-A_9j7NwzP_8tZhE7M5sYiHlYrGuZSMqE",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:37:23",
        "updated_at": "2016-09-20 14:37:23"
      },
      {
        "id": 55,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NTQ3MCwiZXhwIjoxNDc0Mzc5MDcwLCJuYmYiOjE0NzQzNzU0NzAsImp0aSI6IjZhMjdiNzYxMTNkZWQxNWE3NjUxZDJiOWFkMjQwZjc3In0.SLuNpwWvAJuiQCgOuifdMl5-d8n2u0dxfd_k2P73feA",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:44:30",
        "updated_at": "2016-09-20 14:44:30"
      },
      {
        "id": 56,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NTUzNywiZXhwIjoxNDc0Mzc5MTM3LCJuYmYiOjE0NzQzNzU1MzcsImp0aSI6IjczZGIzOTdhMTRmMTNiNjVhZWQwOTVhZDFiNzY1OWQ1In0.3-riUHZgkkdfNWwOvZA7ntBhrJPMwjWDDKP9aZZ5ASQ",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:45:37",
        "updated_at": "2016-09-20 14:45:37"
      },
      {
        "id": 57,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NTYyMCwiZXhwIjoxNDc0Mzc5MjIwLCJuYmYiOjE0NzQzNzU2MjAsImp0aSI6IjdkNzZiN2Y5YzA0ODY5Y2E0ZjUxYzFmNGE5NDJkNjM1In0.4JaajxXzWrvRyEiNhskiOQ7cbYebJ2XT-E1b-wmMwv8",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 14:47:00",
        "updated_at": "2016-09-20 14:47:00"
      },
      {
        "id": 58,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3Njc1NywiZXhwIjoxNDc0MzgwMzU3LCJuYmYiOjE0NzQzNzY3NTcsImp0aSI6ImMzNzk0OGEyYTY2NThiNGQ1Yjk4MGU0OGM3NGM3YWQ2In0.TcxpHf7tN-ZRii3IMD-Kul9wZGVdZdnAFYd48OLBUIQ",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 15:05:57",
        "updated_at": "2016-09-20 15:05:57"
      },
      {
        "id": 59,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3NjkzNiwiZXhwIjoxNDc0MzgwNTM2LCJuYmYiOjE0NzQzNzY5MzYsImp0aSI6IjgwMzJiOGM2MjY5YzIzYmY2M2U0M2ViNzE1Yjc2MGRmIn0.ST2BNS2jI7-5Utsdz5idDATw40c_CvWa3zi1wxOoar4",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 15:08:56",
        "updated_at": "2016-09-20 15:08:56"
      },
      {
        "id": 60,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDM3Njk2OCwiZXhwIjoxNDc0MzgwNTY4LCJuYmYiOjE0NzQzNzY5NjgsImp0aSI6IjRhMTJhYWIyYTJlYTE2N2YwNzgwMjNjMTk2YjQ0ZDUzIn0.Maf9V1CLxfftgM2J_I0liFpilMSSZ0AbsUfAJ67bED4",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-20 15:09:28",
        "updated_at": "2016-09-20 15:09:28"
      },
      {
        "id": 61,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDQ2NjI3OSwiZXhwIjoxNDc0NDY5ODc5LCJuYmYiOjE0NzQ0NjYyNzksImp0aSI6IjBhYzJjYmMzMDU2MTA4NzY3MjdlYTNiYzliMDRhYTA2In0.1McpvrbQzmx2W3esnYJW7GJJfzUnYxfvqvJr1wCbgpg",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-21 15:57:59",
        "updated_at": "2016-09-21 15:57:59"
      },
      {
        "id": 64,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDQ2OTI2MywiZXhwIjoxNDc0NDcyODYzLCJuYmYiOjE0NzQ0NjkyNjMsImp0aSI6IjBhOTIxZjRkYzg0OGIzZTU3M2RhMDM1MDQ3ZDYyNDJlIn0.SgikASzeIPmh12GCY3NHI2wgPX9ycV5FQniCMZJg-AM",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-21 16:47:43",
        "updated_at": "2016-09-21 16:47:43"
      },
      {
        "id": 65,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDQ3MDEzNywiZXhwIjoxNDc0NDczNzM3LCJuYmYiOjE0NzQ0NzAxMzcsImp0aSI6ImFhMDI2NGUyYmE2NjM3ZWY4OTk4YjQxMThiN2I4YjlmIn0.QhwlAuh3T7fnVCa_SkvpxqFnedZamtJSjmIdUL6dQIE",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-21 17:02:17",
        "updated_at": "2016-09-21 17:02:17"
      },
      {
        "id": 76,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDQ3NjA3NSwiZXhwIjoxNDc0NDc5Njc1LCJuYmYiOjE0NzQ0NzYwNzUsImp0aSI6ImI4MDZhN2RiMmEyN2QwNmZkMzE4MzI3YTg0MmY4OTI3In0.QfM1-iOPFhx69LyZHTEPlqcGOz9zjTYEBrY0hRHzfTY",
        "uploads": 2,
        "downloads": 0,
        "created_at": "2016-09-21 18:41:15",
        "updated_at": "2016-09-21 18:45:16"
      },
      {
        "id": 77,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDUzMTg1MiwiZXhwIjoxNDc0NTM1NDUyLCJuYmYiOjE0NzQ1MzE4NTIsImp0aSI6ImZkODBhNmI0ZGI0NDQwMDI2ODdlMmM3MjE4NmU5OGVmIn0.yTTvgeQ5m_J-OLXJPdcs_zm6HvI2GyN48NEuNv6WLzU",
        "uploads": 2,
        "downloads": 0,
        "created_at": "2016-09-22 10:10:52",
        "updated_at": "2016-09-22 10:21:19"
      },
      {
        "id": 78,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDUzODk2MSwiZXhwIjoxNDc0NTQyNTYxLCJuYmYiOjE0NzQ1Mzg5NjEsImp0aSI6ImY4YTNiMDg3OGY1NzJkMzg2YmFjMjAxZjZmMWRkOGU3In0.zPPz_Fq2kDGV7Een8ou6iFUZxIB890qF8W3RKPVOd_Y",
        "uploads": 3,
        "downloads": 0,
        "created_at": "2016-09-22 12:09:21",
        "updated_at": "2016-09-22 12:20:26"
      },
      {
        "id": 79,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDUzOTkyMiwiZXhwIjoxNDc0NTQzNTIyLCJuYmYiOjE0NzQ1Mzk5MjIsImp0aSI6IjI1N2M3MDI5YTNlYTM2YzFiZGI1ZmRhYjlmOGNmOTY1In0.WGhUfLB7t0eHk14TXPS4BsTfsyNrZcsJXvcdJixjQQo",
        "uploads": 2,
        "downloads": 2,
        "created_at": "2016-09-22 12:25:22",
        "updated_at": "2016-09-22 13:51:41"
      },
      {
        "id": 80,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU0NTg3OSwiZXhwIjoxNDc0NTQ5NDc5LCJuYmYiOjE0NzQ1NDU4NzksImp0aSI6IjE5OWRhZGI2ZmViN2VlMWUxY2ZmMWM3NDcwYTkxZWUxIn0.I-Q8W7x_ZlQrjDGlaHc-BeGj9rTpXNgjRdGDdzxG0jI",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 14:04:39",
        "updated_at": "2016-09-22 14:04:39"
      },
      {
        "id": 81,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU0NTg4MywiZXhwIjoxNDc0NTQ5NDgzLCJuYmYiOjE0NzQ1NDU4ODMsImp0aSI6ImU3MmJmY2E1ODdiYjQzNjY2MWI2YTRlN2M1ZjQ1ZGY5In0._VxC1yrqxKReYU6zdtnqR7NN17JxdvmnsGDw3mVC4Q0",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 14:04:43",
        "updated_at": "2016-09-22 14:04:43"
      },
      {
        "id": 82,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU0NTg4NCwiZXhwIjoxNDc0NTQ5NDg0LCJuYmYiOjE0NzQ1NDU4ODQsImp0aSI6ImZhNmQyY2FmYmE0ZGZhNDZmZmUyZjBkZWUwYmY0N2E0In0.aw9doPeST7uF3rk1G8HDFNcrPYIuM3lA2JTaag24Qr0",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 14:04:44",
        "updated_at": "2016-09-22 14:04:44"
      },
      {
        "id": 83,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU0NTg4NiwiZXhwIjoxNDc0NTQ5NDg2LCJuYmYiOjE0NzQ1NDU4ODYsImp0aSI6IjA0MDY0Zjk3ZmQ4YzY4Zjc1Mjg2YzVhOGI0Mzg2Y2M5In0.9Ma2MWycL1mFwAYHkvWrAycr7a5cxWzgxT8mnUDAaQo",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 14:04:46",
        "updated_at": "2016-09-22 14:04:46"
      },
      {
        "id": 84,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MTkwNCwiZXhwIjoxNDc0NTU1NTA0LCJuYmYiOjE0NzQ1NTE5MDQsImp0aSI6ImVmYzU2Mzc5NzI4NDI0NzAzM2UyNWRiOThhNGJkYTUzIn0.A_n7WE8O1Qh-r02mhjAIJbMA3EsKOlDzO6W7vfnXZOk",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:45:04",
        "updated_at": "2016-09-22 15:45:04"
      },
      {
        "id": 85,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjU4OSwiZXhwIjoxNDc0NTU2MTg5LCJuYmYiOjE0NzQ1NTI1ODksImp0aSI6IjU5YmUyZTZmNWYyYTJkNTU0Mjc4YWJhMjJmNDg5ODg1In0.E34EdIHjYxMF46xu_XEeJKryoyO2pP1v9kqX0Z1CI8E",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:56:29",
        "updated_at": "2016-09-22 15:56:29"
      },
      {
        "id": 86,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjYxOCwiZXhwIjoxNDc0NTU2MjE4LCJuYmYiOjE0NzQ1NTI2MTgsImp0aSI6IjJlZDU2ZWRmODI1NGE5NjE1OThkY2YxMjhhOGFmMjEwIn0.E08Ti9w0X2ctAzZU1LJZAqazSJhUC0geCwKrtaZA8j4",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:56:58",
        "updated_at": "2016-09-22 15:56:58"
      },
      {
        "id": 87,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjYyMSwiZXhwIjoxNDc0NTU2MjIxLCJuYmYiOjE0NzQ1NTI2MjEsImp0aSI6ImNjZTliOTgyY2JlZTc5M2NjOGFmNWExODgzODQ2YzUwIn0.4ypPO58N174Eb7ktBpx_Z4gh6q8zCN1QI8v1AodSYdY",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:57:01",
        "updated_at": "2016-09-22 15:57:01"
      },
      {
        "id": 88,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjYyMiwiZXhwIjoxNDc0NTU2MjIyLCJuYmYiOjE0NzQ1NTI2MjIsImp0aSI6IjdiYTZiZDA5M2I5NWNiYTc4ZWMyYzZkNzcwM2QxZGEyIn0.Fo3SxrkpT9mKAfPsue2R9dI9HCVa0GuFoYlfoFwLMnU",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:57:02",
        "updated_at": "2016-09-22 15:57:02"
      },
      {
        "id": 89,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjYyNywiZXhwIjoxNDc0NTU2MjI3LCJuYmYiOjE0NzQ1NTI2MjcsImp0aSI6IjVlNDY2NTYyYWE3YWUyMWNjNGVjNjFhMzFiMzJlM2U4In0.PY1B8oZh5kF43Zj2pJQl_wl16qExeM_8MByO0ROCmjc",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:57:07",
        "updated_at": "2016-09-22 15:57:07"
      },
      {
        "id": 90,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjYzMywiZXhwIjoxNDc0NTU2MjMzLCJuYmYiOjE0NzQ1NTI2MzMsImp0aSI6IjQ5ZTlhODczMTBlZjkyYzViMWU0Mjc2YTFlZGU4YWNkIn0.ObU2gZNVD9pKigXJfzET7kjUaTKsV0YaeYFdbNj77LY",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:57:13",
        "updated_at": "2016-09-22 15:57:13"
      },
      {
        "id": 91,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjY0MywiZXhwIjoxNDc0NTU2MjQzLCJuYmYiOjE0NzQ1NTI2NDMsImp0aSI6IjU4MzhiZDExZTQyNDNiMmM0Y2Y1MDgzZjEwNTk5OTcyIn0.RBnhBoAAYQNh80JDeWkAeposqubVD_vKI4-ffYTIeRg",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:57:23",
        "updated_at": "2016-09-22 15:57:23"
      },
      {
        "id": 92,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjcwOSwiZXhwIjoxNDc0NTU2MzA5LCJuYmYiOjE0NzQ1NTI3MDksImp0aSI6IjAxNjQzY2FjZjQ5OTc2ODRiODM1N2YwYWY1MjQ1OTQyIn0.USgctki8crWl1ne1EBV5GTqB4wpuI6fN8HVC8x2e4YQ",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:58:29",
        "updated_at": "2016-09-22 15:58:29"
      },
      {
        "id": 93,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MjcxNiwiZXhwIjoxNDc0NTU2MzE2LCJuYmYiOjE0NzQ1NTI3MTYsImp0aSI6ImE2ZTRkZGRmOTFjNTlhMWIwNDAxYmY0Y2ZkMWVlMjk1In0.K2w-K99UmStBhll_GX7hZyzW0AiWMWfUDrOwBV40spw",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:58:36",
        "updated_at": "2016-09-22 15:58:36"
      },
      {
        "id": 94,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1Mjc0NSwiZXhwIjoxNDc0NTU2MzQ1LCJuYmYiOjE0NzQ1NTI3NDUsImp0aSI6IjUwNjNkYjMyNTU0MDE3MWRiMzk3ZTYwMjNhNmUzYzAyIn0.zt3uOVnfGNUHwiKWIkSDdRnwc0n-dy5Mm1foaCmWppg",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:59:05",
        "updated_at": "2016-09-22 15:59:05"
      },
      {
        "id": 95,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1Mjc0NywiZXhwIjoxNDc0NTU2MzQ3LCJuYmYiOjE0NzQ1NTI3NDcsImp0aSI6IjQzZTQyNjE4ZTU5OWNlNWM4NWZlODFkNTcxNmQ3NzA0In0.Vwa6jV1tyR5hvPRTM2O7hZ3HyMM6mfPl-NuFydQGrew",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:59:07",
        "updated_at": "2016-09-22 15:59:07"
      },
      {
        "id": 96,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1Mjc0OCwiZXhwIjoxNDc0NTU2MzQ4LCJuYmYiOjE0NzQ1NTI3NDgsImp0aSI6ImY2NTVjOTRlNzA1MTk3Y2VkYTk2NzVjZDc1MTFkZWM1In0._77SaNL8_GJlzIMVPrcmYpI5VE5xy3mVaVOIG_iKoYY",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:59:08",
        "updated_at": "2016-09-22 15:59:08"
      },
      {
        "id": 97,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1Mjc1MSwiZXhwIjoxNDc0NTU2MzUxLCJuYmYiOjE0NzQ1NTI3NTEsImp0aSI6IjFkOGVhYjllYjhhNThlMTM4ZDJhNTA1MjUwOGY1NDk5In0.p1G7hkKqwkC3BKI9yrJdnGBUpF6RQ7xcuBXfFQKGRJg",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 15:59:11",
        "updated_at": "2016-09-22 15:59:11"
      },
      {
        "id": 98,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1Mjk5MywiZXhwIjoxNDc0NTU2NTkzLCJuYmYiOjE0NzQ1NTI5OTMsImp0aSI6ImY3MGE5YmVlOTcwM2I3ZDFkOWJjNjcyNzdmNzJkMWQxIn0.jUl-bOZXY7j7sh2aKjAN8PonXr0isnBlOxKGfRQcKYk",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:03:13",
        "updated_at": "2016-09-22 16:03:13"
      },
      {
        "id": 99,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MzAxMiwiZXhwIjoxNDc0NTU2NjEyLCJuYmYiOjE0NzQ1NTMwMTIsImp0aSI6Ijg5MjIzNjc4NzE2ZTNlN2ExZmJiODI1OTM5MWZjYjEwIn0.jZ-V0kEj_CdrYq82LSRXg_ytrlC1zmSOyu1Hywp48J8",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:03:32",
        "updated_at": "2016-09-22 16:03:32"
      },
      {
        "id": 100,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MzAxNCwiZXhwIjoxNDc0NTU2NjE0LCJuYmYiOjE0NzQ1NTMwMTQsImp0aSI6IjY3YjUwYmUzMjBhZDQyMDNiOTkwMWUwYzdjYjYxNzBlIn0.wK_eFCUitWjsnptWbOy2l4FUiDW-aw28xMQlGYdoYrM",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:03:34",
        "updated_at": "2016-09-22 16:03:34"
      },
      {
        "id": 101,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MzAzMywiZXhwIjoxNDc0NTU2NjMzLCJuYmYiOjE0NzQ1NTMwMzMsImp0aSI6IjY1ZGJhOGMzMGQ4ZGJiZTk0ZDdhYjlhZmI4NGMwNTc0In0.eLrVLKy1GrajQQhWueRUzNKLX6OtMHcA-IWLBt25P08",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:03:53",
        "updated_at": "2016-09-22 16:03:53"
      },
      {
        "id": 102,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MzAzOSwiZXhwIjoxNDc0NTU2NjM5LCJuYmYiOjE0NzQ1NTMwMzksImp0aSI6IjUzNDcyMjg2OWNiYzYzYzQwNDU4NGM3N2Q5YjlkNTc1In0.k6esvl0pyrB5RuyhfgKGv6iL7S9TNsAjbTKiZkoa5Mg",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:03:59",
        "updated_at": "2016-09-22 16:03:59"
      },
      {
        "id": 103,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1MzA4MywiZXhwIjoxNDc0NTU2NjgzLCJuYmYiOjE0NzQ1NTMwODMsImp0aSI6IjRjNDc2Y2U0ZjcyYmUwYTNlMjZkYjE5MzM3ODMxMDI5In0.20_I5quZM19LLhGAJP5Z_AbYOqi6cnqokanx_tRHZo0",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:04:43",
        "updated_at": "2016-09-22 16:04:43"
      },
      {
        "id": 104,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NDk4NywiZXhwIjoxNDc0NTU4NTg3LCJuYmYiOjE0NzQ1NTQ5ODcsImp0aSI6ImRiMGZkNmI4NDc5MGIwNThjNGIyMGJkYzQ2MTFhZmVjIn0.xmshJygD7b4pMQW5ki4rCDFPog1d3DVcxWdRHyBl9k8",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:36:27",
        "updated_at": "2016-09-22 16:36:27"
      },
      {
        "id": 105,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTAwMywiZXhwIjoxNDc0NTU4NjAzLCJuYmYiOjE0NzQ1NTUwMDMsImp0aSI6Ijc3MDg1ZGU5ZDZmNjRjYzAwODA4Mzk3YjBkMDRiZWViIn0.P9MS5_KQ1keyk05CXPyrQ6wwEYww1JWNQVqQq91-Z-Y",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:36:43",
        "updated_at": "2016-09-22 16:36:43"
      },
      {
        "id": 106,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTU1NywiZXhwIjoxNDc0NTU5MTU3LCJuYmYiOjE0NzQ1NTU1NTcsImp0aSI6ImZkZjEwMTYxYWUxOGQ0NjRkZDgyY2ZkZjkxMDZhYjIyIn0.5-PeB7qX0JpFxKegkP35Ky0ZeL-Vx_eMGy1trx6QWXk",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:45:57",
        "updated_at": "2016-09-22 16:45:57"
      },
      {
        "id": 107,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTczNCwiZXhwIjoxNDc0NTU5MzM0LCJuYmYiOjE0NzQ1NTU3MzQsImp0aSI6ImU1NjY2NWNiZjA4ZDVmNzdkYTk4YTA3YzY3ZWIwZGEyIn0.yzgdeerS_gIw5I0N3XJqAY09irJLhltVEER38vxldwQ",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:48:54",
        "updated_at": "2016-09-22 16:48:54"
      },
      {
        "id": 108,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTkwNSwiZXhwIjoxNDc0NTU5NTA1LCJuYmYiOjE0NzQ1NTU5MDUsImp0aSI6ImFjMzZlMTM3NDIzNjcwZTlmZmYxNTVlMTJhZmI3MWIxIn0.73AnbRg5gYEbtsLVTHMoFghXWO_BB3yZqgUmwJ6MvwI",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:51:45",
        "updated_at": "2016-09-22 16:51:45"
      },
      {
        "id": 109,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTk4NywiZXhwIjoxNDc0NTU5NTg3LCJuYmYiOjE0NzQ1NTU5ODcsImp0aSI6ImE2YWJjZjA5YzVlODVlZWJjM2ZjZjQxMzNlZmMxNjRjIn0.twPTJmeknQS0YOKj8SaWdO75UwUx6E8-iFUhAoJv4vs",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:53:07",
        "updated_at": "2016-09-22 16:53:07"
      },
      {
        "id": 110,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTk5MCwiZXhwIjoxNDc0NTU5NTkwLCJuYmYiOjE0NzQ1NTU5OTAsImp0aSI6IjZmZWE4NmU5NTI5YmU5ZjZjMmE4YjBhZDM2OTM1MTcwIn0.PEbt1YhVO1F3wXKT_b9pb6KEwPPh9D6Wp_U60qXUIPs",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:53:10",
        "updated_at": "2016-09-22 16:53:10"
      },
      {
        "id": 111,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NTk5OCwiZXhwIjoxNDc0NTU5NTk4LCJuYmYiOjE0NzQ1NTU5OTgsImp0aSI6IjI4ZWY3MzIzMDhlNzE0ZGVjOTEwZDFkODZjZDc1YjY2In0.JrZqxMFvUidFERnhi_leqkP3XM4gTcPYvd5GA94OT-I",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:53:18",
        "updated_at": "2016-09-22 16:53:18"
      },
      {
        "id": 112,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjAwMSwiZXhwIjoxNDc0NTU5NjAxLCJuYmYiOjE0NzQ1NTYwMDEsImp0aSI6IjZlZDQ0MjZkZWNiZTA3YzE2YmI5MmE0YWRmYTg4NWIzIn0.dJbVYO52pZr3wo6vl8XMujkA7chzYlpKhyroym6FnpA",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:53:21",
        "updated_at": "2016-09-22 16:53:21"
      },
      {
        "id": 113,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjAwMywiZXhwIjoxNDc0NTU5NjAzLCJuYmYiOjE0NzQ1NTYwMDMsImp0aSI6IjFlMjExYTlkZmYwMzA0NDc3ZmJhZTQ3MTM5NTlmZjVjIn0.hS6viQrkgsscg_Sjj-FAz8RtiW_7LqmTYaFTcJV64KI",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:53:23",
        "updated_at": "2016-09-22 16:53:23"
      },
      {
        "id": 114,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjI4MiwiZXhwIjoxNDc0NTU5ODgyLCJuYmYiOjE0NzQ1NTYyODIsImp0aSI6ImRmYmJkNTVlYTU5YWJlNzg0MzUxNWI5MWZmY2YxN2VhIn0.eSfGPnXMm6assNBuVxk-6hZ7bQTq4OBCZElBpI-0Ulo",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:58:02",
        "updated_at": "2016-09-22 16:58:02"
      },
      {
        "id": 115,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjM0NiwiZXhwIjoxNDc0NTU5OTQ2LCJuYmYiOjE0NzQ1NTYzNDYsImp0aSI6IjliODUxN2Q3NjY4MzJiOTM2ZGQ5NzcyODk4ODIxMzhkIn0.4ye9ZPNbg773Ox4SnNlYEJDXSwoOhimaozIZN-145ew",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 16:59:06",
        "updated_at": "2016-09-22 16:59:06"
      },
      {
        "id": 116,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjY1MSwiZXhwIjoxNDc0NTYwMjUxLCJuYmYiOjE0NzQ1NTY2NTEsImp0aSI6IjExMzg3MTA0MzJjY2QwMTU2Yjg4ZDE3ZjE5ZDY1Zjg5In0.p_XMEMfdXSZnV8HRhnemnSaitKrA9PyaJ0d8p8zHeVk",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 17:04:11",
        "updated_at": "2016-09-22 17:04:11"
      },
      {
        "id": 117,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjY1NiwiZXhwIjoxNDc0NTYwMjU2LCJuYmYiOjE0NzQ1NTY2NTYsImp0aSI6IjI2NGY3ZWQ2NjQ0YzUzODNhODVkODFiMTE4NDcwMTE0In0.lb0Tg4RQBWdJ8jhFMtz6CIY7RnqELb0km9FL4yo0HAE",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 17:04:16",
        "updated_at": "2016-09-22 17:04:16"
      },
      {
        "id": 118,
        "user_id": 2,
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9sb2dpbiIsImlhdCI6MTQ3NDU1NjY3MSwiZXhwIjoxNDc0NTYwMjcxLCJuYmYiOjE0NzQ1NTY2NzEsImp0aSI6ImFiMDQ1Yzg4NWYyYjc3NDE4M2U4NWU3OGMyYTQ5NGM3In0._Y2x3vylZcZxaOM8tUg1lV9EXreEEYEGiX37f2d-D94",
        "uploads": 0,
        "downloads": 0,
        "created_at": "2016-09-22 17:04:31",
        "updated_at": "2016-09-22 17:04:31"
      }
    ]
  },
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL2l0by5wcm9jZXNzLnN0dWRpb1wvYXBpXC91c2VyXC9nZXRfdXNlcnN0YXRzIiwiaWF0IjoxNDc0NTU2MjgyLCJleHAiOjE0NzQ1NjA3NzEsIm5iZiI6MTQ3NDU1NzE3MSwianRpIjoiOTAxOTFlNzI5ZDAzMWYzZjQ0NDNhMGFlZDJkMTI3YWEifQ._KKbkhdavL6IamKndLQJFc9oL6nLMS24VU2wDr9InWE"
}

@crux23
Copy link
Collaborator

crux23 commented Sep 29, 2016

user stats by token didn't work anymore because of the token refresh.
now it simply starts a session and always adds to the last db entry.

Ok, I think we decided to save every access of the user (which is not that bad an idea, actually).

is it really necessary? would be just more work.

/admin/user_list gives simple stats as written above in addition to normal userdata

admin/user_list gives just the list of users

/admin/user_stats gives full stats (every upload/download action)

admin/user_stats gives the stats for one user selectable by id

what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants