Get list of Course Statistics

GET /endpoint/v1/courses/:course_id/course_stats

Get list of Course Statistics

Request Form

Response Example

[
  {
    "id": 1,
    "user_id": 2,
    "username": "Effie Bauch",
    "user_email": "email_1_2@factory.tb",
    "course_id": 1,
    "coursename": "Small Steel Shoes",
    "completed": true,
    "success": false,
    "course_session_id": 1,
    "course_session_name": "Gorgeous Granite Table",
    "deadline": "2016-07-17T15:27:21.063+03:00",
    "time_spent": 0,
    "quiz_count": "",
    "score": 0,
    "score_percent": 0,
    "last_activity": "",
    "progress": 0,
    "progress_percent": 0,
    "completed_tasks": 0,
    "cert_file": "http://s3-eu-central-1.amazonaws.com/mybucket/mycert.pdf"
  }
]

Request Schema

  • additionalProperties: false
  • access_token
    • Required: yes
    • Type: string
    • Example: "e75e159c673dee45cb53cb5cb2c48e29059958b681795e0f816d152dc93672cb"
  • user_id
    Choose user
    • Required: no
    • Type: integer
    • Example: 1
  • course_session_id
    Choose session
    • Required: no
    • Type: integer
    • Example: 1
  • page
    Page Number
    • Required: no
    • Type: integer
    • Example: 1
  • per_page
    Courses statistics per page (max 100, default 10)
    • Required: no
    • Type: integer
    • Example: 25

Response Schema

  • Type: array
  • Items
    • Required: no
    • additionalProperties: false
    • id
      Course statistic id
      • Required: yes
      • Type: integer
      • Example: 1
    • user_id
      User id
      • Required: yes
      • Type: integer
      • Example: 2
    • username
      User name
      • Required: yes
      • Type: string
      • Example: "Effie Bauch"
    • user_email
      User email
      • Required: yes
      • Type: string
      • Example: "email_1_2@factory.tb"
    • course_id
      Course id
      • Required: yes
      • Type: integer
      • Example: 1
    • coursename
      Course name
      • Required: yes
      • Type: string
      • Example: "Small Steel Shoes"
    • completed
      Course completed
      • Required: yes
      • Type: boolean
      • Example: false
    • success
      Course success
      • Required: yes
      • Type: boolean
      • Example: false
    • course_session_id
      Course session id
      • Required: yes
      • Type: integer
      • Example: 1
    • course_session_name
      Course session name
      • Required: yes
      • Type: string
      • Example: "Gorgeous Granite Table"
    • deadline
      Course deadline
      • Required: no
      • Type:
        • string
        • null
      • Format: date-time
      • Example: "2016-07-17T15:27:21.063+03:00"
    • time_spent
      Time spent in course
      • Required: yes
      • Type: number
      • Example: 0.0
    • quiz_count
      • Required: no
      • Type:
        • integer
        • null
      • Example: ""
    • score
      Course score
      • Required: yes
      • Type: integer
      • Example: 0
    • score_percent
      • Required: no
      • Type: integer
      • Example: 0
    • last_activity
      User last activity in course
      • Required: yes
      • Type:
        • string
        • null
      • Format: date-time
      • Example: ""
    • progress
      Course progress
      • Required: yes
      • Type: integer
      • Example: 0
    • progress_percent
      • Required: no
      • Type: integer
      • Example: 0
    • completed_tasks
      Completed tasks
      • Required: yes
      • Type: integer
      • Example: 0
    • cert_file
      User certificate file
      • Required: no
      • Type:
        • null
        • string
      • Example: "http://s3-eu-central-1.amazonaws.com/mybucket/mycert.pdf"