Skip to main content
GET
/
edubridge
/
analytics
/
facts
/
weekly
List all facts for a given week by email or studentId
curl --request GET \
  --url https://api.alpha-1edtech.ai/edubridge/analytics/facts/weekly \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z",
  "facts": [
    {
      "id": 123,
      "email": "<string>",
      "date": "<string>",
      "datetime": "<string>",
      "username": "<string>",
      "userGrade": "<string>",
      "userFamilyName": "<string>",
      "userGivenName": "<string>",
      "userId": "<string>",
      "subject": "<string>",
      "app": "<string>",
      "courseId": "<string>",
      "courseName": "<string>",
      "campusId": "<string>",
      "campusName": "<string>",
      "enrollmentId": "<string>",
      "activityId": "<string>",
      "activityName": "<string>",
      "totalQuestions": 123,
      "correctQuestions": 123,
      "masteredUnits": 123,
      "activeSeconds": "<string>",
      "inactiveSeconds": "<string>",
      "wasteSeconds": "<string>",
      "source": "<string>",
      "alphaLevel": "<string>",
      "generatedAt": "<string>",
      "sendTime": "<string>",
      "sensor": "<string>",
      "eventType": "<string>",
      "year": 123,
      "month": 123,
      "day": 123,
      "dayOfWeek": 123,
      "xpEarned": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

email
string<email>
studentId
string
weekDate
string<date-time>
required
timezone
string

Response

200 - application/json

Successful response

message
string
required
startDate
string<date-time>
required
endDate
string<date-time>
required
facts
object[]
required